joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4298be
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4f130c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x208
push edi
push eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x21c], edi
call fcn.0047a360
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x218]
add esp, 0xc
mov ebx, 0x20019
push eax
push ebx
push edi
push 0x4c6b08
push SysReAllocStringLen
call esi
test eax, eax
je 0x42992e
xor eax, eax
jmp 0x4299fc
lea eax, [ebp - 0x210]
push eax
push ebx
push edi
push str.shell
push dword [ebp - 0x218]
call esi
test eax, eax
jne 0x429927
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push str.opencommand
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x429927
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x220], 1
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x4c3f80
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x214]
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00481de8
mov edi, 0x4c6bb4
push edi
push eax
call fcn.0047b633
add esp, 0xc
test eax, eax
je 0x429927
lea esi, [eax + 2]
push edi
push esi
call fcn.0047b633
pop ecx
pop ecx
test eax, eax
je 0x429927
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435ed6
mov esp, ebp
pop ebp
ret

Function at 0x429a32
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fa4
call fcn.00436e80
mov eax, dword [0x4f130c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x804]
push edi
mov edi, 0x800
xor ebx, ebx
push edi
push ebx
push eax
call fcn.0047a360
push edi
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.0047a360
add esp, 0x18
lea eax, [ebp - 0x1fa4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
push 0x4c6ba0
call fcn.0047de63
pop ecx
lea ecx, [ebp - 0x1fa4]
lea eax, [ecx + eax*2]
push eax
call fcn.0047de41
lea eax, [ebp - 0x1fa4]
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.0047de41
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.0047de41
lea eax, [ebp - 0x1fa4]
push esi
push eax
call fcn.00481900
add esp, 0x20
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x429b05
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x804]
push ecx
lea ecx, [ebp - 0x1004]
push ecx
call fcn.00475f94
add esp, 0x14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00435ed6
mov esp, ebp
pop ebp
ret 4
Function at 0x42a19e
Capabilities:
Check if file exists

