joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e9bd8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5e9c10
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005e7c65
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005e7c3d
jmp 0x5e9c1c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5eb2ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5eb30c
call fcn.005f16cf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5eb30c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5eb303
xor eax, eax
jmp 0x5eb314
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005eb31a
pop edi
pop esi
pop ebx
ret 4

Function at 0x5f1bff
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5f1c2d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5f1c4b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005f1b65
jmp 0x5f1c4b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5f1c4b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005f1b65
test edi, edi
mov eax, edi
jne 0x5f1c35
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10002b14
xor eax, eax
jmp 0x10002b94
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002b2b
xor eax, eax
jmp 0x10002b94
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x10002b77
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x10002b77
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x10002b4e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x10002b83
xor eax, eax
jmp 0x10002b94
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x10002b91
xor eax, eax
jmp 0x10002b94
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000f2c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0
mov edx, 4
imul edx, edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 8], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx + 8], 0x98badcfe
mov ecx, 4
imul ecx, ecx, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 8], 0x10325476
pop ebp
ret

Function at 0x10010690
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x11c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.10046920
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x11c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100106ca
xor eax, eax
jmp 0x1001078c
push 0x26bd
mov ecx, dword [0x1008954c]
call fcn.1002aa70
push eax
push 0x29c4
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001070b
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp - 4]
jmp 0x10010715
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 2
jne 0x10010727
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 4
ja 0x1001072b
xor eax, eax
jmp 0x1001078c
push 0x270a
mov ecx, dword [0x1008954c]
call fcn.1002aa70
push eax
push 0x29c4
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001077e
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [ebp - 8]
jmp 0x10010787
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10026250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
or edx, 0x20006
push edx
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10026e40
test eax, eax
je 0x100262e3
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x58]
call fcn.10027260
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.10003fb0
mov eax, dword [ebp + 0x10]
sub eax, 0x10
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.10003fb0
mov ecx, dword [ebp + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10003fb0
mov al, byte [ebp - 1]
jmp 0x100263f4
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
xor ecx, ecx
jne 0x100262ef
cmp dword [ebp - 0xc], 0
je 0x10026302
mov dword [ebp - 0x10], 1
jmp 0x10026309
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x1002631e
mov dword [ebp - 0x14], 0xd
jmp 0x10026372
xor eax, eax
jne 0x100262f3
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 8]
mov cx, word [eax]
mov word [ebp - 4], cx
add dword [ebp - 8], 2
cmp word [ebp - 4], 0
jne 0x10026331
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x34]
sar edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x58], 0
je 0x10026393
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x14], 0
jne 0x100263a9
mov dword [ebp - 0x18], 1
jmp 0x100263b0
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 2], al
lea ecx, [ebp - 0x58]
call fcn.10027260
mov ecx, dword [ebp + 0xc]
sub ecx, 0x10
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.10003fb0
mov edx, dword [ebp + 0x10]
sub edx, 0x10
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x48]
call fcn.10003fb0
mov eax, dword [ebp + 0x14]
sub eax, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.10003fb0
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100269b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x214]
call fcn.10027150
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x10026a40
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x22c], edx
lea ecx, [ebp - 0x214]
call fcn.10027260
mov eax, dword [ebp - 0x22c]
jmp 0x10026b24
mov dword [ebp - 0x21c], 0x100
lea eax, [ebp - 0x234]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x204]
push edx
push 0
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10026ac4
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x214]
call fcn.100269b0
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
je 0x10026ab8
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x220], edx
lea ecx, [ebp - 0x214]
call fcn.10027260
mov eax, dword [ebp - 0x220]
jmp 0x10026b24
mov dword [ebp - 0x21c], 0x100
jmp 0x10026a4a
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x214], 0
je 0x10026af4
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.10026bd0
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x214]
call fcn.10027260
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret 4

