joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x459078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.0044bb7f
push eax
lea ecx, [esp + 0x30]
call fcn.00451b6c
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.0044bb7f
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00451af4
mov eax, dword [esi + 0x108]
mov ebx, dword [sym.imp.gdi32.dll_BitBlt]
test eax, eax
jne 0x402366
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x104]
call fcn.004514af
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x114]
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00451e14
test edi, edi
je 0x402312
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x108]
push edi
push eax
call fcn.004515f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x108]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x104]
sub ecx, edi
test edx, edx
je 0x402387
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00451bde
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x406220
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x459608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x4062ca
mov eax, dword [0x473e34]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0044b51d
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0044b56c
push 0x472534
lea ecx, [esp + 0xc]
call fcn.0044b4c9
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4062b1
push 0x6a
push esi
call dword [sym.imp.user32.dll_LoadCursorA]
test eax, eax
je 0x4062b1
push eax
call dword [sym.imp.user32.dll_CopyIcon]
mov dword [edi + 0x6c], eax
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044b0ed
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4062e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x406342
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x406550
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push 0x472280
mov edi, ecx
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x406642
lea ecx, [esp + 0x10]
push ecx
push 0x472870
push 0x80000000
mov ecx, edi
call fcn.004062e0
test eax, eax
jne 0x406642
mov ebx, dword [sym.imp.kernel32.dll_lstrcat]
lea edx, [esp + 0x10]
push 0x47285c
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.004062e0
test eax, eax
jne 0x406642
lea edx, [esp + 0x10]
push 0x472854
push edx
call fcn.00427bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x406613
lea eax, [esp + 0x10]
push 0x472850
push eax
call fcn.00427bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x406613
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
lea esi, [esp + eax + 0xf]
jmp 0x406616
mov byte [esi], 0
push 0x47284c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.kernel32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x408e70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
xor eax, eax
test edi, edi
je 0x408eae
push esi
mov esi, dword [esp + 0x10]
movsx ecx, byte [esi]
xor edx, edx
and ecx, 0xff
mov dl, ah
inc esi
xor edx, ecx
xor ecx, ecx
mov cx, word [edx*2 + 0x45fe00]
mov edx, ecx
xor ecx, ecx
mov ch, al
and ecx, 0xffff
xor edx, ecx
dec edi
mov eax, edx
jne 0x408e80
pop esi
pop edi
ret

Function at 0x408f70
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x409a70
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x409b20
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x124
mov ecx, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x34]
add eax, 0x29
mov edi, 0x10
xor ecx, ecx
xor edx, edx
mov ch, byte [eax - 1]
mov dl, byte [eax + 1]
mov cl, byte [eax]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax - 2]
add esi, 4
shl ecx, 8
or ecx, edx
dec edi
mov dword [esi - 4], ecx
jne 0x409b47
lea edx, [esp + 0x6c]
mov esi, 0x30
mov ecx, dword [edx]
mov eax, dword [edx - 0x34]
mov edi, ecx
mov ebx, ecx
shr edi, 0x11
shl ebx, 0xf
or edi, ebx
mov ebx, ecx
mov ebp, ecx
add edx, 4
shr ebx, 0x13
shl ebp, 0xd
or ebx, ebp
mov ebp, eax
xor edi, ebx
mov ebx, eax
shr ecx, 0xa
xor edi, ecx
mov ecx, eax
shr ecx, 0x12
shl ebx, 0xe
or ecx, ebx
mov ebx, eax
shl ebx, 0x19
shr ebp, 7
or ebx, ebp
mov ebp, dword [edx - 0x3c]
xor ecx, ebx
mov ebx, dword [edx - 0x18]
shr eax, 3
xor ecx, eax
add edi, ecx
add edi, ebp
add edi, ebx
dec esi
mov dword [edx + 4], edi
jne 0x409b77
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x10], esi
mov eax, ecx
mov ebx, ecx
shl eax, 0x15
shr ebx, 0xb
or eax, ebx
mov ebx, ecx
mov ebp, ecx
shl ebx, 0x1a
shr ebp, 6
or ebx, ebp
mov ebp, ecx
xor eax, ebx
mov ebx, ecx
shr ebx, 0x19
shl ebp, 7
or ebx, ebp
mov ebp, dword [esp + 0x2c]
xor eax, ebx
mov ebx, ecx
not ebx
and ebx, ebp
mov ebp, dword [esp + 0x28]
and ebp, ecx
xor ebx, ebp
mov ebp, dword [esi + 0x460000]
add eax, ebx
mov ebx, dword [esp + esi + 0x34]
add eax, ebp
mov ebp, dword [esp + 0x30]
add eax, ebx
mov esi, edx
mov ebx, edx
add eax, ebp
shl esi, 0x13
shr ebx, 0xd
or esi, ebx
mov ebx, edx
mov ebp, edx
shr ebx, 0x16
shl ebp, 0xa
or ebx, ebp
mov ebp, edx
xor esi, ebx
mov ebx, edx
shl ebx, 0x1e
shr ebp, 2
or ebx, ebp
mov ebp, dword [esp + 0x1c]
xor esi, ebx
mov ebx, edi
xor ebx, edx
and ebx, ebp
mov ebp, edi
and ebp, edx
xor ebx, ebp
add esi, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov edi, edx
lea edx, [esi + eax]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
add esi, 4
add ecx, eax
cmp esi, 0x100
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], esi
jl 0x409be1
mov eax, dword [esp + 0x138]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
sub ecx, eax
mov edx, 8
mov esi, dword [ecx + eax]
mov ebx, dword [eax]
add ebx, esi
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x409ccb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
Function at 0x40bcf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov al, byte [0x476a0c]
xor ebx, ebx
mov bl, byte [0x476a0d]
inc al
mov ch, byte [eax + 0x47690c]
add bl, ch
mov cl, byte [ebx + 0x47690c]
mov byte [ebx + 0x47690c], ch
mov byte [eax + 0x47690c], cl
add cl, ch
xor ch, ch
push eax
mov al, byte [ecx + 0x47690c]
xor byte [esi], al
pop eax
inc esi
dec dword [ebp + 0xc]
jne 0x40bd0f
mov byte [0x476a0c], al
mov byte [0x476a0d], bl
pop esi
pop ebx
pop ebp
ret

