joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d265
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor ebx, ebx
push 0x4456dc
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43d307
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x2c], ecx
call esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 4
xor ebx, ebx
jmp 0x43d409
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x43d3b7
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43d40a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d3ac
cmp dword [ebp - 0x34], 1
jne 0x43d3ac
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push 0x448fec
push eax
call fcn.004265e9
add esp, 0xc
cmp eax, 1
jne 0x43d3ac
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
push 2
mov dword [ebp - 0x44], eax
pop esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43d40a
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x43d40a
lea ecx, [ebp - 0x28]
push ecx
push 0x43d24f
push 1
push 0x10
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp word [ebp - 0x28], bx
je 0x43d40a
movzx eax, word [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
mov dword [ebp - 0x44], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x48], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x43d430
push dword [ebp + edi*4 - 0x48]
push dword [ebp + 8]
call fcn.0043d1d0
cmp eax, ebx
pop ecx
pop ecx
jne 0x43d432
inc edi
cmp edi, esi
jl 0x43d419
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00423492
leave
ret 4
Function at 0x43d441
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x4548bc
je 0x43d4fd
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43d4e5
mov esi, dword [ebx + 4]
jmp 0x43d4df
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d4cf
cmp dword [ebp - 0xc], 4
jne 0x43d4cf
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x43d4c7
or dword [eax + 0x9c], ecx
jmp 0x43d4cf
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x43d493
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x43d476
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x43d8b9
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x441c2c
call fcn.0042602c
sub esp, 0x220
mov eax, dword [0x4551e4]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x228]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x43d9b2
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x43d986
and dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.00403ca0
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.0043d8b9
mov ecx, dword [ebp - 0x224]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401000
test bl, bl
jne 0x43d986
or dword [ebp - 4], 0xffffffff
jmp 0x43d8f7
cmp esi, 0x103
je 0x43d996
cmp esi, 0x3f2
jne 0x43d9a6
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00423492
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43df36
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x43df6b
cmp edi, dword [esi + 0xc]
jge 0x43df6b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43df6b
cmp edi, dword [eax + 8]
jge 0x43df6b
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x43df6d
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x43e071
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x43e0a5
jmp fcn.00432782
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x43e116
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x43e20f
cmp eax, dword [edi + 0xc]
jge 0x43e20f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x43e167
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x43e1f8
cmp dword [ebp + 0xc], ebx
je 0x43e1f8
jmp 0x43e191
push 0x10
call fcn.0043de02
cmp eax, ebx
je 0x43e17d
mov ecx, eax
call fcn.0043e068
mov esi, eax
jmp 0x43e17f
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x43e1a8
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x43e1b8
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x43e1ca
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00432782
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00425a50
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x43e20a
cmp ecx, dword [esi + 8]
jge 0x43e20a
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x43e210
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x43e2cf
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43e2fd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43e31b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043e239
jmp 0x43e31b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43e31b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043e239
test edi, edi
mov eax, edi
jne 0x43e305
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x458964]
test ecx, ecx
je 0x43e3ce
jmp 0x43e2ce
ret 8
Function at 0x404710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a33ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f0100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.004638d2
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x4047c1
push eax
push esi
call fcn.00467663
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00463c5a
int3
Function at 0x408ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a42ee
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x4f0100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x50], eax
mov edi, ecx
mov dword [ebp - 0x4c], 0
mov ecx, eax
mov esi, dword [eax]
push dword [esi + 4]
push eax
call fcn.0041c470
mov eax, dword [ebp - 0x50]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [eax + 4], 0
movzx eax, word [edi]
push 0x4d80d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x408d4f
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x408d4f
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x408d4f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x408d4f
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.0041cd80
mov dword [ebp - 4], 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x58], esp
mov dword [ebp - 0x54], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 2
push 0
push 1
mov byte [ebp - 4], 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.0041b860
add esp, 0x30
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x28]
push eax
call fcn.00423f30
mov edi, dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], 1
cmp edi, eax
je 0x408cfd
mov esi, dword [edi]
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.0041c470
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x48]
mov ecx, dword [edi]
mov dword [edi], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [edi + 4], eax
mov dword [ebp - 0x44], 0
mov eax, 1
mov dword [ebp - 0x4c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.0041c470
push 0x40
push dword [ebp - 0x48]
call fcn.0047ba56
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 0x28]
call fcn.00418270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00416c70
mov al, 1
jmp 0x408d51
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047b4e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40b260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5066
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4f0100]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
cmp dword [ebx + 0x24], 0
je 0x40b335
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
push 0x28
call fcn.0047b7d5
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x40b2e5
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 1
lea ebx, [esi + 4]
push ebx
push 0
push edi
push 0x42c1b0
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 2
call fcn.0048414a
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x40b36a
mov ecx, 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ecx
and ecx, 0xfffffffd
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
or ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x40b34a
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
mov eax, esi
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.0047b4e2
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [ebx], 0
call fcn.00463a40
int3
Function at 0x40b380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a50f9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f0100]
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 eax, ecx
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
cmp dword [eax + 0x4c], 0
je 0x40b463
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
push 0x30
call fcn.0047b7d5
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 2
lea ebx, [edi + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], ebx
mov dword [edi], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x40b413
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 1
lea ebx, [esi + 4]
push ebx
push 0
push edi
push 0x42c280
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 2
call fcn.0048414a
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x40b498
mov ecx, 2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ecx
and ecx, 0xfffffffd
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
or ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x40b478
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
mov eax, esi
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.0047b4e2
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [ebx], 0
call fcn.00463a40
int3
Function at 0x40ff70
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5cee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4f0100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea ecx, [edi + 0xc4]
call fcn.00416820
mov byte [ebp - 4], 1
lea ecx, [edi + 0xac]
call fcn.00416820
mov byte [ebp - 4], 0
lea esi, [edi + 0x2c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [esi + 0x60]
call fcn.00416820
mov byte [ebp - 4], 6
lea ecx, [esi + 0x48]
call fcn.00416820
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.00416820
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
call fcn.00416820
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00416820
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 9
lea ecx, [edi + 0x10]
call fcn.00416820
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.004495a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4129a2
jl 0x412995
test ecx, ecx
jne 0x4129a2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x412a7f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4129d2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x4129d4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x412a28
jg 0x4129e5
test esi, esi
je 0x412a28
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x4129f9
jl 0x4129f3
cmp ecx, esi
jae 0x4129f9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.0047ce50
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x412a4c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x412a68
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x4129b7
jl 0x412a68
test ecx, ecx
jne 0x4129b7
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x412ac3
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x412ac3
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.0047ce50
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x412b2c
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x412ae9
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x412b17
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0048ae0c
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x412b2c
cmp edi, eax
ja 0x412af5
test edi, edi
je 0x412b2c
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0048ae0c
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6190
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4f0100]
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 edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
cmp dword [ebp + 0xc], 1
lea esi, [edx + 8]
mov dword [ebp - 0x14], eax
lea edi, [edx + 0x14]
sete al
mov dword [edx + 0xc], ebx
mov byte [edx + 0x48], al
lea ecx, [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov byte [edx + 0x3d], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
test ebx, ebx
je 0x416349
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push ebx
call fcn.004851e8
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x41634c
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4c], ebx
mov eax, dword [0x6747fc]
mov ecx, dword [0x674800]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
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.0047b4e2
mov esp, ebp
pop ebp
ret 8