Function at 0x10026b40
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10026b9f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10026b6c
mov eax, 1
jmp 0x10026bbd
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10026b9d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x10026bbd
jmp 0x10026bb8
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10026bb8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x10026bbd
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x10026ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10026ff9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002703c
mov eax, dword [ebp - 8]
jmp 0x100270a2
cmp dword [ebp - 0xc], 1
je 0x1002704f
cmp dword [ebp - 0xc], 2
je 0x1002704f
mov eax, 0xd
jmp 0x100270a2
cmp dword [ebp + 0xc], 0
je 0x10027096
cmp dword [ebp - 4], 0
je 0x10027085
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x1002707c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x10027083
mov eax, 0xd
jmp 0x100270a2
jmp 0x10027096
mov edx, 2
imul edx, edx, 0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx + edx], ax
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10028790
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f868
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100871e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 1
push eax
call fcn.100429a1
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
call fcn.10001910
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
push 0x1007ca90
mov eax, dword [ebp - 0x20]
push eax
call fcn.10042fb7
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002882e
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.1004467f
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.100432d9
add esp, 4
jmp 0x10028835
push 1
call fcn.100451be
mov edx, dword [ebp - 0x14]
push edx
call fcn.10042a33
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
sub ecx, 0x10
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.10003fb0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1002a8c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100871e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push 0x2c
call fcn.100422c2
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x1002a918
push 0
push 3
push 0x1007cc08
mov ecx, dword [ebp - 0x20]
call fcn.10001070
mov dword [ebp - 0x24], eax
jmp 0x1002a91f
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x20], edx
push 0x18
push 0x8e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x1002a954
jmp 0x1002aa5f
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1002a970
jmp 0x1002aa5f
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1002a98c
jmp 0x1002aa5f
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x18], ecx
jae 0x1002aa5f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
movsx edx, word [ebp - 0x14]
push edx
call fcn.100429a1
add esp, 4
mov dword [ebp - 0x34], eax
movsx eax, word [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.100469b0
add esp, 0xc
movsx eax, word [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
jne 0x1002aa3c
movsx edx, word [ebp - 0x14]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.1002cee0
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x1002aa4d
mov dword [ebp - 0x3c], 1
jmp 0x1002aa54
mov dword [ebp - 0x3c], 0
mov cl, byte [ebp - 0x3c]
mov byte [ebp - 0xd], cl
jmp 0x1002a9a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10030dd0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070208
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100871e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.10007f90
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
call fcn.10030b60
add esp, 4
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x10030e68
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.10003fb0
mov eax, dword [ebp - 0x30]
jmp 0x10030f3d
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x10030e81
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0xc]
jge 0x10030eb1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10030ea4
jmp 0x10030eb1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10030e78
cmp dword [ebp - 0x14], 0
jne 0x10030f1c
push 0x5459
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000a100
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 1
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
push 4
push 0
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x1c]
sub edx, 0x10
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp - 0x44]
call fcn.10003fb0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.10003fb0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10031060
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070376
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x270], 0
push 0x1007cc78
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.1000a100
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx]
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x294]
sub eax, 0x10
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
call fcn.10003fb0
cmp dword [ebp - 0x268], 0xffffffff
je 0x10031218
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x26c]
call fcn.100064a0
mov byte [ebp - 4], 2
push 0xa
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x26c]
call fcn.1000a060
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp - 0x29c]
call fcn.10009f90
test eax, eax
jne 0x10031174
mov dword [ebp - 0x274], 1
jmp 0x1003117e
mov dword [ebp - 0x274], 0
mov al, byte [ebp - 0x274]
mov byte [ebp - 0x261], al
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x27c]
sub ecx, 0x10
mov dword [ebp - 0x280], ecx
mov ecx, dword [ebp - 0x280]
call fcn.10003fb0
movzx edx, byte [ebp - 0x261]
test edx, edx
je 0x100311d1
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.100383f0
mov ecx, dword [ebp - 0x270]
add ecx, 1
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x26c]
sub edx, 0x10
mov dword [ebp - 0x288], edx
mov ecx, dword [ebp - 0x288]
call fcn.10003fb0
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10031109
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x290], ecx
mov ecx, dword [ebp - 0x290]
call fcn.10003fb0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x298], edx
mov ecx, dword [ebp - 0x298]
call fcn.10003fb0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret