joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d16b9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x49c72c
xor esi, esi
jmp 0x49c73a
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x49c731
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0049cc10
push eax
mov ecx, edi
call fcn.004226f0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x49f7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e195b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x49f863
push 0x10
call fcn.004ad321
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x49f856
push 0x49d7f0
push 0x49d7e0
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.004b4928
jmp 0x49f858
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x49f877
cmp byte [ecx + eax - 1], 0xa
jne 0x49f877
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.0049d800
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x4a37a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e2000
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x4c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x2c], xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x44], 1
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
movq qword [esp + 0xc], xmm0
cmp eax, edx
je 0x4a3845
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.00402560
lea eax, [esp + 0xc]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esi + 0x14]
call fcn.004a3bd0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00406cf0
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x3c
ret 0xc
Function at 0x4a9a50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4a9a5b
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004a9a70
Function at 0x4c561f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x50c620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004b753b
mov dword [ebp - 0x14], eax
cmp dword [0x50f78c], esi
jne 0x4c5712
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c569f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c57f2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c57f2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c57f2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x50f78c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x50f790], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x50f794], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x50f79c], eax
test eax, eax
je 0x4c570f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x50f798], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c5737
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c572a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4c574c
push 4
pop eax
jmp 0x4c57f4
cmp dword [ebp - 0x14], esi
je 0x4c574c
push dword [0x50f78c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c5731
mov eax, dword [0x50f798]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4c57aa
cmp dword [0x50f79c], edi
je 0x4c57aa
push eax
call ebx
push dword [0x50f79c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c57aa
test eax, eax
je 0x4c57aa
call ecx
test eax, eax
je 0x4c579f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4c579f
test byte [ebp - 8], 1
jne 0x4c57aa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4c57da
mov eax, dword [0x50f790]
cmp eax, edi
je 0x4c57d7
push eax
call ebx
test eax, eax
je 0x4c57d7
call eax
mov esi, eax
test esi, esi
je 0x4c57d7
mov eax, dword [0x50f794]
cmp eax, edi
je 0x4c57d7
push eax
call ebx
test eax, eax
je 0x4c57d7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x50f78c]
call ebx
test eax, eax
je 0x4c57f2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4c57f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ff2
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x238f6813
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..pdata
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x7d440c55
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401047
Capabilities:
Set current directory

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00404200
pop ecx
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edi, [eax - 1]
neg edi
sbb edi, edi
neg edi
test esi, esi
je 0x401076
push dword [esp + 0xc]
call fcn.00401eb9
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x401363
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov word [ebp - 0xb], 0x5c3a
mov byte [ebp - 9], 0
mov al, byte [eax]
mov byte [ebp - 0xc], al
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
xor ecx, ecx
inc ecx
cmp ecx, eax
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00408a7f
mov esp, ebp
pop ebp
ret 4

Function at 0x4019cb
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x427d74]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4019f8
push edi
mov edi, dword [esp + 0xc]
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x427380]
inc edi
sub esi, 1
jne 0x4019df
pop edi
mov dword [0x427d74], edx
pop esi
ret
Function at 0x402eb6
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x105
push esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x402ed9
cmp byte [esi], 0
je 0x402ed9
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x402f27
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5ac]
sub esp, 0x62c
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp + 0x5a8], eax
mov eax, dword [ebp + 0x5b4]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x7c]
push eax
push str..wzcloudOpenWithProgids
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x402f6a
xor eax, eax
jmp 0x4030db
push esi
push edi
xor esi, esi
mov dword [ebp - 0x78], 0x104
push 0x208
lea eax, [ebp + 0x3a0]
mov edi, esi
push esi
push eax
call fcn.004037e9
add esp, 0xc
lea eax, [ebp - 0x78]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp + 0x3a0]
push eax
push esi
jmp 0x4030b8
inc edi
cmp dword [ebp - 0x78], 4
jle 0x4030a8
push 4
lea eax, [ebp + 0x3a0]
push str.AppX
push eax
call fcn.0040c308
add esp, 0xc
test eax, eax
jne 0x4030a8
push 0x208
lea eax, [ebp + 0x198]
push esi
push eax
call fcn.004037e9
push 0x208
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.004037e9
lea eax, [ebp + 0x3a0]
mov dword [ebp - 0x74], 0x208
push eax
push str._sApplication
lea eax, [ebp + 0x198]
push 0x104
push eax
call fcn.0040460c
add esp, 0x28
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push 2
push str.AppUserModelID
lea eax, [ebp + 0x198]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4030a8
push str.WinZipComputing.WinZipDesktop
call fcn.0040bfb2
push eax
lea eax, [ebp - 0x70]
push str.WinZipComputing.WinZipDesktop
push eax
call fcn.0040c308
add esp, 0x10
test eax, eax
jne 0x4030a8
lea eax, [ebp + 0x3a0]
push eax
push str._sShellopen
lea eax, [ebp + 0x198]
push 0x104
push eax
call fcn.0040460c
mov eax, dword [ebp + 0x5b8]
add esp, 0x10
add eax, eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push esi
push 2
push str.PackageRelativeExecutable
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4030cb
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x3a0]
push eax
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x402fa1
jmp 0x4030ce
xor esi, esi
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x5a8]
xor ecx, ebp
call fcn.00408a7f
lea esp, [ebp + 0x5ac]
pop ebp
ret
Function at 0x4030f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xc]
push eax
call fcn.0040c590
pop ecx
cmp eax, 8
jae 0x4031b3
push esi
xor esi, esi
lea eax, [ebp - 0x2c]
push esi
push esi
push esi
push esi
push esi
push 0x20
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x403153
mov eax, 0xffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00408a7f
mov esp, ebp
pop ebp
ret 4
push 7
lea eax, [ebp - 0x2c]
push str.PKBACK
push eax
call fcn.0040379c
add esp, 0xc
test eax, eax
jne 0x40313d
mov cl, byte [ebp - 0x2c]
lea eax, [ebp - 0x2c]
jmp 0x40317f
cmp cl, 0x2e
je 0x403183
cmp cl, 0x20
je 0x403183
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x403172
cmp byte [eax], 0
je 0x40313d
mov cl, byte [eax]
cmp cl, 0x30
jb 0x403194
cmp cl, 0x39
jbe 0x4031a8
inc eax
jmp 0x403188
movzx ecx, cl
sub ecx, 0x30
imul esi, esi, 0xa
cmp ecx, 9
ja 0x4031ae
add esi, ecx
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x403197
mov ax, si
jmp 0x403142
push 0x41e
push str.sfxhead.c
call fcn.004044d9
int3

Function at 0x40399d
Capabilities:
Hash data with crc32

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
push esi
push 8
add edx, edx
pop esi
sar edx, 1
mov eax, ecx
xor eax, edx
shr ecx, 1
test al, 1
je 0x4039bb
xor ecx, 0xedb88320
dec esi
test esi, esi
jg 0x4039a9
mov eax, ecx
pop esi
ret 4
Function at 0x40425e
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
sub esp, 0x628
mov eax, dword [0x4241a4]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40439a
push 0x105
mov ebx, 0x4278e0
push ebx
call fcn.004060e4
pop ecx
pop ecx
lea eax, [esp + 8]
mov edi, 0x209
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], edi
push eax
push str.winzip_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x4042f8
lea eax, [esp + 0x420]
push 0x104
push eax
call fcn.00402f27
pop ecx
pop ecx
test eax, eax
je 0x40439a
push ebx
lea eax, [esp + 0x424]
push eax
push str.WinZipUWPHelper.exe_RunExe20083F0D_D8B0_49E2_B454_D6DA05DFFB81_s20083F0D_D8B0_49E2_B454_D6DA05DFFB81__s_
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0040460c
add esp, 0x14
jmp 0x404348
cmp word [esp + 0xc], 0
push esi
lea esi, [esp + 0x10]
je 0x404325
push ebp
xor ebp, ebp
push 4
push str.___1
push esi
call fcn.0040c308
add esp, 0xc
test eax, eax
je 0x404324
add esi, 2
cmp word [esi], bp
jne 0x404308
pop ebp
lea ecx, [esp + 0x10]
mov eax, esi
sub eax, ecx
add eax, 2
push ebx
sar eax, 1
sub edi, eax
lea eax, [esi + 2]
push str.__s_
push edi
push eax
call fcn.0040460c
add esp, 0x10
pop esi
mov eax, dword [0x424040]
test eax, 0x1000
je 0x40437e
test eax, 0x8000
jne 0x40437e
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x7a
pop ecx
push 0x69
lea eax, [esp + eax*2 + 8]
mov word [eax], cx
pop ecx
mov word [eax + 2], cx
push 0x70
pop ecx
mov word [eax + 4], cx
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push 0x41c554
push eax
call fcn.00404628
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x4043c0
push 0
push 0x7d0
call fcn.00403817
push eax
push 0x40e
call fcn.00403817
push eax
push dword [0x427358]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [esp + 0x62c]
pop edi
pop ebx
xor ecx, esp
call fcn.00408a7f
add esp, 0x628
ret
Function at 0x4044d9
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x11c]
sub esp, 0x19c
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp + 0x118], eax
mov eax, dword [0x424b48]
mov ecx, eax
mov edx, dword [ebp + 0x124]
inc eax
mov dword [0x424b48], eax
push esi
test ecx, ecx
je 0x404514
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x128]
push edx
push 0x7d4
call fcn.00403817
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x30
push 0x7d0
call fcn.00403817
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x427358]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0x20
push 2
push 0
push 1
push 0x40000000
push str.WZSFX32.RPT
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40450c
push 0x41c5bc
lea eax, [ebp - 0x7c]
push 0x191
push eax
call fcn.0040c51d
add esp, 0xc
lea eax, [ebp - 0x80]
push 0
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040c590
pop ecx
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00403c1a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.WZSFX32.RPT
push 0x7d1
call fcn.00403817
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x30
push 0x7d0
call fcn.00403817
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [0x427358]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40450c
Function at 0x404628
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xfe8
mov eax, dword [0x4241a4]
xor eax, esp
mov dword [esp + 0xfe4], eax
push ebx
mov ebx, dword [esp + 0xff0]
lea eax, [esp + 0xa20]
push ebp
mov ebp, dword [esp + 0xffc]
push esi
mov esi, dword [esp + 0xffc]
push edi
push ebx
push 0x2e3
push eax
call fcn.0040be2c
xor edi, edi
add esp, 0xc
cmp word [esi], di
je 0x40469f
push 0x41c308
lea eax, [esp + 0xa30]
push 0x2e3
push eax
call fcn.0040be2c
push esi
lea eax, [esp + 0xa3c]
push 0x2e3
push eax
call fcn.0040bdb7
add esp, 0x18
cmp ebp, 0xffffffff
jne 0x4046f7
push 0x10
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004037e9
push 0x44
pop edi
push edi
xor ecx, ecx
lea eax, [esp + 0x30]
push ecx
push eax
call fcn.004037e9
add esp, 0x18
mov dword [esp + 0x20], edi
lea eax, [esp + 0x10]
xor edi, edi
push eax
lea eax, [esp + 0x24]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [esp + 0xa4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4046f7
mov eax, dword [esp + 0x10]
jmp 0x40482f
lea eax, [esp + 0x464]
push eax
push edi
push ebx
call dword [sym.imp.SHELL32.dll_FindExecutableW]
mov edi, eax
cmp edi, 0x1f
jne 0x40476e
mov ebp, 0x100
lea eax, [esp + 0x64]
push ebp
push eax
push 0xffffffffffffffff
push 0x427
call fcn.00403817
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edi, edi
push eax
push edi
push edi
call esi
push ebx
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x46c]
push 0x2e3
push eax
call fcn.0040460c
add esp, 0x10
lea eax, [esp + 0x264]
push ebp
push eax
push 0xffffffffffffffff
push 0x7d0
call fcn.00403817
push eax
push edi
push edi
call esi
push 0x10
jmp 0x404811
cmp edi, 0x20
jbe 0x4047b4
xor eax, eax
xor ecx, ecx
cmp word [esi], cx
push 1
cmovne eax, esi
push ecx
push eax
mov eax, dword [0x424040]
and eax, 0x20000
neg eax
push ebx
sbb eax, eax
and eax, 0x41c30c
push eax
push dword [0x427358]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
test ebp, ebp
je 0x4047ab
mov dword [ebp], edi
cmp edi, 0x20
jbe 0x4047b4
mov eax, edi
jmp 0x40482f
mov ebp, 0x100
lea eax, [esp + 0x64]
push ebp
push eax
push 0xffffffffffffffff
push 0x400
call fcn.00403817
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
xor eax, eax
push eax
push eax
call esi
push ebx
push edi
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x470]
push 0x2e3
push eax
call fcn.0040460c
add esp, 0x14
lea eax, [esp + 0x264]
push ebp
push eax
push 0xffffffffffffffff
push 0x7d0
call fcn.00403817
push eax
xor ebx, ebx
push ebx
push ebx
call esi
push ebx
lea eax, [esp + 0x268]
push eax
lea eax, [esp + 0x46c]
push eax
push dword [0x427358]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0xff4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00408a7f
add esp, 0xfe8
ret
Function at 0x404a09
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x220
lea ebp, [esp - 4]
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp + 0x220], eax
push 0x140
mov eax, 0x41b0b3
call fcn.00408b37
mov esi, dword [ebp + 0x22c]
lea eax, [ebp + 0x18]
push 0x104
push 0
push eax
call fcn.004037e9
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x404a53
mov eax, dword [esi]
jmp 0x404a55
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineA]
push 0x41c5c0
push eax
lea eax, [ebp + 0x18]
push eax
call ebx
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x404b67
push 0x104
lea eax, [ebp + 0x11c]
push 0
push eax
call fcn.004037e9
add esp, 0xc
test byte [ebp - 0x14c], 0x10
je 0x404b20
lea eax, [ebp - 0x120]
push 0x41c584
push eax
call fcn.0040efc0
pop ecx
pop ecx
test eax, eax
je 0x404b4a
lea eax, [ebp - 0x120]
push 0x41c5c4
push eax
call fcn.0040efc0
pop ecx
pop ecx
test eax, eax
je 0x404b4a
cmp dword [esi + 0x14], 0x10
jb 0x404ade
mov eax, dword [esi]
jmp 0x404ae0
mov eax, esi
lea ecx, [ebp - 0x120]
push ecx
push eax
lea eax, [ebp + 0x11c]
push eax
call ebx
lea eax, [ebp + 0x11c]
push eax
lea ecx, [ebp]
call fcn.0040495a
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
call fcn.00404a09
or dword [ebp - 4], 0xffffffff
pop ecx
push 0
push 1
lea ecx, [ebp]
call fcn.0040556e
jmp 0x404b4a
cmp dword [esi + 0x14], 0x10
jb 0x404b2a
mov eax, dword [esi]
jmp 0x404b2c
mov eax, esi
lea ecx, [ebp - 0x120]
push ecx
push eax
lea eax, [ebp + 0x11c]
push eax
call ebx
lea eax, [ebp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x14c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x404a83
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 0x10
jb 0x404b6f
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x220]
xor ecx, ebp
call fcn.00408a7f
lea esp, [ebp + 0x224]
pop ebp
ret
Function at 0x404b9f
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp + 0xa4], eax
push esi
mov esi, dword [ebp + 0xb0]
cmp dword [esi + 0x14], 0x10
jb 0x404bcb
mov eax, dword [esi]
jmp 0x404bcd
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x404c62
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
push edi
lea eax, [ebp + 0x84]
push 0x41c5c8
push eax
call fcn.00404920
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x404c04
mov eax, dword [esi]
jmp 0x404c06
mov eax, esi
lea ecx, [ebp + 0x84]
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x404c33
inc edi
jmp 0x404be5
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp byte [ebp - 0x80], 0
je 0x404c52
lea eax, [ebp - 0x80]
push eax
call fcn.0040c590
pop ecx
mov edi, eax
push edi
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0040584a
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp + 0xa4]
xor ecx, ebp
pop esi
call fcn.00408a7f
lea esp, [ebp + 0xa8]
pop ebp
ret

Function at 0x404dfe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x103
jb 0x404e32
xor eax, eax
jmp 0x404eab
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x208
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
test eax, eax
je 0x404e7f
cmp byte [ebp - 0x310], 0
jne 0x404e69
xor eax, eax
jmp 0x404e76
lea eax, [ebp - 0x310]
push eax
call fcn.0040c590
pop ecx
push eax
lea eax, [ebp - 0x310]
jmp 0x404ea0
cmp byte [ebp - 0x108], 0
jne 0x404e8c
xor eax, eax
jmp 0x404e99
lea eax, [ebp - 0x108]
push eax
call fcn.0040c590
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.0040584a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00408a7f
mov esp, ebp
pop ebp
ret