Disassembly:
push 0xb8
mov eax, 0x4bfad2
call fcn.00435f52
lea eax, [ebp - 0x88]
push str.ExtractAfterRun
push eax
call fcn.00426a11
mov ecx, eax
call fcn.0042b148
xor ebx, ebx
xor edi, edi
inc ebx
mov dword [ebp - 4], edi
cmp dword [ebp - 0x78], edi
je 0x42a3a8
call fcn.00426a11
mov ecx, eax
call fcn.0042b180
push eax
lea ecx, [ebp - 0xb8]
call fcn.00401dcf
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
xor eax, eax
mov byte [ebp - 4], 2
mov esi, 0x4c6e24
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
call fcn.0047de63
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402446
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00401dcf
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00401dcf
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00475064
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ebx
call fcn.004022f3
push edi
push ebx
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.004022f3
mov esi, dword [ebp - 0xc4]
jmp 0x42a37a
cmp dword [esi + 0x14], 8
jb 0x42a2b1
mov eax, dword [esi]
jmp 0x42a2b3
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00401dcf
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474a07
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push edi
test eax, eax
je 0x42a312
lea eax, [ebp - 0x70]
push eax
call fcn.0040238a
jmp 0x42a32d
lea eax, [ebp - 0xb8]
push eax
call fcn.0040238a
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.004271e7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004761c5
pop ecx
test eax, eax
jne 0x42a355
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004766ee
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004022f3
push edi
push ebx
lea ecx, [ebp - 0x58]
call fcn.004022f3
push edi
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004022f3
add esi, 0x18
cmp esi, dword [ebp - 0xc0]
jne 0x42a2a7
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.004022f3
lea ecx, [ebp - 0xc4]
call fcn.0040234a
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.004022f3
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.004022f3
call fcn.00435efc
ret
Function at 0x42c342
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x64
mov eax, 0x4c0037
call fcn.00435f52
mov edi, ecx
mov ecx, dword [edi + 0x14]
xor ebx, ebx
test ecx, ecx
je 0x42c42d
lea eax, [ebp - 0x28]
push eax
call fcn.00430e86
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42c3a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x42c3a0
cmp eax, 0x2f
je 0x42c3a0
mov esi, 0x4c6d90
push esi
call fcn.0047de63
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00427286
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00474a07
pop ecx
pop ecx
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call esi
test eax, eax
je 0x42c464
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047629e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x42c464
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426a11
mov ecx, eax
call fcn.0042b756
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004022f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.004022f3
lea esi, [edi - 0x510]
mov dword [edi + 0x34], 1
mov ecx, esi
call fcn.0042c8ba
mov ecx, esi
call fcn.0042c51e
lea eax, [edi + 0x30]
push eax
push ebx
push esi
push 0x42c13d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
call fcn.00435efc
ret
lea eax, [ebp - 0x70]
push eax
call fcn.00426a11
mov ecx, eax
call fcn.0042b19b
xor eax, eax
mov byte [ebp - 4], 2
mov esi, str.Failed_to_create_folder
mov dword [ebp - 0x2c], 7
push esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
call fcn.0047de63
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00402446
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.004271e7
mov esi, 0x4c7590
push esi
call fcn.0047de63
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00427286
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
push dword [edi - 0x50c]
call fcn.00427efc
add esp, 0xc
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.004022f3
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004022f3
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004022f3
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004022f3
jmp 0x42c45e
Function at 0x42cb59
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x1c
mov eax, 0x4c01ff
call fcn.00435f52
push str.d86096
call fcn.0042cfa9
mov esi, eax
test esi, esi
je 0x42cb9c
xor edi, edi
jmp 0x42cb8a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jg 0x42cb9c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cb79
call fcn.00426a11
mov ecx, eax
call fcn.0042b18f
push eax
lea ecx, [ebp - 0x28]
call fcn.00401dcf
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00476a72
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004022f3
xor eax, eax
inc eax
call fcn.00435efc
ret
Function at 0x42eb5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4c0292
call fcn.00435fc0
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x42ebd9
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x42ebd9
call fcn.0042df30
mov esi, eax
jmp 0x42ecb0
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42ebfc
call fcn.0042df30
jmp 0x42eca3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x42ebf2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42ec2c
mov esi, 0x8007000e
jmp 0x42eca5
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0042dd4f
jmp 0x42ec52
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x42ec25
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x42ebf2
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0042ea21
mov esi, eax
test edi, edi
je 0x42ecb0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42ecc9
lea ecx, [ebp - 0x418]
call fcn.0042e281
mov eax, esi
call fcn.00435f0d
ret 0x10
Function at 0x430ed9
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4f130c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ebx, ebx
mov word [ebp - 0xc], ax
push 0x208
lea eax, [ebp - 0x214]
mov dword [ebp - 0xa], ebx
push ebx
push eax
mov edi, ecx
mov word [ebp - 6], bx
call fcn.0047a360
push esi
call fcn.0047de63
add esp, 0x10
cmp eax, 3
jl 0x430f32
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004824d4
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.00436870
cvtsd2ss xmm0, xmm0
cmp dword [edi + 0x548], ebx
je 0x430fd0
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x430fa9
mulss xmm0, dword [0x4c8b74]
lea eax, [ebp - 0x214]
push ecx
push ecx
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2fGB
push eax
call fcn.00427a30
add esp, 0x10
jmp 0x430fbe
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00427a30
add esp, 0xc
mov ecx, dword [edi + 0x548]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435ed6
mov esp, ebp
pop ebp
ret 4
Function at 0x431712
Capabilities:
Check if file exists

Disassembly:
push 0xbc
mov eax, 0x4c0853
call fcn.00435f52
mov ebx, ecx
mov ecx, dword [ebx + 0x540]
test ecx, ecx
je 0x43184a
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 0x38]
xor edi, edi
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.0042b18c
push eax
lea ecx, [ebp - 0x28]
call fcn.00401dcf
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00438503
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0047de63
pop ecx
cmp eax, 3
jle 0x43182c
push 3
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004296cd
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
push edi
push 1
sbb esi, esi
call fcn.004022f3
and esi, 1
je 0x43182c
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x4317c5
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov eax, dword [ebx + 0x528]
mov ecx, edi
mov esi, dword [ebx + 0x524]
mov edi, eax
sub edi, esi
xor edx, edx
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, edx
test edi, edi
jmp 0x43180d
mov edx, dword [esi]
test edx, edx
je 0x431807
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
add esi, 4
inc ecx
cmp ecx, edi
mov dword [ebp - 0xc8], ecx
jne 0x4317e8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00430ed9
xor edi, edi
jmp 0x43183f
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x43183f
mov eax, dword [ecx]
push edi
call dword [eax + 0xec]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004022f3
call fcn.00435efc
ret
Function at 0x431850
Capabilities:
Get disk size

Disassembly:
push 0x13c
mov eax, 0x4c0891
call fcn.00435f52
mov edi, ecx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.0042e3a3
mov ecx, eax
call fcn.00437747
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x190
push 0x258
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0042e3a3
mov ecx, eax
call fcn.00437747
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 0x540]
lea edx, [ebp - 0xac]
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], ebx
mov word [ebp - 0x12], bx
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0042b18c
push eax
call fcn.0047de63
or dword [ebp - 4], 0xffffffff
mov esi, eax
pop ecx
lea ecx, [ebp - 0xac]
call fcn.00438503
cmp esi, 3
jl 0x43192a
mov ecx, dword [edi + 0x540]
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
push 3
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0042b18c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004824d4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
add esp, 0xc
call fcn.00438503
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, dword [edi + 0x524]
xor ecx, ecx
mov eax, dword [edi + 0x528]
mov edi, eax
sub edi, esi
add edi, 3
shr edi, 2
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x43197c
mov ecx, dword [esi]
test ecx, ecx
je 0x431974
mov eax, dword [ecx]
call dword [eax]
add esi, 4
inc ebx
cmp ebx, edi
jne 0x43196a
call fcn.00435efc
ret

Function at 0x432190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0913
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f130c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4f83d0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x4f83d0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4c65f6
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00435cf0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x438158
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 0x43818a
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 0x43a543
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 0x43a566
or esi, 1
push 1
call edi
test ax, ax
jns 0x43a572
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43a57e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43a58a
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x43cd5c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx + 4]
je 0x43cd8f
cmp esi, dword [ebx + 0x60]
je 0x43ce51
cmp byte [ebx + 0xc4], 0
jne 0x43cd8f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x60]
je 0x43ce51
cmp dword [ebx + 0x60], 0
push edi
je 0x43cde2
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x60]
call fcn.0043ca01
mov dword [ebx + 0x60], edi
test esi, esi
je 0x43ce50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
jne 0x43ce50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test al, al
je 0x43ce50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x43ce50
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x60], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x60]
call fcn.0043ca01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44da27
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4f130c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x24], 0
je 0x44da94
cmp dword [esi + 0x1c], 0
je 0x44da94
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00436910
mov ebx, esp
test ebx, ebx
je 0x44da94
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x1c]
push ebx
add ecx, 0x1bc
call fcn.00438593
mov ecx, dword [esi + 0x1c]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0043ca01
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435ed6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450466
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4c196b
call fcn.00435f52
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.004507f5
call fcn.0043a2e2
push eax
lea ecx, [ebp - 0x94]
call fcn.004383c8
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0043a2e8
mov ecx, eax
call fcn.00438b9b
test al, al
je 0x45057c
push ebx
lea ecx, [ebp - 0x94]
call fcn.004385f7
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.0042b18c
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x4504ed
push str.Error_opening_file
jmp 0x45065d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x4505f6
cmp edi, 0x400000
ja 0x450607
and dword [ebp - 0x2c8], 0
push edi
call fcn.004368fa
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x450565
push ebx
call fcn.00435ffa
pop ecx
mov ecx, esi
call fcn.004507f5
push 0
push str.Could_not_read_file
jmp 0x45065d
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004506a8
push dword [ebp - 0x2cc]
jmp 0x45068b
call fcn.0043a2e8
push eax
lea ecx, [ebp - 0x94]
call fcn.004385da
call fcn.0043a41b
test al, al
je 0x45059d
call fcn.0043a2ee
jmp 0x4505b4
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.0042b18c
push eax
call fcn.00458fd3
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4505c5
push eax
push str.Error_opening_zip_file
jmp 0x45065d
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00458a14
add esp, 0x14
test eax, eax
je 0x4505ec
push 0
push str.Could_not_find_ziped_file
jmp 0x45065d
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x4505ff
push 0
push str.File_is_empty
jmp 0x45065d
cmp ebx, 0x400000
jbe 0x450610
push 0
push str.File_too_large
jmp 0x45065d
push ebx
call fcn.004368fa
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00459393
add esp, 0x18
test eax, eax
je 0x450668
cmp eax, 0x600
je 0x450668
push dword [ebp - 0x2c8]
call fcn.00435ffa
pop ecx
call fcn.0043a41b
test al, al
jne 0x450656
push edi
call fcn.0045886e
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0045081d
mov bl, al
jmp 0x450693
call fcn.0043a41b
test al, al
jne 0x450678
push edi
call fcn.0045886e
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.004506a8
push edi
mov bl, al
call fcn.00435ffa
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00438503
mov al, bl
call fcn.00435efc
ret 8