joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a6a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0047916a
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x47a6e4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x47a6e4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x47a6e8
xor eax, eax
jmp 0x47a765
movzx eax, word [esi + 6]
push ebx
shl eax, 2
push edi
push eax
call fcn.0045d03c
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x47a716
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x47a705
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0047a23a
push edi
mov ebx, eax
call fcn.0045d067
test ebx, ebx
pop ecx
je 0x47a758
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0047a4b4
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0047a59e
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x47a8cd
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x4ba8fc]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x47a92b
push 0x49e610
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0044219c
add esp, 0x10
cmp eax, 0xffffffff
je 0x47a93f
cmp eax, esi
jae 0x47a93f
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x47a941
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x47a8f6
jmp 0x47a942
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0043d1f7
leave
ret
Function at 0x47a962
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4ba8fc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x47aa04
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], 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 - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x47ab06
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x47aab4
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysFreeString
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47ab07
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47aaa9
cmp dword [ebp - 0x24], 1
jne 0x47aaa9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x49e620
push eax
call fcn.00441f8f
add esp, 0xc
cmp eax, 1
jne 0x47aaa9
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], 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 - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x47ab07
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x47ab07
lea ecx, [ebp - 0x18]
push ecx
push 0x47a94c
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x47ab07
movzx eax, word [ebp - 0x18]
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 - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x47ab2d
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0047a8cd
cmp eax, ebx
pop ecx
pop ecx
jne 0x47ab2f
inc edi
cmp edi, esi
jl 0x47ab16
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0043d1f7
leave
ret 4
Function at 0x47ab3e
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, 0x4b9ae8
je 0x47abfa
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47abe2
mov esi, dword [ebx + 4]
jmp 0x47abdc
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_RegQueryValueExA]
test eax, eax
jne 0x47abcc
cmp dword [ebp - 0xc], 4
jne 0x47abcc
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x47abc4
or dword [eax + 0x9c], ecx
jmp 0x47abcc
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 0x47ab90
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x47ab73
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x47b487
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x487168
call fcn.00440554
sub esp, 0x11c
mov eax, dword [0x4ba8fc]
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 - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x47b580
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x47b554
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004073b0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0047b487
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401830
test bl, bl
jne 0x47b554
or dword [ebp - 4], 0xffffffff
jmp 0x47b4c5
cmp esi, 0x103
je 0x47b564
cmp esi, 0x3f2
jne 0x47b574
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
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.0043d1f7
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47b95a
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 0x47b98f
cmp edi, dword [esi + 0xc]
jge 0x47b98f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47b98f
cmp edi, dword [eax + 8]
jge 0x47b98f
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x47b991
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 0x47bb18
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 0x47bb4c
jmp fcn.0045220b
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x47bbbd
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 0x47bcb6
cmp eax, dword [edi + 0xc]
jge 0x47bcb6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x47bc0e
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x47bc9f
cmp dword [ebp + 0xc], ebx
je 0x47bc9f
jmp 0x47bc38
push 0x10
call fcn.0047b826
cmp eax, ebx
je 0x47bc24
mov ecx, eax
call fcn.0047bae5
mov esi, eax
jmp 0x47bc26
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 0x47bc4f
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x47bc5f
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 0x47bc71
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0045220b
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.00440580
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 0x47bcb1
cmp ecx, dword [esi + 8]
jge 0x47bcb1
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x47bcb7
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x47c792
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4ba8fc]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.0043db4d
mov esi, eax
test esi, esi
pop ecx
je 0x47c83a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, esi
je 0x47c830
push edi
mov edi, SysReAllocString
push ebx
push eax
push esi
mov byte [eax], 0
call fcn.00441993
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x47c82e
push 0x105
lea eax, [ebp - 0x10c]
push eax
xor ebx, ebx
push ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x47c808
inc ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x47c82e
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x5c
push esi
call fcn.0043e3b7
test eax, eax
pop ecx
pop ecx
jne 0x47c7c9
pop ebx
pop edi
push esi
call fcn.0043e77e
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.0043d1f7
leave
ret 4
Function at 0x480c25
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 4], eax
and dword [ebp - 4], 1
push edi
mov edi, str.Insertable
je 0x480c8b
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0
mov ebx, 0x492e6c
push ebx
push 1
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x480c65
push eax
push ebx
push 1
push edi
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x480c88
xor esi, esi
cmp dword [ebp - 4], 0
je 0x480c7f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push edi
push dword [ebp + 0xc]
call ebx
push edi
push dword [ebp + 8]
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebp + 0x10]
xor ebx, ebx
test al, 2
je 0x480c96
mov ebx, str.Apartment
test al, 4
je 0x480c9f
mov ebx, str.Free
and eax, 6
cmp al, 6
jne 0x480cab
mov ebx, str.Both
test ebx, ebx
je 0x480d05
lea eax, [ebp + 0x10]
push eax
push 0x20006
push 0
push str.InprocServer32
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x480c67
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
push 1
push 0
push str.ThreadingModel
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x480c67
xor eax, eax
inc eax
jmp 0x480c81
Function at 0x480dde
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x4886de
call fcn.00440554
sub esp, 0x118
mov eax, dword [0x4ba8fc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x118], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0045d1dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x11c], eax
mov edi, SysReAllocString
cmp dword [ebp + 0x18], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x120], ebx
jne 0x480e55
lea eax, [ebp - 0x120]
push eax
push 0x20019
push ebx
push str.CLSID
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 0x124], 1
je 0x480f40
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add dword [ebp + 8], 4
cmp dword [ebp + 0x18], edi
jne 0x480e84
cmp byte [esi], 0
je 0x480f25
push esi
call ebx
push dword [ebp + 0x10]
lea eax, [eax + esi + 1]
push dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.0046c513
push dword [ebp + 0x10]
lea eax, [ebp - 0x11c]
push dword [ebp + 0xc]
push dword [ebp - 0x114]
push eax
call fcn.0046c513
cmp dword [ebp + 0x18], edi
mov eax, dword [ebp - 0x118]
jne 0x480ecd
cmp dword [eax - 0xc], 0
je 0x480f25
cmp dword [ebp + 0x14], 0
jne 0x480eff
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x114], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x480f25
mov eax, dword [ebp - 0x118]
mov esi, dword [ebp - 0x11c]
push esi
mov dword [ebp - 0x114], eax
call ebx
push eax
push esi
push 1
push dword [ebp - 0x114]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
test eax, eax
jne 0x480f34
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
jne 0x480e72
jmp 0x480f40
cmp eax, 5
je 0x480f40
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x120], 0
pop edi
pop esi
pop ebx
je 0x480f58
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.00401830
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x124]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0043d1f7
leave
ret 0x14
Function at 0x2e026a41
Capabilities:
Accept command line arguments

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx ecx, word [eax]
push 2
pop edx
cmp cx, 0x22
jne 0x2e026a65
add eax, edx
movzx ecx, word [eax]
cmp cx, 0x22
je 0x2e026a7b
test cx, cx
jne 0x2e026a53
jmp 0x2e026a85
cmp cx, 0x20
jbe 0x2e026a7d
add eax, edx
cmp word [eax], 0x20
ja 0x2e026a6b
jmp 0x2e026a7d
cmp cx, 0x20
ja 0x2e026a85
add eax, edx
movzx ecx, word [eax]
test cx, cx
jne 0x2e026a75
and dword [0x2e0d16c8], 0
push eax
call fcn.2e036d13
mov ecx, eax
and ecx, 0x60
je 0x2e026a9c
mov eax, ecx
ret
test al, 8
je 0x2e026aa4
push 8
pop eax
ret
push esi
mov esi, 0x1eee
test esi, eax
jne 0x2e026ab2
xor eax, eax
pop esi
ret
xor ecx, ecx
push ebx
xor edx, edx
inc edx
shl edx, cl
test esi, edx
je 0x2e026aca
test eax, edx
je 0x2e026aca
mov ebx, eax
sub ebx, edx
test esi, ebx
jne 0x2e026adb
inc ecx
cmp ecx, 0x20
jb 0x2e026ab5
test al, 4
je 0x2e026add
test eax, 0x100
jne 0x2e026add
xor eax, eax
pop ebx
pop esi
ret
Function at 0x2e02aa3a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.2e02a658

Function at 0x2e02aa43
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x2e0d16c8]
push esi
xor esi, esi
push esi
push esi
push esi
push 6
push eax
mov dword [0x2e0c5adc], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x2e0c5ad8], eax
cmp eax, esi
jne 0x2e02aa69
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [eax]
mov ecx, 0x9c9c
cmp ebx, ecx
je 0x2e02aa79
xor eax, eax
jmp 0x2e02aaec
mov edx, dword [eax + 4]
push edi
mov edi, 0x20001
lea esi, [edi - 1]
cmp edx, esi
je 0x2e02aa91
cmp edx, edi
jne 0x2e02aae9
cmp edx, esi
jne 0x2e02aa95
cmp ebx, ecx
jne 0x2e02aae9
cmp edx, edi
jne 0x2e02aa9d
cmp ebx, ecx
jne 0x2e02aae9
cmp edx, esi
jne 0x2e02aaa5
cmp ebx, ecx
jne 0x2e02aae9
push ecx
push eax
push 0x2e0c5ae4
call fcn.2e06e2ea
xor eax, eax
add esp, 0xc
mov dword [0x2e0c5ae8], esi
cmp dword [0x2e0c5b08], eax
je 0x2e02aae9
cmp dword [0x2e0c5afc], eax
je 0x2e02aae9
cmp dword [0x2e0c5b04], eax
je 0x2e02aae9
cmp dword [0x2e0d16d8], eax
jne 0x2e02aae4
cmp dword [0x2e0c5b0c], eax
je 0x2e02aae9
xor eax, eax
inc eax
jmp 0x2e02aaeb
xor eax, eax
pop edi
pop ebx
pop esi
ret
Function at 0x402000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a6788
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ca5d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4cea4c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cea4c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
push eax
push 0x4b2414
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.004020b0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 8
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00401f00
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402095
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10

