joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a8e2
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
sub esp, 0x14
and dword [esp], 0
push ebx
push ebp
push esi
push edi
push 4
call fcn.0040cbc2
mov edi, eax
push 4
mov dword [esp + 0x20], edi
call fcn.0040cbc2
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
pop ecx
pop ecx
push 4
push edi
mov ebp, eax
push 3
mov dword [esp + 0x20], ebp
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
movzx eax, ax
push eax
call esi
push 4
push ebp
push 3
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
call esi
push ebp
push edi
mov dword [esp + 0x28], eax
call fcn.00410970
pop ecx
pop ecx
push 0
push 0
push 3
test eax, eax
jne 0x40a981
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
call ebx
mov edi, 0x3ff
and eax, edi
push eax
call esi
mov dword [esp + 0x1c], eax
inc eax
push eax
call fcn.0040cbc2
pop ecx
push dword [esp + 0x1c]
mov ebp, eax
push ebp
push 3
call ebx
and eax, edi
push eax
call esi
cmp dword [esp + 0x20], 0
je 0x40a9d3
jmp 0x40a9a9
call ebx
mov edi, 0x3ff
and eax, edi
push eax
call esi
mov dword [esp + 0x20], eax
inc eax
push eax
call fcn.0040cbc2
pop ecx
push dword [esp + 0x20]
mov ebp, eax
push ebp
push 3
call ebx
and eax, edi
push eax
call esi
push 0x4200e4
push ebp
call fcn.00410970
pop ecx
pop ecx
test eax, eax
je 0x40a9cb
push 0x4200e0
push ebp
call fcn.00410970
pop ecx
pop ecx
test eax, eax
jne 0x40a9d3
mov dword [esp + 0x10], 1
test ebp, ebp
je 0x40a9de
push ebp
call fcn.0040d1b0
pop ecx
cmp dword [esp + 0x14], 0
pop edi
pop esi
pop ebp
pop ebx
je 0x40a9f3
push dword [esp + 4]
call fcn.0040d1b0
pop ecx
cmp dword [esp + 8], 0
je 0x40aa04
push dword [esp + 8]
call fcn.0040d1b0
pop ecx
mov eax, dword [esp]
add esp, 0x14
ret

Function at 0x40b292
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
call fcn.0040116d
test eax, eax
je 0x40b2fd
lea eax, [ebp - 4]
push eax
push 0x2001f
push esi
push str.SOFTWAREINTELDISPLAYIGFXCUITVWizard
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40b2ea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.TVWizardSupported
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], esi
setne al
mov esi, eax
mov eax, esi
pop esi
leave
ret
Function at 0x40c469
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x41e596
call fcn.0040f757
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x14], 0xf
call fcn.0040143e
push 0x1c
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040ef00
add esp, 0xc
push str.igfxcfg.exe
lea ecx, [ebp - 0x2c]
call fcn.00401cb6
push 0x10
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0040ef00
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0040ef00
mov eax, dword [ebp - 0x28]
add esp, 0x18
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x84], esi
jae 0x40c4db
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40c510
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x40]
call esi
mov byte [ebp - 0x2d], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004014ea
mov al, byte [ebp - 0x2d]
call fcn.0040f7a1
ret

Function at 0x40caa7
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x429bd0], 0
push esi
jne 0x40ca1a
call fcn.0040c940
test eax, eax
je 0x40ca5d
mov eax, dword [0x429bd0]
cmp eax, 1
jne 0x40ca3b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40ca5d
pop esi
ret
push eax
call dword [0x429bd8]
test eax, eax
jne 0x40caa5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40ca61
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x429bd0]
call dword [0x429bd8]
mov edi, eax
test edi, edi
je 0x40ca86
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40caa2
mov edi, esi
add esi, 0xff0
push edi
push dword [0x429bd0]
call dword [0x429bd4]
add edi, 0x10
cmp edi, esi
jb 0x40ca8e
mov eax, edi
pop edi
pop esi
ret
jmp 0x40ca07

