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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407290
push eax
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
push str.shell_filename____s___param____s___runas___d__show___d
push 0xc
push 0x4ebd34
call fcn.004204c0
add esp, 0x1c
call fcn.00428770
movzx edx, al
test edx, edx
je 0x428be3
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x428be3
mov dword [ebp - 8], 0x4ebd4c
jmp 0x428bea
mov dword [ebp - 8], 0x4ebdd0
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x428bfb
mov dword [ebp - 4], 5
jmp 0x428c02
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00407290
push eax
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x4ebe18
call fcn.004204c0
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x428c6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4ebe30
push 0x1b
push str.utility::process::shell
call fcn.004204c0
add esp, 0x10
xor al, al
jmp 0x428c71
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x428d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca918
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x50c4d8]
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.00407290
push eax
mov ecx, dword [ebp + 8]
call fcn.00407290
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xed
push 0x4ec610
call fcn.004204c0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x4ec630
lea ecx, [ebp - 0x58]
call fcn.004113f0
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x4ec62c
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00411140
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00407ab0
mov ecx, dword [ebp + 0xc]
call fcn.004070f0
movzx edx, al
test edx, edx
jne 0x428e76
mov eax, dword [ebp + 0xc]
push eax
mov edx, 0x4ec634
lea ecx, [ebp - 0x40]
call fcn.004113f0
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.0040c870
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00407ab0
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea eax, [ebp - 0xc4]
push eax
call fcn.0049a790
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 0x428ed6
mov dword [ebp - 0x5c], 5
jmp 0x428edd
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.00407290
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x428f72
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4ec638
push 0x100
push str.utility::process::create
call fcn.004204c0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407ab0
mov eax, dword [ebp - 0x60]
jmp 0x428fa8
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x428f8a
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.00407ab0
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.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x4305b0
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 + 0x518520], ecx
inc eax
cmp eax, 0x100
jb 0x4305b3
cmp eax, 0x800
jae 0x430683
nop
mov edx, dword [eax*4 + 0x518120]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x518520]
mov dword [eax*4 + 0x518520], edx
inc eax
cmp eax, 0x800
jb 0x430660
mov dword [0x51a520], 0x4321f0
mov dword [0x518508], 0x4321f0
mov dword [0x51a524], 0x432290
call fcn.004324a0
mov ecx, dword [0x518508]
test eax, eax
mov edx, 0x432290
cmove ecx, edx
mov dword [0x518508], ecx
pop ecx
ret
Function at 0x435480
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 0x4354a6
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 0x4354cf
lea esp, [esp]
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x4354cf
inc eax
cmp eax, edx
jb 0x4354c0
mov ecx, eax
sub ecx, edi
mov edi, eax
sub ecx, ebx
sub edi, ebx
cmp eax, edx
jae 0x4355b2
cmp ecx, 2
jbe 0x435572
xor esi, esi
movzx ebx, byte [eax + 4]
lea ecx, [ebx + 1]
test cl, 0xfe
jne 0x4355a4
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 0x43554c
and esi, 6
mov edx, ebx
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x435547
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 0x4354b2
shr esi, cl
test esi, esi
je 0x4354ec
cmp esi, 4
ja 0x435599
cmp esi, 3
je 0x435599
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x4354ec
or esi, 8
shr esi, 1
inc edi
jmp 0x4354b2
mov ebx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x4354b2
cmp ecx, 2
jbe 0x4355c7
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 0x441300
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc256
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50c4d8]
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.0049a790
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 0x4413a9
jmp 0x4413a0
add eax, 2
cmp word [eax], 0
jne 0x4413a0
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00416ad0
push str.XuanZhi9_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
mov ecx, 0x517394
call fcn.0043b670
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x4413f2
push dword [ebp - 0x234]
call fcn.00473460
add esp, 4
mov eax, 0x517394
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc2bb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50c4d8]
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], 0x5173b0
call fcn.0049a790
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 [0x5173c4], 7
mov dword [0x5173c0], 0
mov word [0x5173b0], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x44154a
add eax, 2
cmp word [eax], 0
jne 0x441541
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x5173b0
push eax
call fcn.00416ad0
mov eax, 0x5173b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret 4
Function at 0x441b00
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc2bb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50c4d8]
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], 0x517404
call fcn.0049a790
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 [0x517418], 7
mov dword [0x517414], 0
mov word [0x517404], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
cmp word [ebp - 0x21c], 0
je 0x441baa
add eax, 2
cmp word [eax], 0
jne 0x441ba1
push eax
lea eax, [ebp - 0x21c]
mov ecx, 0x517404
push eax
call fcn.00416ad0
mov eax, 0x517404
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00491c63
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc4d7
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x50c4d8]
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.0049a790
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 0x442139
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x442130
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00416ad0
push str.lddownloader_
lea edx, [ebp - 0x234]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0043b670
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00441be0
cmp dword [ebp - 0x238], 8
jb 0x44218e
push dword [ebp - 0x24c]
call fcn.00473460
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 0x4421c2
push dword [ebp - 0x234]
call fcn.00473460
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 0x4421ff
add eax, 2
cmp word [eax], 0
jne 0x4421f6
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00416ad0
sub esp, 0x18
mov dword [ebp - 4], 4
mov ecx, esp
lea edx, [ebp - 0x234]
push str.lddownloaderlddownloader.log
call fcn.0043b670
add esp, 4
mov ecx, esi
call fcn.00441c80
add esp, 0x18
cmp dword [ebp - 0x220], 8
jb 0x442252
push dword [ebp - 0x234]
call fcn.00473460
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.00491c63
mov esp, ebp
pop ebp
ret 4
Function at 0x4474e0
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 0x447525
cmp byte [ebp + 8], 0
je 0x447519
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 0x44a460
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x50c4d8]
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.0044a6d0
mov esi, eax
cmp word [edi], bx
je 0x44a4b9
cmp word [edi + 2], 0x3a
jne 0x44a4b9
mov eax, edi
jmp 0x44a4f0
mov ecx, esi
call fcn.004467c0
test al, al
jne 0x44a5ce
push edi
lea eax, [ebp - 0x19c]
mov ecx, esi
push eax
call fcn.00445f60
mov ebx, 1
mov dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x1a0], ebx
call fcn.0040c9b0
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x118]
call fcn.00445d30
mov dword [ebp - 4], 2
test bl, 1
je 0x44a515
lea ecx, [ebp - 0x19c]
call fcn.00445e30
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x118]
call fcn.0040c9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44a5bc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44a5bc
push esi
mov dword [ebp - 0x1a8], 0
call fcn.004443b9
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 0x44a5ae
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], esi
call fcn.00445e30
mov eax, dword [ebp - 0x1a0]
jmp 0x44a69f
push dword [ebp - 0x1a0]
call fcn.00492873
add esp, 4
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.00445e30
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x94]
call fcn.00445d30
push 0x4ed6a0
push 0x4ed69c
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 3
call fcn.00446a10
lea eax, [ebp - 0x94]
mov ecx, 0x513b94
push eax
call fcn.00450190
mov esi, eax
mov eax, dword [0x513b94]
cmp esi, eax
je 0x44a637
lea ecx, [esi + 0x10]
call fcn.0040c9b0
push eax
lea ecx, [ebp - 0x94]
call fcn.00445ff0
test al, al
mov dword [ebp - 0x1a0], esi
mov eax, dword [0x513b94]
je 0x44a63d
mov dword [ebp - 0x1a0], eax
lea esi, [ebp - 0x1a0]
mov esi, dword [esi]
cmp esi, eax
je 0x44a67d
mov ebx, dword [esi + 0xa4]
push ebx
call fcn.004443b9
add esi, 0x94
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 0x10
jb 0x44a668
mov esi, dword [esi]
push ebx
push esi
push edi
call fcn.00499130
mov eax, dword [ebp - 0x1a4]
add esp, 0xc
mov dword [eax], ebx
jmp 0x44a68b
mov eax, dword [ebp - 0x1a4]
xor edi, edi
mov dword [eax], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00445e30
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.00491c63
mov esp, ebp
pop ebp
ret
Function at 0x44a8e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x4d3a1c
push dword [ebp + 8]
call fcn.0044a6c0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44a93a
push edi
push esi
call fcn.0044a6c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44a939
push esi
call fcn.0044a6c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x44a939
push 0x450fb0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0042c970
add esp, 0xc
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp + 0xc]
call fcn.0044a950
add esp, 4
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd206
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x50c4d8]
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.0044a230
add esp, 4
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.00445f60
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00445e30
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.0040c9b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44aa5a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44aa95
cmp esi, 0x400000
ja 0x44aa95
push esi
mov dword [ebp - 0x11c], 0
call fcn.004443b9
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 0x44aa4f
push esi
push edi
call fcn.0044ad30
add esp, 8
push edi
call fcn.00492873
add esp, 4
jmp 0x44aa95
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push esi
call fcn.0044a460
mov esi, eax
add esp, 8
test esi, esi
je 0x44aa95
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x44aa95
push eax
push esi
call fcn.0044ad30
push esi
call fcn.00492873
add esp, 0xc
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00445e30
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.00491c63
mov esp, ebp
pop ebp
ret

