joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100377e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x2f322f16
push 0x2f41
push 0x102cb898
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0xb
push eax
mov dword [ebp - 0x100], 0x2f1e2f73
mov dword [ebp - 0xfc], 0x2f732f72
mov dword [ebp - 0xf8], 0x2f252f6f
mov dword [ebp - 0xf4], 0x2f2d2f2d
mov dword [ebp - 0xf0], 0x2f41
call fcn.10048e70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10038540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x57495746
push esi
push 0x5725
push 0x102cb950
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0xc
push eax
mov dword [ebp - 0x100], 0x5756574a
mov dword [ebp - 0xfc], 0x57565740
mov dword [ebp - 0xf8], 0x5746574a
mov dword [ebp - 0xf4], 0x5740574e
mov dword [ebp - 0xf0], 0x57255751
call fcn.10048e70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x1003ba90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8494
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x102bd850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0xffffffff
xor eax, eax
mov dword [edx + 0x18], 7
mov dword [edx + 0x14], 0
mov word [edx + 4], ax
mov dword [ebp - 4], eax
mov dword [edx + 0x30], 7
mov dword [edx + 0x2c], eax
mov word [edx + 0x1c], ax
mov byte [ebp - 4], 1
lea ecx, [edx + 0x38]
lea eax, [ecx + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ax, word [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 6
mov dword [ecx + 0xc], 0
mov word [ecx + 0x10], ax
mov dword [ecx + 0x14], 0x201
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov byte [ebp - 4], 4
mov dword [edx + 0x60], 0xffffffff
mov dword [edx + 0x64], connect
mov dword [edx + 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100420e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x600042
push ebx
push esi
push edi
push 1
push 0x102cb980
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0x20
push eax
mov dword [ebp - 0x100], 0x6f006f
mov dword [ebp - 0xfc], 0x75006e
mov dword [ebp - 0xf8], 0x660021
mov dword [ebp - 0xf4], 0x750064
mov dword [ebp - 0xf0], 0x600021
mov dword [ebp - 0xec], 0x650065
mov dword [ebp - 0xe8], 0x640073
mov dword [ebp - 0xe4], 0x720072
mov dword [ebp - 0xe0], 0x6e0021
mov dword [ebp - 0xdc], 0x210067
mov dword [ebp - 0xd8], 0x730071
mov dword [ebp - 0xd4], 0x62006e
mov dword [ebp - 0xd0], 0x21003b
mov dword [ebp - 0xcc], 0x300024
mov dword [ebp - 0xc8], 0x10024
call fcn.10048e70
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10045870
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b99ff
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x102bd850]
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
push edx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x400
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x21c], edx
movq qword [ebp - 0x224], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
lea ecx, [ebp - 0x224]
call fcn.10065a70
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x10045a35
cmp dword [esi], 0
je 0x10045a35
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10097f30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x10045980
call fcn.10045c10
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1003a1d0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.100467b0
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.1003a310
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x234]
call fcn.100706e0
push 0x102bb79c
lea eax, [ebp - 0x234]
push eax
call fcn.1009452f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.10004090
mov byte [ebp - 4], 6
lea edx, [ebp - 0x240]
mov ecx, ebx
call fcn.100457a0
mov dword [ebp - 0x228], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x22c], 8
jb 0x100459c8
push dword [ebp - 0x240]
call fcn.1008e1e9
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x10045a17
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10045a17
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10045a17
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, ebx
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.1008e065
mov esp, ebp
pop ebp
ret
call fcn.10045a70
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1003a1d0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.100467b0
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.1003a310
mov byte [ebp - 4], 3
jmp 0x10045963
Function at 0x10045ee0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b9aa6
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x102bd850]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov eax, dword [0x102bd850]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 0xd8], esi
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0
push eax
movdqu xmmword [esp + 0xe4], xmm0
movdqu xmmword [esp + 0xf4], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0xdc], 0
jne 0x10045f86
xor al, al
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
push esi
push 0
xorps xmm0, xmm0
push 0x400
movq qword [esp + 0xdc], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.10065a70
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x10046039
cmp dword [eax], 0
je 0x10046039
lea ecx, [esp + 0xcc]
mov dword [esp + 0xcc], 0
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 0xcc], 0
sete dl
mov byte [esp + 0xf], dl
mov dword [esp + 0x110], 0xffffffff
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x10046032
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10046032
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x1004602e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dl, byte [esp + 0xf]
mov al, dl
jmp 0x10045f63
call fcn.10046090
push eax
lea ecx, [esp + 0x38]
call fcn.1003a1d0
mov byte [esp + 0x110], 1
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.100467b0
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.1003a310
mov byte [esp + 0x110], 2
lea ecx, [esp + 0x10]
push eax
call fcn.100706e0
push 0x102bb79c
lea eax, [esp + 0x14]
push eax
call fcn.1009452f
int3
Function at 0x10049460
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b9dfa
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x102bd850]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x102bd850]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
cmp dword [esi + 0x14], 8
jb 0x100494ae
mov eax, dword [esi]
jmp 0x100494b0
mov eax, esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x1004950a
call fcn.100496a0
push eax
lea ecx, [esp + 0x38]
call fcn.1003a1d0
mov dword [esp + 0xe8], edi
mov edx, esi
mov ecx, eax
call fcn.1003b420
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.1003a310
mov byte [esp + 0xe8], 1
lea ecx, [esp + 0x10]
push eax
call fcn.100706e0
push 0x102bb79c
lea eax, [esp + 0x14]
push eax
call fcn.1009452f
mov edx, edi
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0xd0]
call fcn.1004bba0
mov dword [esp + 0xe8], 2
cmp dword [esi + 0x14], 8
jb 0x10049538
mov eax, dword [esi]
jmp 0x1004953a
mov eax, esi
push dword [esp + 0xd0]
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1004959b
call fcn.10049860
push eax
lea ecx, [esp + 0x38]
call fcn.1003a1d0
mov byte [esp + 0xe8], 3
mov edx, esi
mov ecx, eax
call fcn.1003b420
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.1003a310
mov byte [esp + 0xe8], 4
lea ecx, [esp + 0x10]
push eax
call fcn.100706e0
push 0x102bb79c
lea eax, [esp + 0x14]
push eax
call fcn.1009452f
lea eax, [esp + 0xd4]
mov dword [esp + 0xd4], 0
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0
push eax
push 0x1029c0a4
push dword [esp + 0xdc]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x10049623
call fcn.10049a10
push eax
lea ecx, [esp + 0x38]
call fcn.1003a1d0
mov byte [esp + 0xe8], 5
mov edx, esi
mov ecx, eax
call fcn.1003b420
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.1003a310
mov byte [esp + 0xe8], 6
lea ecx, [esp + 0x10]
push eax
call fcn.100706e0
push 0x102bb79c
lea eax, [esp + 0x14]
push eax
call fcn.1009452f
mov eax, dword [esp + 0xcc]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
movzx esi, word [eax + 0x10]
movzx edi, word [eax + 0x12]
mov eax, ecx
mov dword [ebx], eax
mov eax, edx
mov dword [ebx + 4], eax
mov eax, esi
mov dword [ebx + 8], eax
mov eax, edi
mov dword [ebx + 0xc], eax
mov dword [esp + 0xe8], 0xffffffff
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x1004966c
push ecx
call fcn.1008ea09
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10049f70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10097f30
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x10049fd2
cmp dword [ebp - 0x118], 2
jb 0x10049fd2
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x1004b820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ba138
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x102bd850]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x102bd850]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x1004b9b3
cmp byte [ebx + 0x45], 0
je 0x1004b9b3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1004b880
xor al, al
jmp 0x1004b9b5
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x1004b8e0
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1004b91b
dec eax
je 0x1004b91f
sub eax, 2
je 0x1004b97d
xor bl, bl
jmp 0x1004b97f
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1004b95e
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1009054f
add esp, 0x10
cmp esi, eax
jne 0x1004b917
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x1004b97d
test esi, esi
jne 0x1004b8e0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.1000add0
jmp 0x1004b8cf
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1004b99a
push dword [esp + 0x18]
call fcn.1008e1e9
add esp, 4
mov dword [esp + 0x2c], 0xf
mov al, bl
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jmp 0x1004b9b5
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x1004e100
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ba718
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x102bd850]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x18], esi
mov ebx, ecx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1004dfc0
mov dword [esp + 0x40], 0
mov edx, eax
mov ecx, ebx
call fcn.100175b0
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x1004e170
push dword [esp + 0x1c]
call fcn.1008e1e9
add esp, 4
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov esi, dword [edi]
cmp esi, edi
je 0x1004e20f
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x10]
lea ebx, [edx + 0x18]
call fcn.100175b0
mov edx, 0x1029b8a0
mov ecx, eax
call fcn.100147d0
mov edx, ebx
mov ecx, eax
call fcn.100175b0
mov edx, 0x1029c1c8
mov ecx, eax
call fcn.100147d0
cmp byte [esi + 0xd], 0
jne 0x1004e207
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1004e1ec
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1004e207
jmp 0x1004e1e0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1004e1e0
jmp 0x1004e207
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1004e205
cmp esi, dword [eax + 8]
jne 0x1004e205
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1004e1f5
mov esi, eax
cmp esi, edi
jne 0x1004e192
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, 0x1029c1c8
mov ecx, ebx
call fcn.100147d0
lea edx, [esi + 0x64]
mov ecx, eax
call fcn.100175b0
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10051bc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb521
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102bd850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 0
call fcn.10051ab0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x10051a20
push 0
xorps xmm0, xmm0
push 0
movq qword [edi], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
mov ecx, edi
call fcn.10065a70
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x10051c95
cmp dword [eax], 0
je 0x10051c95
push 0x102ca0c0
mov dword [ebp - 0x18], 0x102ca0c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
push edi
call fcn.10051e80
mov byte [ebp - 4], 0
push 0x102ca0c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008e065
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.wtf__cannot_create_the_thread
push eax
lea ecx, [ebp - 0x2c]
call fcn.1008e0ab
push 0x102bb78c
lea eax, [ebp - 0x2c]
push eax
call fcn.1009452f
int3

Function at 0x10051cc0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb558
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x102bd850]
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
call fcn.10051ab0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.10051b40
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x10051d37
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x10051d28
mov eax, dword [eax]
push 0x29a
push eax
call ebx
add esi, 8
cmp esi, edi
jne 0x10051d20
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10051d71
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
call fcn.10052280
push dword [ebp - 0x1c]
call fcn.1008e1e9
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 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.1008e065
mov esp, ebp
pop ebp
ret
Function at 0x10066090
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0ba6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102bd850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
mov dword [esi], 0xffffffff
lea eax, [ebp + 0x1c]
mov dword [esi + 4], 8
mov dword [esi + 8], 0xf
mov dword [esi + 0xc], 8
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10004200
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x34]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10004200
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x4c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x50]
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 0
cmp dword [ebp + 0x30], 0x10
jb 0x10066153
push dword [ebp + 0x1c]
call fcn.1008e1e9
add esp, 4
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x48], 0x10
jb 0x1006617d
push dword [ebp + 0x34]
call fcn.1008e1e9
add esp, 4
mov dword [ebp + 0x48], 0xf
mov eax, esi
mov dword [ebp + 0x44], 0
mov byte [ebp + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x4c