Function at 0x40ef7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428600]
jne 0x40ef84
repz ret
jmp fcn.004121d1
Function at 0x41959c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00412d51
and dword [ebp - 4], 0
cmp dword [0x42a5ec], 0
mov ebx, eax
jne 0x41964d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4196fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x421d2c
push edi
call esi
test eax, eax
je 0x4196fe
push eax
call fcn.00412cdf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a5ec], eax
call esi
push eax
call fcn.00412cdf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a5f0], eax
call esi
push eax
call fcn.00412cdf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a5f4], eax
call esi
push eax
call fcn.00412cdf
pop ecx
mov dword [0x42a5fc], eax
test eax, eax
je 0x41964d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412cdf
pop ecx
mov dword [0x42a5f8], eax
mov eax, dword [0x42a5f8]
cmp eax, ebx
je 0x4196a5
cmp dword [0x42a5fc], ebx
je 0x4196a5
push eax
call fcn.00412d5a
push dword [0x42a5fc]
mov esi, eax
call fcn.00412d5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4196a5
test edi, edi
je 0x4196a5
call esi
test eax, eax
je 0x41969c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41969c
test byte [ebp - 0xc], 1
jne 0x4196a5
or dword [ebp + 0x10], 0x200000
jmp 0x4196de
mov eax, dword [0x42a5f0]
cmp eax, ebx
je 0x4196de
push eax
call fcn.00412d5a
pop ecx
test eax, eax
je 0x4196de
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4196de
mov eax, dword [0x42a5f4]
cmp eax, ebx
je 0x4196de
push eax
call fcn.00412d5a
pop ecx
test eax, eax
je 0x4196de
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a5ec]
call fcn.00412d5a
pop ecx
test eax, eax
je 0x4196fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x419700
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401650
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [0x404058], 1
mov dword [0x40405c], 1
mov dword [0x404060], 1
mov dword [0x40406c], 1
mov dword [ebp - 8], 0x400000
mov eax, dword [ebp - 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x40169c
xor eax, eax
jmp 0x401750
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0x4550
je 0x4016ba
xor eax, eax
jmp 0x401750
mov edx, dword [ebp - 0xc]
add edx, 0x18
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x10b
je 0x4016e0
cmp dword [ebp - 0x10], 0x20b
je 0x401714
jmp 0x40174e
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0xe
ja 0x4016ed
xor eax, eax
jmp 0x401750
mov eax, 8
imul ecx, eax, 0xe
mov edx, dword [ebp - 4]
cmp dword [edx + ecx + 0x60], 0
je 0x401708
mov dword [ebp - 0x14], 1
jmp 0x40170f
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
jmp 0x401750
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x6c], 0xe
ja 0x401727
xor eax, eax
jmp 0x401750
mov edx, 8
imul eax, edx, 0xe
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax + 0x70], 0
je 0x401742
mov dword [ebp - 0x1c], 1
jmp 0x401749
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
jmp 0x401750
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401bd0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 4], edx
jmp 0x401c10
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 0xc], eax
jae 0x401c3f
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0xc]
jb 0x401c3d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 0xc], ecx
jae 0x401c3d
mov eax, dword [ebp - 4]
jmp 0x401c41
jmp 0x401bfe
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401c50
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x401c70
xor eax, eax
jmp 0x401cab
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
je 0x401c8b
xor eax, eax
jmp 0x401cab
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x10b
je 0x401ca6
xor eax, eax
jmp 0x401cab
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4020f0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x404088], 0
jne 0x402103
jmp 0x40215c
push 0x404070
call sub.kernel32.dll_EnterCriticalSection
mov eax, dword [0x40408c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402152
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call sub.kernel32.dll_TlsGetValue
mov dword [ebp - 8], eax
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x402147
cmp dword [ebp - 8], 0
je 0x402147
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
jmp 0x402115
push 0x404070
call sub.kernel32.dll_LeaveCriticalSection
mov esp, ebp
pop ebp
ret

Function at 0x10010dc
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x1002040
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x100110e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2713
call fcn.01001439
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x10010ac
jmp 0x1001121
cmp al, 0x73
jne 0x1001142
xor ebx, ebx
inc ebx
push esi
push edi
push dword [ebp + 8]
call fcn.01001475
cmp eax, 0xffffffff
jne 0x100111a
mov eax, dword [0x1002004]
cmp dword [edi + eax*4], 0
je 0x1001154
push 0x2714
jmp 0x1001147
push 0x2710
push 2
call fcn.010013ca
pop ecx
pop ecx
push 1
jmp 0x10011d0
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x100117d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001439
jmp 0x1001150
test ebx, ebx
je 0x1001199
lea eax, [ebp - 0x400]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001199
and byte [eax], 0
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011a2
sub eax, edx
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x4044bf
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
mov edx, 0xff
xor eax, dword [0x406e00]
mov ecx, dword [0x406e00]
shr ecx, 8
and eax, edx
mov eax, dword [eax*4 + 0x406e30]
xor eax, ecx
mov dword [0x406e00], eax
and eax, edx
add dword [0x406e04], eax
mov eax, dword [0x406e04]
imul eax, eax, 0x8088405
inc eax
mov ecx, dword [0x406e08]
shr ecx, 8
mov dword [0x406e04], eax
shr eax, 0x18
xor eax, dword [0x406e08]
and eax, edx
mov eax, dword [eax*4 + 0x406e30]
xor eax, ecx
mov dword [0x406e08], eax
ret

Function at 0x4045b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [0x4067d8]
mov ebp, esp
sub esp, 0xc
push esi
push edi
push eax
call fcn.00404523
add esp, 4
lea ecx, [ebp - 0xc]
xor edi, edi
push 0xc
push dword [ebp + 8]
push ecx
call section..text
add esp, 0xc
lea esi, [ebp + edi - 0xc]
call fcn.004044a6
inc edi
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.004044bf
add esp, 4
cmp edi, 0xc
jl 0x4045dd
cmp dword [0x4067d4], 0
movzx cx, byte [ebp - 1]
je 0x40461e
mov ax, word [0x407366]
shr ax, 8
cmp ax, cx
je 0x404630
mov eax, 0xffffffff
jmp 0x404632
mov eax, dword [0x40736a]
shr eax, 0x18
cmp ax, cx
mov eax, 0xffffffff
jne 0x404632
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4049e9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437ed9
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x404b0c
push ecx
lea ecx, [esi + 0x18]
call fcn.00424209
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x404b23
push ecx
lea ecx, [esi + 0x24]
call fcn.00424119
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44dcd9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004811c9
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x44ddfc
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d4f9
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44de13
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d409
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x480ef9
Capabilities:
Check for software breakpoints

Disassembly:
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
xchg edx, eax
das
xor byte [ebp + 0x7c7cbdd4], ah
jl 0x480f0c
pop esp
mov ebx, dword [0xadf86369]
push 0xffffffffffffffd0
pop ebp
das
cmp dword [ecx], ecx
invalid
xchg esi, eax
sbb ch, al
leave
stc
cwde
call 0x8a42a6c
dec eax
lea edi, gs:[esp + edi*2 + 0x5d]
scasd eax, dword es:[edi]
pop ebp
lahf
add byte [edx], cl
push 0xc046df2b
enter 0xffffffffffff8cf9, 0x47
test al, 0xcd
cmp eax, 0xf9b5c88c
call 0x3274d72c
sbb al, 0x48
mov ebp, 0xa758387c
imul edx, dword [eax], 0x6c112419
cwde
sbb cl, 0x9e
loop 0x480eb8
cmpsd dword [esi], dword es:[edi]
cwde
test al, 0x4b
test al, 0xf8
mov eax, 0x2c4cbdb0
inc ebx
js 0x480f71
sbb eax, 0x38d9b94c
sbb al, 0x3c
stc
xchg ebx, eax
push 0xc2ac89f1
cmp bl, bh
invalid
mov edx, ebx
add byte [0xfc0c2c45], bl
mov esp, gs
mov byte [ecx + 0x7368ccac], ch
sbb edi, dword [esp + ebx*2 + 0x6ded2df0]
jl 0x480fa6
insb byte es:[edi], dx
or cl, byte [ecx + 0xf2818b9]
fsubr st(2)
sti
or eax, 0xa8c7aa39
ret
fldcw word [ecx]
sub byte [eax - 0x53], bl
dec eax
sbb byte [edx - 0x173b5493], cl
insd dword es:[edi], dx
rcr byte [edx + ebp*8 - 0x27571c74], 1
stosb byte es:[edi], al
enter 0x4398, 0xffffffffffffff98
les edi, [edi]
adc ah, byte [ecx - 0x2c]
sbb al, 0x39
pop eax
popal
xchg esi, eax
pop ds
sub cl, byte [edx*2 - 0x52c18247]
mov esi, 0xb9bcfbac
into
cld
cld
xor ch, byte [edx - 0x27b6672d]
xchg edx, eax
xor edx, ebx
ret 0x8f46
Function at 0x4e04b9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005139a9
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4e05dc
push ecx
lea ecx, [esi + 0x18]
call fcn.004ffcd9
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4e05f3
push ecx
lea ecx, [esi + 0x24]
call fcn.004ffbe9
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x529be9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055d0d9
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x529d0c
push ecx
lea ecx, [esi + 0x18]
call fcn.00549409
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529d23
push ecx
lea ecx, [esi + 0x24]
call int.00549319
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret