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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102c0850]
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 0x102cec90
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.10048970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10045370
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb7cf
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x102c0850]
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.10065410
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x10045535
cmp dword [esi], 0
je 0x10045535
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10097d20
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 0x10045480
call fcn.10045710
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10039cc0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.100462b0
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.10039e00
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x234]
call fcn.10070820
push 0x102be5dc
lea eax, [ebp - 0x234]
push eax
call fcn.1009474f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.10004240
mov byte [ebp - 4], 6
lea edx, [ebp - 0x240]
mov ecx, ebx
call fcn.100452a0
mov dword [ebp - 0x228], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x22c], 8
jb 0x100454c8
push dword [ebp - 0x240]
call fcn.1008dfdb
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 0x10045517
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10045517
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10045517
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.1008de57
mov esp, ebp
pop ebp
ret
call fcn.10045570
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10039cc0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.100462b0
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.10039e00
mov byte [ebp - 4], 3
jmp 0x10045463
Function at 0x100459e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bb876
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x102c0850]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov eax, dword [0x102c0850]
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 0x10045a86
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.1008de57
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.10065410
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x10045b39
cmp dword [eax], 0
je 0x10045b39
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 0x10045b32
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10045b32
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10045b2e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dl, byte [esp + 0xf]
mov al, dl
jmp 0x10045a63
call fcn.10045b90
push eax
lea ecx, [esp + 0x38]
call fcn.10039cc0
mov byte [esp + 0x110], 1
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.100462b0
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10039e00
mov byte [esp + 0x110], 2
lea ecx, [esp + 0x10]
push eax
call fcn.10070820
push 0x102be5dc
lea eax, [esp + 0x14]
push eax
call fcn.1009474f
int3
Function at 0x10048f60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bbbca
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x102c0850]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x102c0850]
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 0x10048fae
mov eax, dword [esi]
jmp 0x10048fb0
mov eax, esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x1004900a
call fcn.100491a0
push eax
lea ecx, [esp + 0x38]
call fcn.10039cc0
mov dword [esp + 0xe8], edi
mov edx, esi
mov ecx, eax
call fcn.1003af10
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10039e00
mov byte [esp + 0xe8], 1
lea ecx, [esp + 0x10]
push eax
call fcn.10070820
push 0x102be5dc
lea eax, [esp + 0x14]
push eax
call fcn.1009474f
mov edx, edi
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0xd0]
call fcn.1004b6a0
mov dword [esp + 0xe8], 2
cmp dword [esi + 0x14], 8
jb 0x10049038
mov eax, dword [esi]
jmp 0x1004903a
mov eax, esi
push dword [esp + 0xd0]
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1004909b
call fcn.10049360
push eax
lea ecx, [esp + 0x38]
call fcn.10039cc0
mov byte [esp + 0xe8], 3
mov edx, esi
mov ecx, eax
call fcn.1003af10
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10039e00
mov byte [esp + 0xe8], 4
lea ecx, [esp + 0x10]
push eax
call fcn.10070820
push 0x102be5dc
lea eax, [esp + 0x14]
push eax
call fcn.1009474f
lea eax, [esp + 0xd4]
mov dword [esp + 0xd4], 0
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0
push eax
push 0x1029e63c
push dword [esp + 0xdc]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x10049123
call fcn.10049510
push eax
lea ecx, [esp + 0x38]
call fcn.10039cc0
mov byte [esp + 0xe8], 5
mov edx, esi
mov ecx, eax
call fcn.1003af10
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10039e00
mov byte [esp + 0xe8], 6
lea ecx, [esp + 0x10]
push eax
call fcn.10070820
push 0x102be5dc
lea eax, [esp + 0x14]
push eax
call fcn.1009474f
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 0x1004916c
push ecx
call fcn.1008e7f9
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.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10049360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102c0850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x58305812
push ebx
push esi
push edi
push 0x5851
push 0x102cee88
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 0x22
push eax
mov dword [ebp - 0x100], 0x583f583f
mov dword [ebp - 0xfc], 0x5825583e
mov dword [ebp - 0xf8], 0x58165871
mov dword [ebp - 0xf4], 0x58255834
mov dword [ebp - 0xf0], 0x58385817
mov dword [ebp - 0xec], 0x5834583d
mov dword [ebp - 0xe8], 0x58345807
mov dword [ebp - 0xe4], 0x58225823
mov dword [ebp - 0xe0], 0x583e5838
mov dword [ebp - 0xdc], 0x5818583f
mov dword [ebp - 0xd8], 0x5837583f
mov dword [ebp - 0xd4], 0x5871583e
mov dword [ebp - 0xd0], 0x5837583e
mov dword [ebp - 0xcc], 0x5871586b
mov dword [ebp - 0xc8], 0x58605874
mov dword [ebp - 0xc4], 0x58515874
call fcn.10048970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008de57
mov esp, ebp
pop ebp
ret

Function at 0x10049a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x102c0850]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10097d20
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 0x10049ad2
cmp dword [ebp - 0x118], 2
jb 0x10049ad2
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008de57
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10049da0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102c0850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x23062324
push esi
push 0x2367
push 0x102cef30
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 0x16
push eax
mov dword [ebp - 0x100], 0x23092309
mov dword [ebp - 0xfc], 0x23132308
mov dword [ebp - 0xf8], 0x23082347
mov dword [ebp - 0xf4], 0x23022317
mov dword [ebp - 0xf0], 0x23472309
mov dword [ebp - 0xec], 0x230e2301
mov dword [ebp - 0xe8], 0x2302230b
mov dword [ebp - 0xe4], 0x2347235d
mov dword [ebp - 0xe0], 0x23562342
mov dword [ebp - 0xdc], 0x23672342
call fcn.10048970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x1004b320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bbf08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x102c0850]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x102c0850]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x1004b4b3
cmp byte [ebx + 0x45], 0
je 0x1004b4b3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1004b380
xor al, al
jmp 0x1004b4b5
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 0x1004b3e0
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 0x1004b41b
dec eax
je 0x1004b41f
sub eax, 2
je 0x1004b47d
xor bl, bl
jmp 0x1004b47f
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 0x1004b45e
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1009033f
add esp, 0x10
cmp esi, eax
jne 0x1004b417
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x1004b47d
test esi, esi
jne 0x1004b3e0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.1000af50
jmp 0x1004b3cf
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1004b49a
push dword [esp + 0x18]
call fcn.1008dfdb
add esp, 4
mov dword [esp + 0x2c], 0xf
mov al, bl
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jmp 0x1004b4b5
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.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x1004dc00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bc4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x102c0850]
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.1004dac0
mov dword [esp + 0x40], 0
mov edx, eax
mov ecx, ebx
call fcn.10017730
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x1004dc70
push dword [esp + 0x1c]
call fcn.1008dfdb
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 0x1004dd0f
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x10]
lea ebx, [edx + 0x18]
call fcn.10017730
mov edx, 0x1029dea0
mov ecx, eax
call fcn.10014950
mov edx, ebx
mov ecx, eax
call fcn.10017730
mov edx, 0x1029e750
mov ecx, eax
call fcn.10014950
cmp byte [esi + 0xd], 0
jne 0x1004dd07
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1004dcec
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1004dd07
jmp 0x1004dce0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1004dce0
jmp 0x1004dd07
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1004dd05
cmp esi, dword [eax + 8]
jne 0x1004dd05
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1004dcf5
mov esi, eax
cmp esi, edi
jne 0x1004dc92
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, 0x1029e750
mov ecx, ebx
call fcn.10014950
lea edx, [esi + 0x64]
mov ecx, eax
call fcn.10017730
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 0x100516c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd2f1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102c0850]
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.100515b0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x10051520
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.10065410
mov dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x10051795
cmp dword [eax], 0
je 0x10051795
push 0x102cd340
mov dword [ebp - 0x18], 0x102cd340
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 1
push edi
call fcn.10051980
mov byte [ebp - 4], 0
push 0x102cd340
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.1008de57
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.1008de9d
push 0x102be5cc
lea eax, [ebp - 0x2c]
push eax
call fcn.1009474f
int3

Function at 0x100517c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd328
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x102c0850]
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.100515b0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.10051640
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x10051837
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x10051828
mov eax, dword [eax]
push 0x29a
push eax
call ebx
add esi, 8
cmp esi, edi
jne 0x10051820
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10051871
push dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
push ecx
call fcn.10051d80
push dword [ebp - 0x1c]
call fcn.1008dfdb
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.1008de57
mov esp, ebp
pop ebp
ret
Function at 0x10055d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102c0850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x2c342c1f
push ebx
push esi
push edi
push 0x2c58
push 0x102cf098
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 0x2c
push eax
mov dword [ebp - 0x100], 0x2c3a2c37
mov dword [ebp - 0xfc], 0x2c342c39
mov dword [ebp - 0xf8], 0x2c1b2c04
mov dword [ebp - 0xf4], 0x2c682c60
mov dword [ebp - 0xf0], 0x2c6d2c6b
mov dword [ebp - 0xec], 0x2c692c6b
mov dword [ebp - 0xe8], 0x2c752c1c
mov dword [ebp - 0xe4], 0x2c6e2c68
mov dword [ebp - 0xe0], 0x2c602c1c
mov dword [ebp - 0xdc], 0x2c6c2c75
mov dword [ebp - 0xd8], 0x2c1b2c6b
mov dword [ebp - 0xd4], 0x2c752c1c
mov dword [ebp - 0xd0], 0x2c1c2c1a
mov dword [ebp - 0xcc], 0x2c6b2c6d
mov dword [ebp - 0xc8], 0x2c6b2c75
mov dword [ebp - 0xc4], 0x2c1e2c60
mov dword [ebp - 0xc0], 0x2c6b2c6e
mov dword [ebp - 0xbc], 0x2c6d2c6a
mov dword [ebp - 0xb8], 0x2c6e2c61
mov dword [ebp - 0xb4], 0x2c612c1a
mov dword [ebp - 0xb0], 0x2c582c19
call fcn.10048970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008de57
mov esp, ebp
pop ebp
ret