Function at 0x44aff0
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 0x44b015
or esi, 2
push 1
call edi
test ax, ax
jns 0x44b021
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x44b02d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x44b039
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44d9e0
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.0047ffe0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x44da3b
nop
push esi
lea ecx, [ebx + 0x354]
mov byte [ebp + 0xb], 0
call fcn.00445f40
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 0x44db9e
lea ecx, [ebx + 0x354]
inc esi
call fcn.0047ffe0
cmp esi, eax
jl 0x44da00
sub edi, 0x100
je 0x44db27
sub edi, 4
je 0x44dab7
sub edi, 2
jne 0x44db1c
cmp dword [ebx + 0xe0], edi
je 0x44db1c
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.0049e917
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 0x450460
call dword [eax + 0x114]
mov esi, eax
test esi, esi
je 0x44db1c
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 0x44db1c
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.0044aff0
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 0x44db1c
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x44db85
mov eax, dword [ecx]
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x44db85
mov ecx, dword [ebx + 0xe4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x44db85
mov ecx, dword [ebx + 0xe4]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0x10]
push eax
call fcn.004989d7
add esp, 8
test eax, eax
je 0x44db85
mov ecx, dword [ebx + 0xe4]
call fcn.004640c0
test al, al
jne 0x44db1c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0044f330
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ed90
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 0x44edcb
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x44edcb
cmp esi, dword [edi + 0xe4]
je 0x44edcb
cmp byte [edi + 0xdc], 0
jne 0x44edcb
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe4]
cmp esi, eax
je 0x44eec6
test eax, eax
je 0x44ee3a
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.0044e900
mov dword [edi + 0xe4], 0
test esi, esi
je 0x44eec6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x44eec6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x44eec6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
test al, al
je 0x44eec6
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.0044e900
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8