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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.004186e0
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x4351a4]
je 0x42aaa4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42aa0d
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x42aa14
cmp ebx, ebx
jne 0x42aa14
xor eax, eax
jmp 0x42aaa7
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x42aa21
mov byte [esi + 0x20], bl
jmp 0x42aa35
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004169b1
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.004169b1
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.004169b1
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x42aa90
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x42aaa4
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42b6a9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x43f350]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, 0x100
cmp esi, eax
ja 0x42b6f8
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x42b6f8
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x42b704
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.00416fcd
leave
ret 8
Function at 0x42c2ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43f350]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x42c339
push dword [ebp + 8]
call fcn.0042e0c6
mov esi, eax
test esi, esi
je 0x42c361
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x42c361
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x433088
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.00416fcd
leave
ret 0xc

Function at 0x42d5c6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x43f350]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x42d624
push 0x434484
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.00417d77
add esp, 0x10
cmp eax, 0xffffffff
je 0x42d638
cmp eax, esi
jae 0x42d638
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x42d63a
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42d5ef
jmp 0x42d63b
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.00416fcd
leave
ret
Function at 0x42d65b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x43f350]
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 0x42d6fd
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 0x42d7ff
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x42d7ad
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocStringLen
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42d800
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 0x42d7a2
cmp dword [ebp - 0x24], 1
jne 0x42d7a2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x434494
push eax
call fcn.00418bc8
add esp, 0xc
cmp eax, 1
jne 0x42d7a2
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 0x42d800
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x42d800
lea ecx, [ebp - 0x18]
push ecx
push 0x42d645
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x42d800
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 0x42d826
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0042d5c6
cmp eax, ebx
pop ecx
pop ecx
jne 0x42d828
inc edi
cmp edi, esi
jl 0x42d80f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00416fcd
leave
ret 4
Function at 0x42d837
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, 0x43e8a8
je 0x42d8f3
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42d8db
mov esi, dword [ebx + 4]
jmp 0x42d8d5
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 0x42d8c5
cmp dword [ebp - 0xc], 4
jne 0x42d8c5
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x42d8bd
or dword [eax + 0x9c], ecx
jmp 0x42d8c5
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 0x42d889
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x42d86c
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x42dce1
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4311d9
call fcn.004186b4
sub esp, 0x11c
mov eax, dword [0x43f350]
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 0x42ddda
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 0x42ddae
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040b6a0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0042dce1
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00405a50
test bl, bl
jne 0x42ddae
or dword [ebp - 4], 0xffffffff
jmp 0x42dd1f
cmp esi, 0x103
je 0x42ddbe
cmp esi, 0x3f2
jne 0x42ddce
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.00416fcd
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42e6ae
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 0x42e6e3
cmp edi, dword [esi + 0xc]
jge 0x42e6e3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e6e3
cmp edi, dword [eax + 8]
jge 0x42e6e3
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x42e6e5
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 0x42e7e9
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 0x42e81d
jmp fcn.0042398f
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x42e88e
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 0x42e987
cmp eax, dword [edi + 0xc]
jge 0x42e987
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x42e8df
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x42e970
cmp dword [ebp + 0xc], ebx
je 0x42e970
jmp 0x42e909
push 0x10
call fcn.0042e57a
cmp eax, ebx
je 0x42e8f5
mov ecx, eax
call fcn.0042e7e0
mov esi, eax
jmp 0x42e8f7
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 0x42e920
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x42e930
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 0x42e942
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042398f
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.004186e0
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 0x42e982
cmp ecx, dword [esi + 8]
jge 0x42e982
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x42e988
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42ea46
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 0x42ea74
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42ea92
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042e9b0
jmp 0x42ea92
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42ea92
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042e9b0
test edi, edi
mov eax, edi
jne 0x42ea7c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44afd4]
test ecx, ecx
je 0x42eb45
jmp 0x42ea45
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x46376d41
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x77c56ac3
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10139632
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
push ebx
push edx
add esp, 4
call 0x10139632
add byte [ebp + 0x39], al
xor eax, 0x473f4641
inc eax
xor eax, dword [ebx - 0x16a4fb3c]
add al, byte cs:[eax]
add bh, al
test dword [eax - 0xf], esp
invalid

