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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569629
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x60036c]
cmp eax, dword [ecx + 4]
jle 0x4baa43
push 0x60036c
call fcn.0052b4f8
add esp, 4
cmp dword [0x60036c], 0xffffffff
jne 0x4baa43
mov dword [ebp - 4], 0
call fcn.004def10
push 0x571ab0
call fcn.0052baad
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x60036c
call fcn.0052b4a7
add esp, 4
mov edx, 0x600494
lea ecx, [ebp - 0x28]
call fcn.00419370
push 0xc8
lea eax, [ebp - 0x2f4]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x2f8], 0
call fcn.0052dd20
add esp, 0xc
lea eax, [ebp - 0x22c]
push 0x1fe
push 0
push eax
call fcn.0052dd20
add esp, 0xc
call fcn.0041f660
lea eax, [ebp - 0x2f8]
push eax
push ecx
call fcn.00426680
test al, al
je 0x4baacf
lea ecx, [ebp - 0x22c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4baab0
sub ecx, edx
lea eax, [ebp - 0x22c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004198f0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4bab15
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
call fcn.004179b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret

Function at 0x4bab40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x60036c]
cmp eax, dword [ecx + 4]
jle 0x4babc0
push 0x60036c
call fcn.0052b4f8
add esp, 4
cmp dword [0x60036c], 0xffffffff
jne 0x4babc0
mov dword [ebp - 4], 0
call fcn.004def10
push 0x571ab0
call fcn.0052baad
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x60036c
call fcn.0052b4a7
add esp, 4
mov edx, 0x6004c4
lea ecx, [ebp - 0x28]
call fcn.00419370
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4bac13
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
call fcn.004179b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret
Function at 0x4dc3e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cbc1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x5ef300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.SOUI::SGradientColor.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x44]
mov dword [esp], 0
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SLayoutSize::constructor_float_]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [esp], 0x42c80000
call dword [sym.imp.soui4.dll_public:_void___thiscall_SOUI::SLayoutSize::constructor_float_]
push eax
lea ecx, [ebx + 0x44]
call dword [sym.imp.soui4.dll_public:_class_SOUI::SLayoutSize____thiscall_SOUI::SLayoutSize::operator_class_SOUI::SLayoutSize_const__]
mov dword [ebx + 0x58], 0x3f000000
mov eax, ebx
mov dword [ebx + 0x54], 0x3f000000
mov dword [ebx + 0x5c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d80c
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x5ef300]
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 dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
movsx edi, ax
shr eax, 0x10
movsx esi, ax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cwde
push 0x10
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
xorps xmm0, xmm0
and eax, 1
mov dword [ebp - 0x24], vtable.CefStructBase_struct_CefMouseEventTraits_.0
mov dword [ebp - 0x30], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4e5c3b
lea eax, [ebp - 0x2c]
push eax
call fcn.004e8800
mov ebx, 1
mov byte [ebp - 0x25], bl
cmp dword [eax], 0
jne 0x4e5c3f
mov byte [ebp - 0x25], 0
test bl, 1
je 0x4e5c66
and ebx, 0xfffffffe
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
test eax, eax
je 0x4e5c62
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
cmp byte [ebp - 0x25], 0
je 0x4e5ce1
test bl, 4
je 0x4e5c7f
lea ecx, [ebp - 0xe4]
and ebx, 0xfffffffb
call fcn.004eb660
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x2c]
push eax
call fcn.004e8800
mov esi, eax
mov byte [ebp - 4], 2
test bl, 8
je 0x4e5ca1
lea ecx, [ebp - 0x194]
call fcn.004eb660
mov ecx, dword [esi]
xor ebx, ebx
mov esi, dword [ebp - 0x30]
test esi, esi
mov eax, dword [ebp - 0x34]
cmovne eax, ebx
mov edx, dword [ecx]
push eax
xor eax, eax
test esi, esi
cmovne eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [edx + 0x8c]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
test eax, eax
je 0x4e5ce1
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
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.0052b3fa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e6bc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xe
push 0x11
and esi, 2
call ebx
mov edi, esi
or edi, 4
and eax, 0x8000
push 0x12
cmove edi, esi
call ebx
mov esi, edi
or esi, 8
and eax, 0x8000
push 0x90
cmove esi, edi
call ebx
test al, 1
je 0x4e6c0c
or esi, 0x100
push 0x14
call ebx
test al, 1
je 0x4e6c17
or esi, 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, 0x84
ja case.0x4e6c2b.14
movzx eax, byte [eax + 0x4e6d08]
jmp dword [eax*4 + 0x4e6ce4]
mov eax, dword [ebp + 0xc]
mov ecx, esi
or ecx, 0x200
and eax, 0x1000000
pop edi
cmove ecx, esi
mov esi, ecx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, esi
or ecx, 0x200
and eax, 0x1000000
pop edi
cmovne ecx, esi
mov esi, ecx
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
or esi, 0x200
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
push 0xa0
call ebx
test eax, 0x8000
jne case.0x4e6c2b.91
push 0xa1
call ebx
test eax, 0x8000
je case.0x4e6c2b.14
or esi, 0x800
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
push 0xa2
call ebx
test eax, 0x8000
jne case.0x4e6c2b.91
push 0xa3
jmp 0x4e6c90
push 0xa4
call ebx
test eax, 0x8000
jne case.0x4e6c2b.91
push 0xa5
jmp 0x4e6c90
or esi, 0x400
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4e6d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
shr ecx, 1
mov eax, ebx
and ecx, 4
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or esi, 2
and al, 4
push 0x12
cmove esi, ecx
call edi
mov ecx, esi
or ecx, 8
and eax, 0x8000
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 0x10
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
push 0x90
cmove ecx, edx
mov esi, ecx
or esi, 0x40
and bl, 2
cmove esi, ecx
call edi
test al, 1
je 0x4e6df7
or esi, 0x100
push 0x14
call edi
test al, 1
je 0x4e6e02
or esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4e80a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dcdc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5ef300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x4e8106
mov dword [edx + 4], 0x5740ec
mov dword [edx + 0xc], 0x5740f4
mov dword [edx + 0x14], 0x5740fc
mov dword [edx + 0x1c], 0x574104
mov dword [edx + 0x24], 0x57410c
mov dword [edx + 0x2c], 0x574114
mov dword [edx + 0x60], vtable.CefBaseRefCounted.0
mov eax, dword [edx + 4]
xorps xmm0, xmm0
mov dword [edx], vtable.CefClient.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 4], vtable.CefClient.1.0
mov eax, dword [edx + 0xc]
mov dword [edx + 8], vtable.CefLifeSpanHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 0xc], vtable.CefLifeSpanHandler.1.0
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], vtable.CefRenderHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 0x14], vtable.CefRenderHandler.1.0
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x18], vtable.CefContextMenuHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 0x1c], vtable.CefContextMenuHandler.1.0
mov eax, dword [edx + 0x24]
mov dword [edx + 0x20], vtable.CefDisplayHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 0x24], vtable.CefDisplayHandler.1.0
mov eax, dword [edx + 0x2c]
mov dword [edx + 0x28], vtable.CefLoadHandler.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 0x2c], vtable.CefLoadHandler.1.0
mov eax, dword [edx + 4]
mov dword [edx], vtable.SOUI::BrowserHandler.0
mov dword [edx + 8], vtable.SOUI::BrowserHandler.1.0
mov dword [edx + 0x10], vtable.SOUI::BrowserHandler.2.0
mov dword [edx + 0x18], vtable.SOUI::BrowserHandler.3.0
mov dword [edx + 0x20], vtable.SOUI::BrowserHandler.4.0
mov dword [edx + 0x28], vtable.SOUI::BrowserHandler.5.0
mov eax, dword [eax + 4]
mov dword [eax + edx + 4], vtable.SOUI::BrowserHandler.6.0
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x5c]
mov dword [ecx + edx], eax
mov eax, edx
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x58], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
movups xmmword [edx + 0x48], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fa3a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f294
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ef300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ecx - 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esi
cmp dword [esi], 0xcc
jb 0x4fa4c3
cmp dword [esi + 0xc8], 0
je 0x4fa4c3
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [eax + 4]
sub edi, dword [eax]
sar edi, 2
test edi, edi
je 0x4fa46f
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052bac2
mov ebx, eax
mov dword [ebp - 4], 0
add esp, 4
test ebx, ebx
je 0x4fa46f
xor esi, esi
test edi, edi
je 0x4fa46c
mov ecx, dword [ebp + 0x10]
lea eax, [esi*4]
mov ecx, dword [ecx]
add ecx, eax
push ecx
mov eax, esp
mov ecx, dword [ecx]
mov dword [eax], ecx
test ecx, ecx
je 0x4fa45c
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
add eax, 4
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
call fcn.004eecb0
mov dword [ebx + esi*4], eax
add esp, 4
inc esi
cmp esi, edi
jb 0x4fa434
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x4fa48c
mov ecx, dword [eax + 4]
add eax, 4
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
call fcn.004eecb0
add esp, 4
push eax
mov eax, dword [esi + 0xc8]
push esi
call eax
mov esi, eax
test ebx, ebx
je 0x4fa4ad
push ebx
call fcn.0052b469
add esp, 4
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004eed70
add esp, 8
mov dword [ebp - 4], 3
jmp 0x4fa4d3
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4fa4ea
mov edx, dword [ecx + 4]
add ecx, 4
mov edx, dword [edx + 4]
add ecx, edx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5180d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push str.Unspecified_error.
call fcn.0050eb10
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.0052dd20
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.0052dd20
add esp, 0xc
mov dx, word [0x573a98]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.0052dd20
add esp, 0xc
push 0x578b74
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0054916b
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.005115b0
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.0054916b
add esp, 0xc
push 0x578b78
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0054916b
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.0054916b
add esp, 0xc
push 0x578b74
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0054916b
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x268]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.00512430
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x220], 0
je 0x518234
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x214], 0
jne 0x518251
push 0x578b80
call fcn.0050eb10
add esp, 4
mov eax, 1
jmp 0x5182a5
cmp dword [ebp + 0xc], 0
je 0x51826c
push 0xffffffffffffffff
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x10], 0
je 0x51827f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
jmp 0x518296
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
push str.Success.
call fcn.0050eb10
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x523f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570f13
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5ef300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.00525660
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x523fbe
mov eax, 1
jmp 0x52400c
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.00510bc0
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0051e960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00510e00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b3fa
mov esp, ebp
pop ebp
ret
Function at 0x524950
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5710c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5ef300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00510c60
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp + 0xc]
call fcn.00512430
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x524a69
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.00512430
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x524a69
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x577ec8
mov edx, dword [ebp - 0x24]
push edx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
and ecx, 0xffff
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
and eax, 0xffff
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
push edx
movzx eax, word [ebp - 0x14]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x1c]
push edx
push str._u._u._u._u
lea eax, [ebp - 0x28]
push eax
call fcn.0051f140
add esp, 0x18
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0051e3c0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00510e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00510e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x524ac0
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5710fb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ef300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00510c60
mov byte [ebp - 4], 1
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.005256a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x524b16
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x5c
lea ecx, [ebp + 8]
call fcn.005256a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x524b41
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0051e960
jmp 0x524b76
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.0051f870
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0051e960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00510e00
push 0
lea ecx, [ebp - 0x14]
call fcn.00512430
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x524bc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x524bc4
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00510e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00510e00
mov eax, dword [ebp - 0x2c]
jmp 0x524c40
lea ecx, [ebp - 0x14]
call fcn.00512430
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
and edx, 0x10
jne 0x524c05
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00510e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00510e00
mov eax, dword [ebp - 0x34]
jmp 0x524c40
cmp dword [ebp - 0x10], 0xffffffff
jne 0x524c0d
jmp 0x524c1b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x524b1c
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00510e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00510e00
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x525780
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0
je 0x525798
mov dword [ebp - 8], 1
jmp 0x52579f
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
jne 0x5257a5
cmp dword [ebp - 0x14], 0
jne 0x5257b9
push 0x80004005
call fcn.0041a0b0
xor edx, edx
jne 0x525789
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x525900
cmp dword [ebp + 8], 0
je 0x525900
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jbe 0x5258ef
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x5258d5
cmp dword [ebp - 4], 2
jbe 0x525826
cmp dword [ebp - 4], 7
je 0x52586b
jmp 0x5258d5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x52584b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x525866
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x525903
jmp 0x5258ed
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x5258bb
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jb 0x5258bb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
jne 0x5258bb
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jbe 0x5258d3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 4]
test ecx, ecx
je 0x5258d3
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + eax], cx
mov eax, 0xd
jmp 0x525903
jmp 0x5258ed
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x525903
jmp 0x525900
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + edx], ax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc