joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x22373d0a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x51c56486
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x7c649d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7cd428
cmp edx, dword [eax]
je 0x7c64bf
add eax, 8
inc ecx
cmp eax, 0x7cd4b8
jl 0x7c64b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7cd428]
jne 0x7c65ed
mov eax, dword [0xbcfdc4]
cmp eax, 1
je 0x7c65c7
test eax, eax
jne 0x7c64f0
cmp dword [0x7cd354], 1
je 0x7c65c7
cmp edx, 0xfc
je 0x7c65ed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c6527
lea eax, [ebp - 0x1a4]
push 0x7cb548
push eax
call fcn.007c6e80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c7310
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c656a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c7310
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cb544
push edi
call fcn.007c91e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cb528
push eax
call fcn.007c6e80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c6e90
lea eax, [ebp - 0xa0]
push 0x7cb524
push eax
call fcn.007c6e90
push dword [esi + 0x7cd42c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c6e90
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cb4fc
push eax
call fcn.007c9154
add esp, 0x2c
pop edi
jmp 0x7c65ed
lea eax, [ebp + 8]
lea esi, [esi + 0x7cd42c]
push 0
push eax
push dword [esi]
call fcn.007c7310
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6e95b81
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x399f4146
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
jne 0x401249
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40125d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40127e
cmp esi, eax
jae 0x401257
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401270
cmp esi, eax
jae 0x401257
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40ec70
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x493790]
mov dword [esp + 0x160], eax
mov al, byte [esp + 0x16c]
test al, al
push esi
lea eax, [esp + 4]
je 0x40ece9
mov ecx, dword [0x4dee78]
push 0x4001
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
mov eax, dword [esp + 0x16c]
mov esi, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ecd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x160]
call fcn.004475ee
add esp, 0x164
ret 8
mov esi, dword [esp + 0x16c]
push edi
push 0x4001
push 0x160
push eax
push 0
push esi
call dword [sym.imp.shell32.dll_SHGetFileInfo]
mov edi, dword [esp + 0xc]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x168]
mov eax, edi
pop edi
pop esi
call fcn.004475ee
add esp, 0x164
ret 8