Function at 0x1013983e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub edx, 0x5fff
pop edx
push esi
and esi, 0x14469
or esi, 0xdacb
pop esi
mov ecx, dword [ebp - 0x5cc]
mov dword [ebp - 0xc20], ecx
jmp 0x101398a5
Function at 0x1013ace3
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x8a0]
add eax, 1
mov dword [ebp - 0x8a0], eax
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8a0]
cmp edx, dword [ecx + 0x18]
jae 0x1013adbb
mov eax, dword [ebp - 0x8a0]
mov ecx, dword [ebp - 0x2710]
mov edx, dword [ebp - 0x3d4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x8a4], edx
mov eax, dword [ebp - 0x8a0]
mov ecx, dword [ebp - 0x2714]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x2718]
mov ecx, dword [ebp - 0x3d4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1f90], ecx
mov dword [ebp - 0x1e4], 0
jmp 0x1013ac1f
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x8a4]
add eax, dword [ebp - 0x1e4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1013acd1
mov edx, dword [ebp - 0x1e4]
movsx eax, byte [ebp + edx - 0x9d8]
test eax, eax
je 0x1013acd1
push eax
push esi
add esp, 4
xor eax, 0x9a62
add eax, 0x10dc2
pop eax
push edi
push ecx
add esp, 4
jmp 0x1013ac69
pop edi
push ecx
xor ecx, 0x6e83
add ecx, 0x57ab
sub ecx, 0x5620
pop ecx
mov ecx, dword [ebp - 0x8a4]
add ecx, dword [ebp - 0x1e4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1e4]
movsx ecx, byte [ebp + eax - 0x9d8]
cmp edx, ecx
je 0x1013acc3
mov edx, dword [ebp - 0x8a4]
add edx, dword [ebp - 0x1e4]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1e4]
movsx edx, byte [ebp + ecx - 0x9d8]
cmp eax, edx
jne 0x1013acca
jmp 0x1013ac10
jmp 0x1013acd1
push ecx
push ebx
add esp, 4
call fcn.1013ace3
add byte [ebp + 0x3b], al
inc esp
aaa
inc ebp
add esp, 4
pop ecx
push edi
push edi
add esp, 4
or edi, 0x4082
jmp 0x1013acf7
or edi, 0x6156
jmp 0x1013ad02
pop edi
mov eax, dword [ebp - 0x8a4]
add eax, dword [ebp - 0x1e4]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1e4]
movsx eax, byte [ebp + edx - 0x9d8]
cmp ecx, eax
jne 0x1013ad30
mov dword [ebp - 0xed0], 0
jmp 0x1013ad9f
push edx
push edi
add esp, 4
and edx, 0xba50
add edx, 0x8d9a
call 0x1013ad50
add byte [eax + 0x37], al
inc edx
inc ecx
dec edx
cmp dword [ebx], edi
cmp al, byte [edx - 0x7d]
les eax, [ecx + eax*4]
ljmp 0x525a
cmp dword [ebp - 0xed0], 0
jne 0x1013adb6
mov edx, dword [ebp - 0x1f90]
mov dword [ebp - 0x5dc], edx
jmp 0x1013adc7
jmp 0x1013aba0
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x5dc], eax
mov ecx, dword [ebp - 0x5dc]
mov dword [ebp - 0x8d4], ecx
Function at 0x1013ad50
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x8a0]
add eax, 1
mov dword [ebp - 0x8a0], eax
mov ecx, dword [ebp - 0x89c]
mov edx, dword [ebp - 0x8a0]
cmp edx, dword [ecx + 0x18]
jae 0x1013adbb
mov eax, dword [ebp - 0x8a0]
mov ecx, dword [ebp - 0x2710]
mov edx, dword [ebp - 0x3d4]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x8a4], edx
mov eax, dword [ebp - 0x8a0]
mov ecx, dword [ebp - 0x2714]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x2718]
mov ecx, dword [ebp - 0x3d4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1f90], ecx
mov dword [ebp - 0x1e4], 0
jmp 0x1013ac1f
mov edx, dword [ebp - 0x1e4]
add edx, 1
mov dword [ebp - 0x1e4], edx
mov eax, dword [ebp - 0x8a4]
add eax, dword [ebp - 0x1e4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x1013acd1
mov edx, dword [ebp - 0x1e4]
movsx eax, byte [ebp + edx - 0x9d8]
test eax, eax
je 0x1013acd1
push eax
push esi
add esp, 4
xor eax, 0x9a62
add eax, 0x10dc2
pop eax
push edi
push ecx
add esp, 4
jmp 0x1013ac69
pop edi
push ecx
xor ecx, 0x6e83
add ecx, 0x57ab
sub ecx, 0x5620
pop ecx
mov ecx, dword [ebp - 0x8a4]
add ecx, dword [ebp - 0x1e4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1e4]
movsx ecx, byte [ebp + eax - 0x9d8]
cmp edx, ecx
je 0x1013acc3
mov edx, dword [ebp - 0x8a4]
add edx, dword [ebp - 0x1e4]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1e4]
movsx edx, byte [ebp + ecx - 0x9d8]
cmp eax, edx
jne 0x1013acca
jmp 0x1013ac10
jmp 0x1013acd1
push ecx
push ebx
add esp, 4
call fcn.1013ace3
add byte [ebp + 0x3b], al
inc esp
aaa
inc ebp
add esp, 4
pop ecx
push edi
push edi
add esp, 4
or edi, 0x4082
jmp 0x1013acf7
or edi, 0x6156
jmp 0x1013ad02
pop edi
mov eax, dword [ebp - 0x8a4]
add eax, dword [ebp - 0x1e4]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x1e4]
movsx eax, byte [ebp + edx - 0x9d8]
cmp ecx, eax
jne 0x1013ad30
mov dword [ebp - 0xed0], 0
jmp 0x1013ad9f
push edx
push edi
add esp, 4
and edx, 0xba50
add edx, 0x8d9a
call 0x1013ad50
add byte [eax + 0x37], al
inc edx
inc ecx
dec edx
cmp dword [ebx], edi
cmp al, byte [edx - 0x7d]
les eax, [ecx + eax*4]
ljmp 0x525a
cmp dword [ebp - 0xed0], 0
jne 0x1013adb6
mov edx, dword [ebp - 0x1f90]
mov dword [ebp - 0x5dc], edx
jmp 0x1013adc7
jmp 0x1013aba0
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x5dc], eax
mov ecx, dword [ebp - 0x5dc]
mov dword [ebp - 0x8d4], ecx
Function at 0xb9b290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4f2000]
push edi
jmp 0xb9b2aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb9b2b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9b2a0
mov eax, 1
add ebx, ebx
jne 0xb9b2c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb9b2d4
jne 0xb9b2f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9b2f3
dec eax
add ebx, ebx
jne 0xb9b2e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb9b2b8
add ebx, ebx
jne 0xb9b2ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb9b345
xor ecx, ecx
sub eax, 3
jb 0xb9b30b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb9b37a
sar eax, 1
mov ebp, eax
jmp 0xb9b316
add ebx, ebx
jne 0xb9b316
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9b2e4
inc ecx
add ebx, ebx
jne 0xb9b324
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9b2e4
add ebx, ebx
jne 0xb9b331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb9b326
jne 0xb9b342
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb9b326
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb9b364
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb9b356
jmp 0xb9b2a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb9b364
add edi, ecx
jmp 0xb9b2a6
pop esi
mov edi, esi
mov ecx, 0xdad4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb9b382
cmp byte [edi], 0x1e
jne 0xb9b382
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xb9b387
lea edi, [esi + 0x797000]
mov eax, dword [edi]
or eax, eax
je 0xb9b3ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7a1d4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7a1e84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb9b3b4
mov ecx, edi
jns 0xb9b3e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7a1e8c]
or eax, eax
je 0xb9b3f9
mov dword [ebx], eax
add ebx, 4
jmp 0xb9b3d1
call dword [esi + 0x7a1e88]
mov ebp, dword [esi + 0x7a1e90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xb9b433
sub esp, 0xffffff80
jmp 0x5c6b71