Function at 0x40ea30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a05f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.00411850
mov ecx, dword [0x473e34]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x20], ecx
mov edx, dword [0x473e34]
mov dword [esi + 0x24], edx
mov cl, byte [esp + 7]
mov dword [esi + 0x34], eax
mov byte [esi + 0x30], cl
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 3
call fcn.00411cc0
mov edx, dword [0x473e34]
mov dword [esi + 0x60], edx
mov ecx, esi
mov byte [esp + 0x14], 5
mov dword [esi], 0x4601bc
call fcn.0040ecf0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x14], 3
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x416d00
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test byte [eax + 0x18], 2
je 0x416d13
mov ecx, esi
call fcn.00416ed0
mov ecx, dword [esi + 0x1c]
test byte [ecx + 0x18], 4
je 0x416d23
mov ecx, esi
call fcn.00416d70
mov edx, dword [esi + 0x1c]
test byte [edx + 0x18], 8
je 0x416d33
mov ecx, esi
call fcn.00417620
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
test al, 0xc0
je 0x416d4f
test al, 2
jne 0x416d48
mov ecx, esi
call fcn.00416ed0
mov ecx, esi
call fcn.00417690
mov ecx, dword [esi + 0x1c]
pop esi
test byte [ecx + 0x18], 0x20
je 0x416d61
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
push 0
call fcn.0041ca20
pop ecx
ret
Function at 0x41ea58
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45c188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x18], 2
call fcn.0044b226
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0xc]
call fcn.0044b226
lea edx, [esp + 0x24]
lea ecx, [esi + 0x10]
push edx
call fcn.0044b226
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x41eb10
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x41eac6
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x61a8
push ecx
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041f5b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 1
call fcn.0044b0ed
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 0
call fcn.0044b0ed
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x41eb38
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45c1a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
lea ecx, [esi + 8]
push eax
mov dword [esp + 0x18], 0
call fcn.0044b226
lea ecx, [esp + 4]
push ecx
push 0
push esi
push 0x41ebb0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x41eb8c
push 1
push ecx
mov edx, esp
mov dword [esp + 0x10], esp
push 0x61a8
push edx
call fcn.00420b20
add esp, 8
mov ecx, esi
call fcn.0041f5b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x41f720
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45c398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [0x473e34]
mov dword [esp], eax
push 0x4737f0
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call fcn.0044b276
mov edx, dword [esp]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41f7b9
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
mov eax, dword [eax - 8]
push eax
push 0
call fcn.0044b51d
mov ecx, dword [esp + 0xc]
push eax
push 1
push 0
push esi
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
lea ecx, [esp]
mov byte [esp + 0x10], 1
call fcn.0044b0ed
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.0044b0ed
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41f800
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45c3dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push edi
mov dword [esp + 0x10], 0
mov eax, dword [0x473e34]
mov dword [esp + 0x11c], 1
mov dword [esp + 4], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push 0x4737f0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
mov byte [esp + 0x120], 2
call fcn.0044b276
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 1
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x41f8ad
mov edx, dword [esp + 0x124]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x20], 0x100
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
push esi
mov esi, dword [esp + 0x124]
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.0044b15b
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.0044b0ed
lea ecx, [esp + 0x128]
mov byte [esp + 0x11c], 0
call fcn.0044b0ed
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x41f910
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45c400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x473e34]
mov dword [esp + 0x10], 0
mov dword [esp], eax
push 0x4737f0
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call fcn.0044b276
mov edx, dword [esp]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41f99a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea ecx, [esp]
mov byte [esp + 0x10], 0
call fcn.0044b0ed
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x420440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c600
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x473e34]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
push ecx
mov ebx, 2
mov esi, esp
mov dword [esp + 0x28], esp
push ecx
mov byte [esp + 0x38], bl
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x473878
call fcn.0044b15b
push esi
call fcn.0041f800
add esp, 8
lea eax, [esp + 0x1c]
push eax
call fcn.0041fba0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.0044b226
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0044b0ed
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
cmp ecx, edi
je 0x420610
mov eax, ecx
push 5
add eax, 0xfffffff9
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00448fb1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 4
call fcn.0044b226
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0044b0ed
mov edx, dword [esp + 0xc]
push edi
lea ecx, [esp + 0x10]
mov esi, dword [edx - 8]
call fcn.0044b51d
push eax
push esi
call fcn.00408e70
mov ecx, eax
and eax, 0xff
xor edx, edx
mov esi, 0x3e
div esi
xor eax, eax
add esp, 8
mov al, ch
mov ecx, esi
and eax, 0xff
push 1
mov byte [esp + 0x20], dl
xor edx, edx
div ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], dl
mov edx, dword [esp + 0x1c]
and edx, 0xff
mov al, byte [edx + 0x473588]
push eax
call fcn.00448e1a
mov esi, eax
mov ecx, dword [esp + 0x1c]
push 1
and ecx, 0xff
mov byte [esp + 0x34], 5
mov dl, byte [ecx + 0x473588]
lea ecx, [esp + 0x24]
push edx
call fcn.00448e1a
push esi
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x38], 6
push eax
call fcn.0044b31c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 7
call fcn.0044b226
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 6
call fcn.0044b0ed
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 5
call fcn.0044b0ed
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], bl
call fcn.0044b0ed
lea ecx, [esp + 0x24]
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00449047
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.00427aab
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
sete bl
call fcn.0044b0ed
test bl, bl
je 0x420610
mov eax, dword [esp + 0xc]
push eax
call fcn.00427be5
add esp, 4
mov edi, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0044b0ed
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0044b0ed
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0044b0ed
mov ecx, dword [esp + 0x28]
mov ax, di
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x426b99
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x460ff8
push 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x426bf1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x4768ec
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x426be4
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
jmp 0x426bf3
xor eax, eax
pop esi
leave
ret 4

Function at 0x430298
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x475058
cmp edx, dword [eax]
je 0x4302ba
add eax, 8
inc ecx
cmp eax, 0x4750e8
jl 0x4302ab
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x475058]
jne 0x4303e8
mov eax, dword [0x478ca0]
cmp eax, 1
je 0x4303c2
test eax, eax
jne 0x4302eb
cmp dword [0x474584], 1
je 0x4303c2
cmp edx, 0xfc
je 0x4303e8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x430322
lea eax, [ebp - 0x1a4]
push 0x463258
push eax
call fcn.0042ee30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042c6b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x430365
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042c6b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x463254
push edi
call fcn.0042c490
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x463238
push eax
call fcn.0042ee30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042ee40
lea eax, [ebp - 0xa0]
push 0x4737c0
push eax
call fcn.0042ee40
push dword [esi + 0x47505c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042ee40
push 0x12010
lea eax, [ebp - 0xa0]
push 0x463210
push eax
call fcn.0043408d
add esp, 0x2c
pop edi
jmp 0x4303e8
lea eax, [ebp + 8]
lea esi, [esi + 0x47505c]
push 0
push eax
push dword [esi]
call fcn.0042c6b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x447de0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.gdi32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00428100
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x447eab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.user32.dll_GetWindowTextA]
test eax, eax
je 0x447eab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x447e5e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x447e69
or bh, 8
and edi, 0x8000000
je 0x447e84
mov eax, dword [0x47a67c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.gdi32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.user32.dll_DrawTextA]
test edi, edi
je 0x447eab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.gdi32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret