joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fb00
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x545fb8
push 0x4f9070
mov eax, dword fs:[0]
push eax
add esp, 0xfffff7b4
mov eax, dword [0x552a7c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor eax, eax
mov word [ebp - 0x820], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x81e]
push ecx
call fcn.004f7580
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x53016c
push 0x800
lea eax, [ebp - 0x820]
push eax
call fcn.0043a970
add esp, 0x10
push 5
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.Explorer
push 0x53018c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x42fba1
mov eax, 1
jmp 0x42fd30
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [ebp - 0x834]
push edx
push 0x53c578
push 0x15
push 0
push 0x53c5b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x42fbfb
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 0x858], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x858]
jmp 0x42fd30
cmp dword [ebp - 0x834], 0
je 0x42fced
lea eax, [ebp - 0x838]
push eax
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [edx + 0x94]
call ecx
mov edx, dword [ebp - 0x838]
mov dword [ebp - 0x83c], edx
cmp dword [ebp - 0x83c], 0
je 0x42fc57
mov eax, dword [ebp - 0x83c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
mov ecx, dword [ebp - 0x83c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 8]
push edx
call fcn.004f7670
add esp, 4
test eax, eax
jbe 0x42fcd9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x848], eax
xor ecx, ecx
mov word [ebp - 0x830], cx
mov edx, 8
mov word [ebp - 0x850], dx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x830]
push ecx
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x850]
push ecx
mov edx, dword [ebp - 0x834]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x834]
push ecx
mov edx, dword [eax + 0xd0]
call edx
mov dword [ebp - 0x854], eax
mov eax, dword [ebp - 0x848]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x834]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x834]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
jmp 0x42fd2b
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x430310
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x430323
xor eax, eax
jmp 0x430414
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.004f78b2
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x430341
xor eax, eax
jmp 0x430414
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f7670
add esp, 4
mov edx, dword [ebp + 8]
lea eax, [edx + eax*2]
mov dword [ebp - 4], eax
push 0x5c
mov ecx, dword [ebp - 8]
add ecx, 2
push ecx
call fcn.004f78b2
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4303e4
mov edx, dword [ebp - 8]
add edx, 2
cmp edx, dword [ebp - 4]
jae 0x4303e4
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 8]
sar eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0041ba80
push 0
lea ecx, [ebp - 0xc]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4303c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4303c6
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0xc]
call fcn.0041d100
mov eax, dword [ebp - 0x10]
jmp 0x430414
push 0x5c
mov edx, dword [ebp - 8]
add edx, 2
push edx
call fcn.004f78b2
add esp, 8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
call fcn.0041d100
jmp 0x43036a
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43040a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43040a
mov dword [ebp - 0x14], 0
jmp 0x430411
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4307b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x260], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004f7580
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], 0
xor edx, edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x234], 0
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0x5301bc
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x498]
push eax
call fcn.0041bc20
add esp, 0xc
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea ecx, [ebp - 0x498]
call fcn.0041d100
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
je 0x4309b7
mov dword [ebp - 0x490], 0
push 0x228
push 0
lea ecx, [ebp - 0x48c]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x490], 0x22c
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x494], eax
cmp dword [ebp - 0x494], 0
je 0x4309aa
mov ecx, dword [ebp - 0x488]
cmp ecx, dword [ebp - 4]
je 0x43098c
push 0x104
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x488]
push eax
call fcn.0042db90
add esp, 0xc
lea ecx, [ebp - 0x234]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x214]
jne 0x43098c
lea ecx, [ebp + 8]
call fcn.0041d2e0
push eax
lea ecx, [ebp + 8]
call fcn.0041d2b0
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43098c
mov dword [ebp - 0x260], 1
jmp 0x4309aa
lea edx, [ebp - 0x490]
push edx
mov eax, dword [ebp - 0x238]
push eax
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x494], eax
jmp 0x430906
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x49c], edx
lea ecx, [ebp + 8]
call fcn.0041d100
mov eax, dword [ebp - 0x49c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x430d60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea ecx, [ebp - 0x64]
call fcn.0041d080
cmp dword [ebp + 0xc], 0
je 0x430d8f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x530278
lea edx, [ebp - 0x64]
push edx
call fcn.0041e770
add esp, 0x10
jmp 0x430da4
mov eax, dword [ebp + 8]
push eax
push 0x530288
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041e770
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x64]
call fcn.0041d2c0
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0
push 0x40
push 0
lea edx, [ebp - 0x5c]
push edx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x60], 0x44
mov ecx, 5
mov word [ebp - 0x30], cx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x430e5f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0x3e8
jbe 0x430e55
push 0x3e8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x430e55
mov edx, dword [ebp + 0x14]
sub edx, 0x3e8
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.0041d320
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x64]
call fcn.0041d100
mov eax, dword [ebp - 0x68]
mov esp, ebp
pop ebp
ret
Function at 0x431ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528520
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
lea eax, [ebp - 0x1ec]
push eax
call fcn.00438740
add esp, 4
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1ec]
call fcn.0041d100
cmp dword [ebp - 0x18], 0xffffffff
jne 0x431c23
xor eax, eax
jmp 0x431d82
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5302ec
lea eax, [ebp - 0x128]
push eax
call fcn.00438720
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x431d68
cmp dword [ebp - 0x14], 0
je 0x431d68
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.004f9804
add esp, 4
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.004f9804
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x1e8], 0
push 0xa8
push 0
lea edx, [ebp - 0x1e4]
push edx
call fcn.004f7580
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
imul eax, eax, 0x3c
cdq
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00431200
add esp, 0xc
movzx eax, word [ebp - 0x12e]
push eax
movzx ecx, word [ebp - 0x130]
push ecx
movzx edx, word [ebp - 0x132]
push edx
movzx eax, word [ebp - 0x136]
push eax
movzx ecx, word [ebp - 0x138]
push ecx
push 0x530300
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041e770
add esp, 0x1c
mov eax, 1
jmp 0x431d82
xor eax, eax
jmp 0x431d82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x431da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528548
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1dc
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
lea eax, [ebp - 0x1ec]
push eax
call fcn.00438780
add esp, 4
mov ecx, eax
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1ec]
call fcn.0041d100
cmp dword [ebp - 0x18], 0xffffffff
jne 0x431e23
xor eax, eax
jmp 0x431f82
mov byte [ebp - 0x128], 0
push 0x103
push 0
lea ecx, [ebp - 0x127]
push ecx
call fcn.004f7580
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0x104
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Update_time_GMT:
lea eax, [ebp - 0x128]
push eax
call fcn.00438720
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x431f68
cmp dword [ebp - 0x14], 0
je 0x431f68
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
push ecx
call fcn.004f9804
add esp, 4
cdq
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x14]
add edx, 0x10
push edx
call fcn.004f9804
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x1e8], 0
push 0xa8
push 0
lea edx, [ebp - 0x1e4]
push edx
call fcn.004f7580
add esp, 0xc
lea eax, [ebp - 0x1e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov eax, dword [ebp - 0x1e8]
imul eax, eax, 0x3c
cdq
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
sub esi, eax
mov eax, dword [ecx + 4]
sbb eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00431200
add esp, 0xc
movzx eax, word [ebp - 0x12e]
push eax
movzx ecx, word [ebp - 0x130]
push ecx
movzx edx, word [ebp - 0x132]
push edx
movzx eax, word [ebp - 0x136]
push eax
movzx ecx, word [ebp - 0x138]
push ecx
push str._4d__02d__02d__02d:_02d
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041e770
add esp, 0x1c
mov eax, 1
jmp 0x431f82
xor eax, eax
jmp 0x431f82
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x433500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
je 0x43351e
cmp dword [ebp + 0xc], 0
je 0x43351e
cmp dword [ebp + 0x10], 0
je 0x43351e
cmp dword [ebp + 0x14], 0
jne 0x433525
xor eax, eax
jmp 0x4335b2
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 2
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43359f
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43359f
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x4335af
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x433760
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x43377e
cmp dword [ebp + 0xc], 0
je 0x43377e
cmp dword [ebp + 0x10], 0
je 0x43377e
cmp dword [ebp + 0x14], 0
jne 0x433785
xor eax, eax
jmp 0x4338dc
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4337a0
xor eax, eax
jmp 0x4338dc
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f9398
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4337e0
jmp 0x4338c7
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x530b34
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4337ff
jmp 0x4338c7
lea ecx, [ebp - 0x14]
call fcn.0041d080
mov dword [ebp - 0x1c], 0
jmp 0x433819
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jae 0x4338b0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x14]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
and eax, 0xffff
movzx ecx, ax
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x14]
push edx
call fcn.0041e770
add esp, 0x14
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041d2e0
push eax
lea ecx, [ebp - 0x14]
call fcn.0041d2c0
push eax
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4338ab
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.0041d140
jmp 0x433810
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x14]
call fcn.0041d100
xor ecx, ecx
jne 0x4337b6
cmp dword [ebp - 0xc], 0
je 0x4338d9
mov edx, dword [ebp - 0xc]
push edx
call fcn.004f82be
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4338e0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d0a0
push 0x530ba0
lea ecx, [ebp - 0xc]
call fcn.0041d180
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x433948
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0xc]
call fcn.0041d100
mov eax, dword [ebp - 0x270]
jmp 0x433afd
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x433ad9
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x26c]
call fcn.0041d0c0
lea eax, [ebp - 0x234]
push eax
push 0x530bac
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x274]
push edx
call fcn.0041bc20
add esp, 0xc
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0041bc20
add esp, 0xc
lea ecx, [ebp - 0x274]
call fcn.0041d100
push 0x530bb0
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00439380
add esp, 8
movzx edx, al
test edx, edx
je 0x433aaa
push 0x530bb4
lea eax, [ebp - 0x26c]
push eax
call fcn.00439380
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x433aaa
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x433a14
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.004338e0
add esp, 0xc
jmp 0x433aaa
push 0x530bbc
lea eax, [ebp - 0x234]
push eax
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433a8c
push 0x530bc8
lea ecx, [ebp - 0x234]
push ecx
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433a8c
push 0x530bd4
lea edx, [ebp - 0x234]
push edx
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433a8c
push 0x530be0
lea eax, [ebp - 0x234]
push eax
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433a8c
push 0x530bec
lea ecx, [ebp - 0x234]
push ecx
call fcn.0041b370
add esp, 8
test eax, eax
je 0x433aa1
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov dword [ebp - 0x264], 1
jmp 0x433aaa
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x268]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
jmp 0x433959
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x278], ecx
lea ecx, [ebp - 0xc]
call fcn.0041d100
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret
Function at 0x433b10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x552a7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041d0a0
push 0x530bf8
lea ecx, [ebp - 0xc]
call fcn.0041d180
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0xc]
call fcn.0041d2b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x433b78
mov dword [ebp - 0x270], 0
lea ecx, [ebp - 0xc]
call fcn.0041d100
mov eax, dword [ebp - 0x270]
jmp 0x433d52
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x433d2e
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x26c]
call fcn.0041d0c0
lea eax, [ebp - 0x234]
push eax
push 0x530c04
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x274]
push edx
call fcn.0041bc20
add esp, 0xc
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0041bc20
add esp, 0xc
lea ecx, [ebp - 0x274]
call fcn.0041d100
push 0x530c08
lea ecx, [ebp - 0x26c]
push ecx
call fcn.00439380
add esp, 8
movzx edx, al
test edx, edx
je 0x433cff
push 0x530c0c
lea eax, [ebp - 0x26c]
push eax
call fcn.00439380
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x433cff
mov edx, dword [ebp - 0x260]
and edx, 0x10
je 0x433c65
lea eax, [ebp - 0x268]
push eax
call fcn.00433b10
add esp, 4
test eax, eax
je 0x433c60
mov dword [ebp - 0x264], 1
lea ecx, [ebp - 0x268]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
jmp 0x433d2e
jmp 0x433cff
push str..vir
lea ecx, [ebp - 0x234]
push ecx
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433cdd
push str..bak
lea edx, [ebp - 0x234]
push edx
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433cdd
push str..bkup
lea eax, [ebp - 0x234]
push eax
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433cdd
push str..dat
lea ecx, [ebp - 0x234]
push ecx
call fcn.0041b370
add esp, 8
test eax, eax
jne 0x433cdd
push str..vbk
lea edx, [ebp - 0x234]
push edx
call fcn.0041b370
add esp, 8
test eax, eax
je 0x433cff
mov dword [ebp - 0x264], 1
lea ecx, [ebp - 0x268]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
jmp 0x433d2e
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x268]
call fcn.0041d100
lea ecx, [ebp - 0x26c]
call fcn.0041d100
jmp 0x433b89
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0xc]
call fcn.0041d100
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f7567
mov esp, ebp
pop ebp
ret