joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401045
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x633b80
call fcn.00401c14
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.00401c14
mov ecx, esi
call fcn.00401cd2
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret

Function at 0x4018f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, edx
mov edi, ecx
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.005aecd0
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, 0x80000002
sub ecx, esi
push eax
push 0x20219
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x4019f1
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0
test esi, esi
jne 0x4019f1
mov esi, dword [ebp + 0xc]
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.00401b42
mov ecx, esi
call fcn.00401cd2
push 0x5c
push eax
call fcn.005b051c
add esp, 8
test eax, eax
je 0x4019ef
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401854
test al, al
je 0x4019ef
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4019e0
push edi
call fcn.00401b42
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00401a09
mov ebx, eax
jmp 0x4019f1
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.0058ac9d
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401a09
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x633dbc]
cmp dword [ecx + eax], edx
ja 0x401a27
jb 0x401a32
add eax, 4
cmp eax, 0x10
jne 0x401a12
push esi
call fcn.00401045
add esp, 4
jmp 0x401a52
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.00401cd2
push eax
call edi
push 0x633e1e
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x4020fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x40216d
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402187
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.004021ae
add esp, 8
test al, al
je 0x402198
push 0xa
push 0
push dword [esi]
call fcn.005c3592
add esp, 0xc
jmp 0x40218a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.004021ae
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [ebx], ecx
mov bl, 1
jmp 0x40219a
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4021ae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov esi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea edi, [ebp - 0x218]
push 0x208
push ebx
push edi
call fcn.005aecd0
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push edi
push ebx
push 2
push esi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x402225
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.00401b42
mov ecx, edi
call fcn.00401cd2
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4097f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee3de
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 0
push 2
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push 0x6439c0
mov word [esi], ax
call fcn.004059e0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
je 0x40987c
cmp ax, 6
jne 0x40988a
push 2
push 0x6439c8
mov ecx, esi
call fcn.004059e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
Function at 0x40e180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee830
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x675f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.004551c5
mov esi, eax
add esp, 4
test esi, esi
je 0x40e1e0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0059dbc1
add esp, 4
mov dword [esi + 4], eax
jmp 0x40e1e2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411540
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [0x67d020]
mov esi, 1
mov edi, eax
cmp dword [ebp - 8], esi
jle 0x4115bc
nop word [eax + eax]
push dword [edi + esi*4]
push str.RESUMEDOWNLOADING
call fcn.005b212e
add esp, 8
test eax, eax
je 0x4115b7
push dword [edi + esi*4]
push str.RESUMEINSTALLING
call fcn.005b212e
add esp, 8
test eax, eax
je 0x4115b0
inc esi
cmp esi, dword [ebp - 8]
jl 0x411580
jmp 0x4115bc
mov ebx, 2
jmp 0x4115bc
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
Function at 0x424390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ee830
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x675f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004551c5
mov esi, eax
add esp, 4
test esi, esi
je 0x4243f0
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0059dbc1
add esp, 4
mov dword [esi + 4], eax
jmp 0x4243f2
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429f30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f096c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
mov eax, dword [0x675f64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x642120
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004059e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 4
xor eax, eax
mov dword [ebp - 0x40], 0
push str.WNZP
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004059e0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004350f0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004336b0
test al, al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
sete byte [ebp - 0xd]
cmp edx, 8
jb 0x42a012
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a157
push edx
push ecx
call fcn.0058acab
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x42a063
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a157
push edx
push ecx
call fcn.0058acab
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42a0a4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a09a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a157
push edx
push ecx
call fcn.0058acab
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0xd], al
jne 0x42a107
push str.CorelStubFramework
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42a119
push 0
push str.HTMLUI
call dword [0x67d06c]
mov esi, eax
test esi, esi
je 0x42a107
push esi
call dword [0x67d21c]
push esi
call dword [0x67d248]
test eax, eax
je 0x42a107
push 9
push esi
call dword [0x67d2d8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x18
call fcn.004551c5
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x42a107
sub esp, 0x10
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
push esi
call fcn.00428170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
int3
Function at 0x42a3c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eeb66
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
test edi, edi
je 0x42a3fb
mov esi, dword [edi + 4]
jmp 0x42a3fd
xor esi, esi
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xe8]
cmp eax, dword [esi + 0x18]
jne 0x42a46c
push 0xf
xor eax, eax
mov dword [ebp - 0x48], 0
push str.selfupdate_code
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.004059e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ebx, 1
lea edx, [ebp - 0x48]
push eax
mov ecx, esi
mov dword [ebp - 0x30], ebx
call fcn.00434a50
add esp, 4
mov byte [ebp - 0x29], bl
test al, al
jne 0x42a470
mov byte [ebp - 0x29], 0
test bl, 1
je 0x42a4af
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x42a4af
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a4a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a54c
push edx
push ecx
call fcn.0058acab
add esp, 8
cmp byte [ebp - 0x29], 0
je 0x42a4cf
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005c22af
add esp, 4
mov dword [esi + 0xe8], eax
mov edx, dword [ebp - 0x14]
mov esi, dword [esi + 0xe8]
cmp edx, 8
jb 0x42a50b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a501
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a551
push edx
push ecx
call fcn.0058acab
add esp, 8
test edi, edi
je 0x42a521
mov ecx, edi
call fcn.004283a0
push 0x18
push edi
call fcn.0058acab
add esp, 8
cmp esi, 0x304a8
jne 0x42a530
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
call fcn.005b1fdf
int3
Function at 0x431ee0
Capabilities:
Copy file
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f1146
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov ecx, esp
push 0x12
push 0x647edc
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004059e0
lea ecx, [ebp - 0x260]
call fcn.00431bc0
mov ecx, esp
mov dword [ebp - 4], 0
push 0xf
push str.parentProcessID
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004059e0
lea ecx, [ebp - 0x230]
call fcn.00431bc0
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [ebp - 0x250], 0
je 0x43205f
cmp dword [ebp - 0x220], 0
je 0x43205f
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x64210c
lea ecx, [ebp - 0x248]
call fcn.00405990
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00434620
lea eax, [ebp - 0x218]
push eax
call dword [0x67d058]
test eax, eax
je 0x43203b
lea ecx, [ebp - 0x248]
call fcn.00405890
push eax
call dword [0x67d058]
test eax, eax
je 0x43203b
lea ecx, [ebp - 0x248]
call fcn.00405890
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x230]
call fcn.00405890
push eax
call fcn.005c3592
add esp, 0xc
mov ecx, eax
call fcn.00431eb0
push 0
lea ecx, [ebp - 0x248]
call fcn.00405890
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0xa
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x260]
call fcn.00405890
push eax
call fcn.005c3592
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x43209b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432091
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43210f
push edx
push ecx
call fcn.0058acab
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x4320f4
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4320ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43210f
push edx
push ecx
call fcn.0058acab
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
int3
Function at 0x432d80
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x24c]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x103
jb 0x432dc0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24c]
push eax
call dword [0x67d040]
push 0x208
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x432e06
lea ecx, [ebp - 0x65c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432df3
lea eax, [ebp - 0x65c]
jmp 0x432e21
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432e10
lea eax, [ebp - 0x24c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004059e0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x432e38
mov eax, dword [esi]
push ebx
mov ebx, dword [0x67d058]
push eax
call ebx
test eax, eax
jne 0x432e58
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
push edi
lea eax, [ebp - 0x44]
push 0x648050
push eax
call fcn.00422970
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x432e7d
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [0x67d050]
lea eax, [ebp - 0x24c]
push eax
call dword [0x67d040]
lea eax, [ebp - 0x24c]
push eax
call ebx
test eax, eax
je 0x432eac
inc edi
jmp 0x432e61
push 0
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x24c]
lea ecx, [edx + 2]
pop edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x432ec5
sub edx, ecx
lea eax, [ebp - 0x24c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.004059e0
mov ecx, dword [ebp - 4]
mov al, 1
pop ebx
xor ecx, ebp
pop esi
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
Function at 0x432f00
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f12e0
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005aecd0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x432f50
mov eax, dword [esi]
mov edi, dword [0x67d050]
push 0x648058
push eax
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x433142
nop dword [eax]
nop dword [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005aecd0
add esp, 0xc
test byte [ebp - 0x670], 0x10
je 0x4330fd
mov ecx, 0x6439f4
lea eax, [ebp - 0x644]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432fe6
test dx, dx
je 0x432fe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432fe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x432fc0
xor eax, eax
jmp 0x432feb
sbb eax, eax
or eax, 1
test eax, eax
je 0x433125
mov eax, 0x647ac4
lea ecx, [ebp - 0x644]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x433026
test dx, dx
je 0x433022
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x433026
add ecx, 4
add eax, 4
test dx, dx
jne 0x433000
xor eax, eax
jmp 0x43302b
sbb eax, eax
or eax, 1
test eax, eax
je 0x433125
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43303d
mov eax, dword [esi]
lea ecx, [ebp - 0x644]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call edi
xor eax, eax
mov dword [ebp - 0x688], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 7
lea edx, [ecx + 2]
mov word [ebp - 0x688], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433080
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x688]
call fcn.004059e0
lea ecx, [ebp - 0x688]
mov dword [ebp - 4], 0
call fcn.00432f00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x674]
cmp edx, 8
jb 0x433125
mov ecx, dword [ebp - 0x688]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4330f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433172
push edx
push ecx
call fcn.0058acab
add esp, 8
jmp 0x433125
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x433107
mov eax, dword [esi]
lea ecx, [ebp - 0x644]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x670]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x432f90
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esi + 0x14], 8
jb 0x43314a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
int3
Function at 0x433570
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f13cd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x675f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [0x67d020]
xor esi, esi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], esi
jle 0x433687
nop dword [eax + eax]
mov edx, dword [eax + esi*4]
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x34], ax
mov eax, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x1c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4335e6
sub eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
sar eax, 1
push eax
push edx
call fcn.004059e0
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x433631
movups xmm0, xmmword [ebp - 0x34]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edi + 4], 0x18
mov word [ebp - 0x34], ax
jmp 0x433640
lea ecx, [ebp - 0x34]
push ecx
push eax
mov ecx, edi
call fcn.00438fe0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x43367a
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4336a9
push edx
push ecx
call fcn.0058acab
add esp, 8
mov eax, dword [ebp - 0x18]
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x4335c0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058ac9d
mov esp, ebp
pop ebp
ret
call fcn.005b1fdf
int3