Function at 0x40f590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46f708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00405520
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401fc0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40f622
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40fcb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46f793
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
mov eax, dword [0x493790]
push ebp
push esi
mov dword [esp + 0x16c], eax
push edi
mov dword [esp + 0x17c], 0
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x188]
lea eax, [esp + 0x30]
push eax
push ebp
mov byte [esp + 0x184], 1
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x18]
mov dword [esp + 0x10], ecx
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
mov edi, dword [esp + 0x50]
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x10]
call fcn.00402a20
mov esi, dword [esp + 0xc]
push 0x5c
push esi
call fcn.00447d3d
add esp, 8
test eax, eax
jne 0x40fd70
or ecx, 0xffffffff
jmp 0x40fd74
sub eax, esi
mov ecx, eax
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402230
mov esi, dword [esp + 0x184]
mov edx, dword [esi*4 + 0x4ae128]
mov dword [edx + 0xc], edi
mov ecx, dword [esi*4 + 0x4ae128]
lea eax, [esp + 0x188]
add ecx, 0x14
push eax
call fcn.00402a20
mov edx, dword [esi*4 + 0x4ae128]
lea ecx, [esp + 0x20]
push ecx
add edx, 0x18
push edx
mov ecx, 0x4dee80
call fcn.00406570
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x17c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fdec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x17c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
jg 0x40fe14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x164]
call fcn.004475ee
add esp, 0x174
ret 8
Function at 0x410140
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x46f818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
call fcn.0040f4b0
mov esi, dword [esp + 0x2c]
mov edi, dword [esi - 0xc]
mov ebx, 3
cmp edi, ebx
mov byte [esp + 0x24], 1
jge 0x41018f
test edi, edi
mov ebx, edi
jle 0x4101d2
mov eax, dword [esi - 4]
sub edi, ebx
cmp eax, 1
lea ebp, [edi + 1]
jle 0x4101ad
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.004014f0
mov esi, dword [esp + 0x2c]
push ebp
add ebx, esi
push ebx
push esi
call fcn.00447a00
add esp, 0xc
test edi, edi
jl 0x410310
cmp edi, dword [esi - 8]
jg 0x410310
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x4102b6
push 0x5c
push esi
call fcn.00448ec4
add esp, 8
test eax, eax
je 0x4102b6
sub eax, esi
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
je 0x4102b6
lea ebp, [ebx + 1]
push ebp
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
call fcn.0040f4b0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.00402350
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41024b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
jge 0x410251
xor ebp, ebp
mov edi, dword [esi - 0xc]
cmp ebp, edi
jle 0x41025a
mov ebp, edi
test ebp, ebp
jle 0x4102a1
mov eax, dword [esi - 4]
sub edi, ebp
cmp eax, 1
lea ebx, [edi + 1]
jle 0x41027c
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x30]
call fcn.004014f0
mov esi, dword [esp + 0x2c]
push ebx
add ebp, esi
push ebp
push esi
call fcn.00447a00
add esp, 0xc
test edi, edi
jl 0x410310
cmp edi, dword [esi - 8]
jg 0x410310
mov ebx, dword [esp + 0x18]
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test ebx, ebx
jg 0x4101d2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4102d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4102fb
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push 0x80070057
call fcn.00401210
int3
Function at 0x414790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fc98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], esi
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], 1
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x30]
movzx eax, byte [esi + 1]
push eax
lea ecx, [esp + 0x14]
push 0x474c08
push ecx
mov byte [esp + 0x30], 2
call fcn.00402a00
mov edx, dword [esp + 0x1c]
push edx
call fcn.00448264
mov ebp, eax
movzx eax, byte [esi + 3]
push eax
lea ecx, [esp + 0x24]
push 0x474c08
push ecx
call fcn.00402a00
mov edx, dword [esp + 0x2c]
push edx
call fcn.00448264
mov edi, eax
movzx eax, byte [esi + 4]
push eax
lea ecx, [esp + 0x34]
push 0x474c08
push ecx
call fcn.00402a00
mov edx, dword [esp + 0x3c]
push edx
call fcn.00448264
mov ebx, eax
movzx eax, byte [esi + 5]
push eax
lea ecx, [esp + 0x44]
push 0x474c08
push ecx
call fcn.00402a00
mov edx, dword [esp + 0x4c]
push edx
call fcn.00448264
add esp, 0x40
cmp edi, 0xc
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
push 2
jle 0x41489c
push 0x4758d8
call fcn.00401800
sub edi, 0xc
jmp 0x4148a6
push 0x4758d4
call fcn.00401800
lea eax, [ebp - 1]
cmp eax, 0xb
ja case.default.0x4148ae
jmp dword [eax*4 + 0x4149cc]
push 0x4758c8
jmp 0x414907
push 0x4758bc
jmp 0x414907
push 0x4758b4
jmp 0x414907
push 0x4758ac
jmp 0x414907
push 0x4758a8
jmp 0x414907
push 0x4758a0
jmp 0x414907
push 0x475898
jmp 0x414907
push 0x475890
jmp 0x414907
push 0x475884
jmp 0x414907
push 0x47587c
jmp 0x414907
push 0x475870
jmp 0x414907
push 0x475864
lea ecx, [esp + 0x14]
call fcn.00401950
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
movzx ecx, byte [esi]
movzx edx, byte [esi + 2]
push ebp
push eax
push ebx
mov ebx, dword [esp + 0x1c]
push edi
add ecx, 0x76c
push ecx
push ebx
push edx
lea eax, [esp + 0x34]
push 0x475838
push eax
call fcn.00402a00
mov esi, dword [esp + 0x3c]
add esi, 0xfffffff0
push esi
call fcn.00401fc0
mov edi, dword [esp + 0x54]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
add esp, 0x28
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414977
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414996
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4149b5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x416bd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46fe90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0042b2b0
xor ebx, ebx
push 0x80000002
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.0042b280
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4760d8
call fcn.00401990
lea ecx, [esp + 0x20]
call fcn.0042b6c0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4760c8
call fcn.00401990
lea ecx, [esp + 0x20]
call fcn.0042b3f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4760bc
mov dword [esi + 0x70], eax
call fcn.00401990
lea ecx, [esp + 0x20]
call fcn.0042b3f0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x473a35
mov dword [esi + 0x74], eax
call fcn.00401990
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4760b4
mov byte [esp + 0x3c], 1
call fcn.00401990
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call fcn.0042b800
lea edi, [esi + 0x78]
push eax
mov ecx, edi
mov byte [esp + 0x34], 2
call fcn.00402a20
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ccd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0xffffffffffffffc8
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4760ac
call fcn.00401990
lea ecx, [esp + 0x20]
call fcn.0042b3f0
mov dword [esi + 0x7c], eax
cmp dword [esi + 0x70], 1
mov ecx, esi
jne 0x416cf8
push 1
jmp 0x416cf9
push ebx
push 0x437
call fcn.0045f32f
cmp dword [esi + 0x74], 1
mov ecx, esi
jne 0x416d0f
push 1
jmp 0x416d10
push ebx
push 0x436
call fcn.0045f32f
mov edi, dword [edi]
push edi
push 0x438
mov ecx, esi
call fcn.0045f379
mov ecx, eax
call fcn.0045f49d
mov eax, dword [esi + 0x7c]
cmp eax, 0xfffffff0
mov ecx, esi
je 0x416dc3
cmp eax, ebx
je 0x416dbc
push 0x435
push 0x435
push 0x433
call fcn.0045f351
call fcn.00460104
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x7c]
push eax
lea ecx, [esp + 0x10]
push 0x474c08
push ecx
mov byte [esp + 0x3c], 3
call fcn.00402a00
mov edi, dword [esp + 0x18]
add esp, 0xc
push edi
push 0x3fb
mov ecx, esi
call fcn.0045f379
mov ecx, eax
call fcn.0045f49d
lea eax, [edi - 0x10]
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416dd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x416dd7
push 0x434
jmp 0x416dc8
push 0x433
push 0x435
push 0x433
call fcn.0045f351
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042b2e0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret
Function at 0x41a240
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
sub esp, 0x148
mov eax, dword [0x493790]
push ebx
push ebp
push esi
mov dword [esp + 0x150], eax
push edi
lea eax, [esp + 0x14]
push eax
push 0x47532c
mov dword [esp + 0x18], ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41a2d2
mov edi, 0x475328
lea esi, [esp + 0x40]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x41a2d2
mov edi, 0x473cc4
lea esi, [esp + 0x40]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41a2d2
lea ecx, [esp + 0x40]
push ecx
call ebp
test eax, eax
je 0x41a2c7
mov ecx, dword [esp + 0x10]
call fcn.0041a240
push 0x473cc4
call ebp
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
jmp 0x41a2d2
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
je 0x41a2e7
cmp ebx, 0xffffffff
jne 0x41a277
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
call fcn.004475ee
add esp, 0x148
ret

Function at 0x41b160
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4704c8
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0x24]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call fcn.00402a20
mov dl, byte [esp + 0x2c]
mov byte [esi + 0x14], dl
call fcn.0046a9b7
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 8]
push 0x8000
push ecx
push ecx
movzx ecx, word [esi + 4]
push 1
push ecx
push eax
call dword [sym.imp.user32.dll_LoadImageA]
mov ecx, dword [esi]
push 0
push eax
call fcn.00428c40
mov edi, dword [edi]
mov edx, dword [esi]
mov ecx, dword [esp + 0x30]
push 0
push 0
push edi
push edx
call fcn.00459b2c
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x1c
Function at 0x41b230
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4dee78]
push ebx
push esi
push edi
push eax
mov esi, ecx
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov ecx, esi
call fcn.0041a240
mov ecx, dword [esi + 0x180]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0
push 0x500
push edx
call ebx
mov ecx, 0x4dee80
call fcn.0040b970
mov ecx, esi
call fcn.0041ae20
mov edi, dword [esi + 0x17b8]
call fcn.0046a9b7
mov ecx, dword [esi + 0x17bc]
mov eax, dword [eax + 8]
push 0x8000
push ecx
push ecx
movzx ecx, di
mov edi, dword [sym.imp.user32.dll_LoadImageA]
push 1
push ecx
push eax
call edi
mov ecx, dword [esi + 0x17b0]
push 0
push eax
call fcn.00428c40
mov eax, dword [esi + 0x17c0]
push 0x4770f0
push eax
call fcn.00447da8
add esp, 8
test eax, eax
je 0x41b2d1
mov ecx, dword [esi + 0x17b0]
push 0
call fcn.0045f553
push ebp
mov ebp, dword [esi + 0x2210]
call fcn.0046a9b7
mov ecx, dword [esi + 0x2214]
mov eax, dword [eax + 8]
push 0x8000
push ecx
push ecx
movzx edx, bp
push 1
push edx
push eax
call edi
mov ecx, dword [esi + 0x2208]
push 0
push eax
call fcn.00428c40
mov eax, dword [esi + 0x2218]
push 0x4770f0
push eax
call fcn.00447da8
add esp, 8
test eax, eax
pop ebp
je 0x41b32a
mov ecx, dword [esi + 0x2208]
push 0
call fcn.0045f553
mov eax, dword [esi + 0x184]
mov ecx, dword [eax + 0x1c]
push 0
push 1
push 0x500
push ecx
call ebx
mov edx, dword [esi + 0x188]
mov eax, dword [edx + 0x1c]
push 0
push 1
push 0x500
push eax
call ebx
mov ecx, dword [esi + 0x18c]
mov edx, dword [ecx + 0x1c]
push 0xffffffffffffffff
push 0x10
push 0x500
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 1
push 0x500
push eax
call ebx
pop edi
pop esi
pop ebx
ret