joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7c48
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407ba0
push eax
mov ecx, dword [ebp + 8]
call fcn.00407ba0
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push 0x4e94f0
call fcn.004209c0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x4e9510
lea ecx, [ebp - 0x58]
call fcn.00411e90
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x4e950c
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00411bd0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004083c0
mov ecx, dword [ebp + 0xc]
call fcn.00407a00
movzx edx, al
test edx, edx
jne 0x429326
mov eax, dword [ebp + 0xc]
push eax
mov edx, 0x4e9514
lea ecx, [ebp - 0x40]
call fcn.00411e90
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040d1c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004083c0
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea eax, [ebp - 0xc4]
push eax
call fcn.00497a40
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x429386
mov dword [ebp - 0x5c], 5
jmp 0x42938d
mov dword [ebp - 0x5c], 0
mov dx, word [ebp - 0x5c]
mov word [ebp - 0x98], dx
xor eax, eax
mov word [ebp - 0x96], ax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00407ba0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x429422
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e9518
push 0x100
push str.utility::process::create
call fcn.004209c0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004083c0
mov eax, dword [ebp - 0x60]
jmp 0x429458
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x42943a
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004083c0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x430a70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x515b20], ecx
inc eax
cmp eax, 0x100
jb 0x430a73
cmp eax, 0x800
jae 0x430b43
nop
mov edx, dword [eax*4 + 0x515720]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x515b20]
mov dword [eax*4 + 0x515b20], edx
inc eax
cmp eax, 0x800
jb 0x430b20
mov dword [0x517b20], 0x4326b0
mov dword [0x515b08], 0x4326b0
mov dword [0x517b24], 0x432750
call fcn.00432960
mov ecx, dword [0x515b08]
test eax, eax
mov edx, 0x432750
cmove ecx, edx
mov dword [0x515b08], ecx
pop ecx
ret
Function at 0x435940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x435966
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
sub edx, 4
add edx, ebx
mov dword [ebp - 0xc], edx
lea eax, [edi + ebx]
cmp eax, edx
jae 0x43598f
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x43598f
inc eax
cmp eax, edx
jb 0x435980
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x435a72
cmp ecx, 2
jbe 0x435a32
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x435a64
movzx ecx, byte [eax + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [eax + 1]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp + 8]
add ecx, edi
add edi, 5
sub ebx, ecx
mov dword [ebp - 8], ecx
test esi, esi
je 0x435a0c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x435a07
mov edx, 0x100
shl edx, cl
dec edx
xor ebx, edx
sub ebx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov byte [eax + 4], bl
mov ebx, dword [ebp - 4]
jmp 0x435972
shr esi, cl
test esi, esi
je 0x4359ac
cmp esi, 4
ja 0x435a59
cmp esi, 3
je 0x435a59
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x4359ac
or esi, 8
shr esi, 1
inc edi
jmp 0x435972
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x435972
cmp ecx, 2
jbe 0x435a87
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
shr esi, cl
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e990
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c93d6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43ea39
jmp 0x43ea30
add eax, 2
cmp word [eax], 0
jne 0x43ea30
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004172a0
push str.leidian9_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x514998
call fcn.00438cc0
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x43ea82
push dword [ebp - 0x234]
call fcn.00470760
add esp, 4
mov eax, 0x514998
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 4

Function at 0x43eb30
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c943b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x5149b4
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x5149c8], 7
mov dword [0x5149c4], 0
mov word [0x5149b4], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43ebda
add eax, 2
cmp word [eax], 0
jne 0x43ebd1
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x5149b4
push eax
call fcn.004172a0
mov eax, 0x5149b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 4
Function at 0x43f190
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c943b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], 0
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x220], 0x514a08
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [0x514a1c], 7
mov dword [0x514a18], 0
mov word [0x514a08], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43f23a
add eax, 2
cmp word [eax], 0
jne 0x43f231
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x514a08
push eax
call fcn.004172a0
mov eax, 0x514a08
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 4

Function at 0x43f720
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9657
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
mov dword [ebp - 0x250], 0
call fcn.00497a40
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43f7c9
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x43f7c0
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004172a0
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00438cc0
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0043f270
cmp dword [ebp - 0x238], 8
jb 0x43f81e
push dword [ebp - 0x24c]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
jb 0x43f852
push dword [ebp - 0x234]
call fcn.00470760
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 3
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x43f88f
add eax, 2
cmp word [eax], 0
jne 0x43f886
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.004172a0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.00438cc0
add esp, 4
mov ecx, esi
call fcn.0043f310
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x43f8e2
push dword [ebp - 0x234]
call fcn.00470760
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret 4
Function at 0x444a90
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 0x444ad5
cmp byte [ebp + 8], 0
je 0x444ac9
cmp byte [ebp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x4479c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca308
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], ebx
call fcn.00447c30
mov esi, eax
cmp word [edi], bx
je 0x447a19
cmp word [edi + 2], 0x3a
jne 0x447a19
mov eax, edi
jmp 0x447a50
mov ecx, esi
call fcn.00443d60
test al, al
jne 0x447b2e
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.004434e0
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.0040d300
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.004432c0
mov dword [ebp - 4], 2
test bl, 1
je 0x447a75
lea ecx, [ebp - 0x19c]
call fcn.004433c0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0040d300
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x447b1c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x447b1c
push esi
mov dword [ebp - 0x1a8], 0
call fcn.0044194a
add esp, 4
mov dword [ebp - 0x1a0], eax
lea ecx, [ebp - 0x1a8]
push 0
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1a8], esi
jne 0x447b0e
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.004433c0
mov eax, dword [ebp - 0x1a0]
jmp 0x447bff
push dword [ebp - 0x1a0]
call fcn.0048fbc3
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.004433c0
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.004432c0
push 0x4ea580
push 0x4ea57c
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.00443fb0
lea eax, [ebp - 0x94]
mov ecx, 0x510d74
push eax
call fcn.0044d710
mov esi, eax
mov eax, dword [0x510d74]
cmp esi, eax
je 0x447b97
lea ecx, [esi + 0x10]
call fcn.0040d300
push eax
lea ecx, [ebp - 0x94]
call fcn.00443570
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x510d74]
je 0x447b9d
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x447bdd
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.0044194a
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x447bc8
mov esi, dword [esi]
push ebx
push esi
push edi
call fcn.004963d0
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x447beb
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004433c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret
Function at 0x447e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4d0a1c
push dword [ebp + 8]
call fcn.00447c20
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x447e9a
push edi
push esi
call fcn.00447c20
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x447e99
push esi
call fcn.00447c20
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x447e99
push 0x44e310
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0042ce20
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp + 0xc]
call fcn.00447eb0
add esp, 4
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca386
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5094d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
call fcn.00447790
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.004434e0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004433c0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0040d300
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x447fba
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x447ff5
cmp esi, 0x400000
ja 0x447ff5
push esi
mov dword [ebp - 0x11c], 0
call fcn.0044194a
add esp, 4
mov edi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x11c], esi
jne 0x447faf
push esi
push edi
call fcn.00448290
add esp, 8
push edi
call fcn.0048fbc3
add esp, 4
jmp 0x447ff5
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.004479c0
mov esi, eax
add esp, 8
test esi, esi
je 0x447ff5
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x447ff5
push eax
push esi
call fcn.00448290
push esi
call fcn.0048fbc3
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004433c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048efb3
mov esp, ebp
pop ebp
ret

Function at 0x448550
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
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x448575
or esi, 2
push 1
call edi
test ax, ax
jns 0x448581
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x44858d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x448599
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44af50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x354]
call fcn.00444700
mov edi, dword [ebp + 8]
test eax, eax
jle 0x44afab
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.004434d0
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 0x44b10e
lea ecx, [ebx + 0x354]
inc esi
call fcn.00444700
cmp esi, eax
jl 0x44af70
sub edi, 0x100
je 0x44b097
sub edi, 4
je 0x44b027
sub edi, 2
jne 0x44b08c
cmp dword [ebx + 0xe0], edi
je 0x44b08c
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0049bbc7
mov ecx, dword [ebx + 0xe0]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x80000012
push edx
push 0x44da30
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x44b08c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x108]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x44b08c
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xf8]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00448550
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x44b08c
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x44b0f5
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x44b0f5
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x44b0f5
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.00495c80
add esp, 8
test eax, eax
je 0x44b0f5
mov ecx, dword [ebx + 0xe4]
call fcn.00461380
test al, al
jne 0x44b08c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0044c8a0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44c300
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x44c33b
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x44c33b
cmp esi, dword [edi + 0xe4]
je 0x44c33b
cmp byte [edi + 0xdc], 0
jne 0x44c33b
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x44c436
test eax, eax
je 0x44c3aa
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
push 1
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.0044be70
mov dword [edi + 0xe4], 0
test esi, esi
je 0x44c436
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x44c436
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x44c436
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x44c436
xorps xmm0, xmm0
mov dword [edi + 0xe4], esi
movdqu xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
push 1
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0xe4]
mov ecx, edi
call fcn.0044be70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8