joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x400
push eax
push 0xf003f
push 0
push str.SoftwareTencentWeChat
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d620
mov eax, dword [ebp + 8]
test eax, eax
je 0x42d5f7
cmp word [eax], 0
jne 0x42d5fc
mov eax, 0x4aebf4
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42d620
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x42d62b
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov eax, dword [ebp + 8]
test eax, eax
je 0x42d642
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x42d660
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00464f19
mov esp, ebp
pop ebp
ret

Function at 0x42d680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 8]
mov esi, edx
push eax
push 0xf003f
push 0
push str.SoftwareTencentWeChat
push SysReAllocString
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d6ef
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42d6c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
test eax, eax
je 0x42d701
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00464f19
mov esp, ebp
pop ebp
ret
Function at 0x42d7d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
push eax
push 0xf003f
push 0
push str.SoftwareTencentWeChat
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42d836
mov eax, dword [ebp + 8]
test eax, eax
je 0x42d810
cmp word [eax], 0
jne 0x42d815
mov eax, 0x4aebf4
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
je 0x42d87e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov eax, dword [ebp + 8]
test eax, eax
je 0x42d84f
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x42d86d
push eax
call fcn.00480a27
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00464f19
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x42d838

Function at 0x42d890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
test ecx, ecx
setle al
test al, al
je 0x42d8d1
push str.create_dir_is_empty
push str.Utils
push 0x6ab
push str.utilsUtils.cpp
push 4
call fcn.0040e400
push eax
call fcn.00402c30
add esp, 0x18
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
jl 0x42d8f7
mov eax, dword [esi]
push 1
push 0x4b5884
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
push eax
call fcn.00486087
add esp, 0xc
test eax, eax
sete al
test al, al
jne 0x42d913
push 0x4b5890
mov ecx, esi
call fcn.00406270
test al, al
jne 0x42d913
push 0x4b5884
mov ecx, esi
call fcn.00405fa0
mov eax, dword [esi]
test eax, eax
je 0x42d91f
cmp word [eax], 0
jne 0x42d924
mov eax, 0x4aebf4
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42dd90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x110
lea eax, [ebp - 0x114]
mov ebx, edx
push 0
push eax
mov dword [ebp - 0x128], ebx
mov edi, ecx
call fcn.0047e1d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jae 0x42ddf7
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret
push esi
xor esi, esi
mov dword [ebx], 0x3000
push edi
push esi
push 0x1fffff
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42df09
lea eax, [ebp - 0x120]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42df06
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], esi
push eax
push esi
push esi
push 0x19
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x42defe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42defe
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x42defe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x42defc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
push esi
push 0x19
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42dee4
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
test eax, eax
je 0x42dee4
movzx eax, byte [eax]
dec eax
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x124], 1
mov eax, dword [eax]
mov dword [ecx], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x124]
jmp 0x42defe
xor esi, esi
push dword [ebp - 0x120]
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00464f19
mov esp, ebp
pop ebp
ret
Function at 0x42e1d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f548
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4cd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x42e20b
cmp word [ecx], 0
jne 0x42e210
mov ecx, 0x4aebf4
mov edx, esi
call fcn.0042df20
mov ebx, eax
test ebx, ebx
jne 0x42e249
mov eax, dword [ebp + 8]
test eax, eax
je 0x42e229
cmp word [eax], bx
jne 0x42e22e
mov eax, 0x4aebf4
push 1
push 0
push esi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
mov eax, dword [ebp + 8]
test eax, eax
je 0x42e260
push eax
call fcn.00480a27
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x42e27e
push eax
call fcn.00480a27
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e2a0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e0e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00429040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add eax, 9
push eax
call fcn.004064a0
mov esi, dword [ebp - 0x28]
push str.check.dat
push eax
push esi
call fcn.00480d25
add dword [ebp - 0x24], 9
lea ecx, [ebp - 0x28]
add esp, 0xc
call fcn.0042a530
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x42e374
push 1
mov edx, 0x4b7c40
lea ecx, [ebp - 0x30]
call fcn.0042a5b0
mov ecx, dword [ebp - 0x30]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x42e352
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jle 0x42e374
test esi, esi
je 0x42e362
cmp word [esi], 0
mov eax, esi
jne 0x42e367
mov eax, 0x4aebf4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x29], 0
jmp 0x42e378
mov byte [ebp - 0x29], 1
test esi, esi
je 0x42e385
push esi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42e395
push eax
call fcn.00480a27
add esp, 4
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42e3c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], 0
mov eax, dword [edi]
test eax, eax
je 0x42e3e8
cmp word [eax], 0
jne 0x42e3ed
mov eax, 0x4aebf4
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
xor esi, esi
lea ecx, [ebx*2 + 2]
test ecx, ecx
jle 0x42e414
push 1
push ecx
call fcn.00485b7c
add esp, 8
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x42e420
cmp word [eax], 0
jne 0x42e425
mov eax, 0x4aebf4
push esi
push ebx
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x42e452
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x42e497
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x4b5884
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42e434
movzx eax, word [ecx + 0xa]
mov dword [ebp - 0x20], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x42e4a4
push esi
call fcn.00480a27
add esp, 4
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x20]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
movups xmmword [eax], xmm0
pop ebx
call fcn.00464f19
mov esp, ebp
pop ebp
ret
Function at 0x433170
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f7a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4cd070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00465409
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00462fbc
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x434c2d
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x434c50
or esi, 1
push 1
call edi
test ax, ax
jns 0x434c5c
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x434c68
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x434c74
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x435564
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xd8]
call fcn.00439635
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4355b4
push ebx
mov byte [ebp + 0xb], 0
call fcn.0043a4d8
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x435611
lea ecx, [esi + 0xd8]
inc ebx
call fcn.00439635
cmp ebx, eax
jl 0x435583
sub edi, 0x100
je 0x43566b
sub edi, 4
je 0x435615
dec edi
sub edi, 1
jne 0x435660
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.00488e01
pop ecx
mov ecx, dword [esi + 0x50]
lea edx, [ebp + 8]
push 0x8000000a
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x438216
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x435660
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x435662
cmp dword [esi + 0x54], 0
je 0x435660
xor eax, eax
lea edi, [ebp - 0x1c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00434c2d
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x435660
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4356b8
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4356b8
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4356b8
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0047d2be
pop ecx
pop ecx
test eax, eax
je 0x4356b8
mov ecx, dword [esi + 0x54]
call fcn.00443486
test al, al
jne 0x435660
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00437569
jmp 0x435611
Function at 0x43715b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebx]
je 0x43717b
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebp + 8]
cmp esi, dword [ebx + 0x54]
je 0x437248
cmp dword [ebx + 0x54], 0
je 0x4371d5
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
xor edi, edi
mov ecx, ebx
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call fcn.0043777f
mov dword [ebx + 0x54], edi
test esi, esi
je 0x437248
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x437248
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x437248
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x437248
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], esi
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x15
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push str.setfocus
push dword [ebx + 0x54]
mov ecx, ebx
call fcn.0043777f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439709
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43973b
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x44045f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
call fcn.00440500
push 0x4b749c
push 0x82
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4404fb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
test ebx, ebx
jne 0x440498
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4404fb
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x4404a8
push esi
jmp 0x440490
push edi
call fcn.00465400
pop ecx
push edi
push ebx
mov dword [0x4d1c84], eax
mov dword [0x4d1c88], edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [0x4d1c84]
call fcn.0047dbe0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [0x4d1c88]
mov ecx, dword [0x4d1c84]
push 3
call fcn.0040e180
pop ecx
mov dword [0x4d1c94], eax
mov dword [0x4cdb28], 4
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4405ff
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d1c8c]
push esi
push edi
xor edi, edi
mov esi, ecx
test eax, eax
je 0x440622
push 1
push eax
call fcn.004653ca
pop ecx
pop ecx
mov dword [0x4d1c8c], edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
mov dword [0x4d1c90], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44064a
xor al, al
jmp 0x4406a8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x440669
push ebx
mov dword [ebp - 4], edi
call fcn.00465400
mov edi, eax
pop ecx
test edi, edi
jne 0x440672
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x440696
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x44069a
push edi
call fcn.004653fb
pop ecx
xor al, al
jmp 0x4406a7
mov dword [0x4d1c90], eax
mov al, 1
mov dword [0x4d1c8c], edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4428f1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
push ecx
lea edx, [esi + 0x44]
mov dword [esi + 4], edi
mov ecx, edi
mov dword [esi + 8], 1
call fcn.004426d6
pop ecx
test eax, eax
js 0x442a08
lea edx, [esi + 0xb8]
call fcn.004427c9
test eax, eax
js 0x442a08
mov ecx, edi
mov dword [esi + 0x10], 4
call fcn.004434bd
movzx eax, al
shl eax, 3
xor eax, dword [esi + 0x14]
and eax, 8
xor dword [esi + 0x14], eax
call fcn.0044354b
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
push 2
pop ecx
test ebx, ebx
je 0x44296c
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x10], eax
test eax, 0x100080
jne 0x44296c
or dword [esi + 0x14], ecx
test byte [esi + 0x10], 1
je 0x44297e
push 3
pop eax
mov word [esi + 0xd0], ax
jmp 0x44298b
test byte [esi + 0x10], 2
je 0x44298b
mov word [esi + 0xd0], cx
or dword [esi + 0x14], 0x20
push 0x4bad78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x442a1f
push str.CreateTextServices
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442a1f
lea ecx, [ebp + 8]
push ecx
push esi
push 0
call eax
test eax, eax
js 0x442a0b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp + 8]
lea edx, [esi + 0xc]
push edx
push 0x4b50cc
push eax
mov ecx, dword [eax]
xor edi, edi
mov dword [ebp + 0xc], edx
call dword [ecx]
mov ecx, dword [ebp + 8]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x442a16
test ebx, ebx
je 0x442a03
cmp dword [ebx + 0x24], edi
je 0x442a03
mov ecx, dword [ebp + 0xc]
push dword [ebx + 0x24]
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx + 0x38]
test eax, eax
js 0x442a0b
xor eax, eax
inc eax
jmp 0x442a18
mov edi, dword [ebp + 8]
test edi, edi
je 0x442a16
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0
call fcn.0048aff6
int3

Function at 0x44370a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x4dc], 0
je 0x443773
cmp dword [ebp + 8], 0x100
jne 0x443763
cmp word [ebp + 0xc], 0xd
jne 0x443763
cmp byte [esi + 0x4e2], 0
je 0x443748
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x443763
cmp byte [esi + 0x4e3], 0
jne 0x443763
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x44375f
push ecx
push 0
push 0
push str.return
push esi
call fcn.0043777f
xor eax, eax
jmp 0x443776
mov eax, dword [esi + 0x4dc]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebp
ret 0x10
Function at 0x449dc1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x449de3
cmp dword [esi + 8], edi
jge 0x449ddb
call fcn.00449785
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x449e0c
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x449def
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x449e29
mov edx, dword [esi]
cmp edx, dword [esi + 4]
jb 0x449e17
xor eax, eax
jmp 0x449e1f
mov al, byte [edx]
inc edx
mov dword [esi], edx
movzx eax, al
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x449e0e
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x449e56
call fcn.00414080
jmp 0x449e8c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x449e4f
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x449e76
mov edx, edi
mov ecx, esi
call fcn.004497b9
test eax, eax
je 0x449e8c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0047dbe0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4536a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4cd070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45370d
cmp dword [esi + 0x10], 0
je 0x45370d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00465b40
mov ebx, esp
test ebx, ebx
je 0x45370d
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.0043a6c5
mov ecx, dword [esi + 0x10]
push ecx
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0043777f
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464f19
mov esp, ebp
pop ebp
ret 0x10