Function at 0x410850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8a28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca5d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
mov edi, dword [esi + 0x20]
sub eax, edi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fld qword [esp + 0x30]
fmul st(1), st(0)
fxch st(1)
call fcn.0049ef70
mov ebx, dword [esi + 0x24]
mov ebp, eax
mov eax, dword [esi + 0x34]
sub eax, ebx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
add ebp, edi
fmul st(1)
call fcn.0049ef70
mov ecx, dword [esi + 0x38]
add eax, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x28]
sub ecx, eax
sub ecx, dword [esi + 0x30]
add ecx, edi
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul st(1)
call fcn.0049ef70
mov edx, dword [esi + 0x3c]
sub eax, edi
mov edi, dword [esi + 0x2c]
add eax, dword [esi + 0x28]
sub edx, edi
sub edx, dword [esi + 0x34]
mov dword [esp + 0x1c], eax
add edx, ebx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmulp st(1)
call fcn.0049ef70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
sub eax, ebx
add eax, edi
add eax, ecx
push eax
mov eax, ecx
push eax
lea ecx, [esp + 0x38]
push ebp
lea ebx, [edx + ebp]
push ecx
call fcn.00422f60
add esp, 0x10
mov dword [esp + 0x28], 0
mov edi, dword [eax]
mov esi, dword [esi + 0x1c]
call fcn.00413a10
push edi
push 0x4b23d4
add eax, 0x50
push eax
mov ecx, esi
call fcn.00401f00
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410966
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x410c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a6788
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ca5d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4cea4c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4cea4c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
push eax
push 0x4b29c8
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.004020b0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 8
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00401f00
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10