joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466705
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46681d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46681d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048779b
mov esi, eax
test esi, esi
je 0x46681d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46681d
mov ecx, esi
call fcn.00466670
cmp edi, eax
jge 0x46681d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4667a3
mov dword [esp + 0x34], 1
jmp 0x4667fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46681d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00465c70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4684f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x468556
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x468556
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x468537
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4688e0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x468918
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4695e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x469629
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x469aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x496900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00469650
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004696d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004696d0
lea ecx, [esi + 0xc]
call fcn.00485cda
lea ecx, [esi + 0x10]
call fcn.00485cda
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046ac30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046ac30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046ac30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00485d4f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00485d4f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48813f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488177
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004861f6
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004861ce
jmp 0x488183
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48982d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48986f
call fcn.0048f7d7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48986f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x489866
xor eax, eax
jmp 0x489877
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048987d
pop edi
pop esi
pop ebx
ret 4

Function at 0x48fd07
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 0x48fd35
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48fd53
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048fc6d
jmp 0x48fd53
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48fd53
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048fc6d
test edi, edi
mov eax, edi
jne 0x48fd3d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403440
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x71c008], 0x8088405
inc edx
mov dword [ebx + 0x71c008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x42b238
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42b23e
ret

Function at 0x447084
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x447235
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405108
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x44724c
call fcn.00404d6c
mov eax, ebx
call fcn.00428abc
mov edi, eax
dec edi
test edi, edi
jl 0x44713c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00428a90
mov edx, dword [0x439fd4]
call fcn.00403dc8
test al, al
je 0x447138
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00428a90
lea edx, [ebp - 0x14]
call fcn.0044e7cc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405108
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404de0
inc esi
dec edi
jne 0x4470ea
mov al, byte [0x447250]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x44725c
mov eax, dword [ebp - 0xc]
call fcn.0040ed18
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ae4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044e7cc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x44724c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044e7cc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x44724c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x44724c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x447268
call fcn.0040aab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44723c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a70
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a70
lea eax, [ebp - 0x14]
call fcn.00404a4c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a70
ret
Function at 0x4b8450
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4b847e
mov eax, ebx
call fcn.004b8f08
cmp dword [ebx + 0x3c], 0
je 0x4b8477
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4b84ef
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4b84e1
cmp dword [ebx + 8], 0
je 0x4b84a0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4b84b2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b84e1
cmp dword [ebx + 8], 0
je 0x4b8493
cmp eax, 3
je 0x4b84c5
dec eax
jne 0x4b8493
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4b8493
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4b8493
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4b850d
cmp dword [ebx + 0x10], 0xcc
je 0x4b850d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b8518
pop ebx
ret
Function at 0x4d6fc4
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
test dl, dl
je 0x4d6fd6
add esp, 0xfffffff0
call fcn.00403fa0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00403c0c
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
cmp byte [0x71e7fc], 0
je 0x4d700c
push 0
push 1
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
push 0x4d7208
push 1
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406980
mov ecx, eax
mov edx, 0x4d7218
mov eax, 0x71df44
call fcn.0056ccc4
test al, al
je 0x4d71cc
cmp byte [0x71e7fc], 0
je 0x4d7053
push 0
push 2
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x4d7078
cmp byte [0x71e7fc], 0
je 0x4d7078
push 0
push 0x16
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406980
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4d70bc
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
cmp byte [0x71e7fc], 0
je 0x4d70d8
push 0
push 3
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x4d71cc
mov edx, 0x71df74
mov eax, dword [ebp - 0xc]
call fcn.004d2c50
test al, al
je 0x4d71cc
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4d710e
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406980
cmp byte [0x71e7fc], 0
je 0x4d712a
push 0
push 6
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
push 0x4d7208
push 1
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00406980
mov ecx, eax
mov edx, 0x4d7218
mov eax, 0x71df44
call fcn.0056ccc4
test al, al
je 0x4d71cc
cmp byte [0x71e7fc], 0
je 0x4d716d
push 0
push 7
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
push 0
mov eax, dword [ebp - 4]
add eax, 8
call fcn.00406980
push eax
push 0x71df84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x4d71b0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
cmp byte [0x71e7fc], 0
je 0x4d71cc
push 0
push 8
mov edx, 0x4d71f8
mov eax, 0xfffffffb
call fcn.004d1960
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4d71e4
call fcn.00403ff8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x573f6c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5740b3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 6], 0
je 0x573fad
xor eax, eax
mov dword [ebp - 0xc], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 7
jne 0x573f97
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5740e0
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + eax*8 + 0x3dc], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 7
jne 0x573fb2
mov eax, dword [ebp - 4]
add eax, 0x3d8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
mov eax, dword [ebp - 0x10]
mov edx, 0x5740f4
call fcn.00404aa0
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.00404a4c
mov eax, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 2
mov eax, dword [ebp - 0x14]
mov edx, 0x574114
call fcn.00404aa0
mov eax, dword [ebp - 0x14]
add eax, 0xc
call fcn.00404a4c
mov eax, dword [ebp - 4]
add eax, 0x478
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x18]
mov edx, 0x57412c
call fcn.00404aa0
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x4a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x1c]
mov edx, 0x574144
call fcn.00404aa0
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
add eax, 0x4c8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x20]
mov edx, 0x574160
call fcn.00404aa0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 8], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5740e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x581560
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5816b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x39fc]
call fcn.005f09b0
test al, al
je 0x5815d5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x11e8], 0
je 0x5815d5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x794]
call fcn.0056f094
cmp eax, 0x64
jbe 0x5815d5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x794]
call fcn.0056f1a4
push 1
push 0
xor ecx, ecx
mov edx, 2
mov eax, dword [ebp - 0xc]
call fcn.005db570
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x11e8], 1
jne 0x581645
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x7dd], 0
je 0x581645
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xda8]
cmp dword [eax + 0x19c], 4
jne 0x581645
call fcn.00494b3c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0xfb0]
mov eax, dword [ebp - 8]
pop edx
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 0x7e8]
jle 0x581645
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax + 0xfb0], edx
push 1
push 0
xor ecx, ecx
mov edx, 4
mov eax, dword [ebp - 0xc]
call fcn.005db570
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1244]
dec eax
sub eax, 2
jae 0x5816ab
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x6ac], 0
je 0x5816ab
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3a20], 0
jle 0x581693
mov eax, dword [ebp - 0xc]
dec dword [eax + 0x3a20]
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3a20], 0
jne 0x581689
mov eax, dword [ebp - 0xc]
call fcn.005be380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5816e2
push 0xffffffffffffffff
push 1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3a24]
or ecx, 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.005bd988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5816e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5970b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x597177
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
call fcn.00404a4c
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
add eax, 0x44
call fcn.00404a4c
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00404a4c
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x51763
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x4c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5971a4
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5971ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5972a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
call fcn.00404aa0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
add eax, 0x44
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x44]
call fcn.00404aa0
mov eax, dword [ebp - 4]
add eax, 0x40
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x40]
call fcn.00404aa0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5972cf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ca418
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x5ca420
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ca5f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5ca5af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edx, word [eax + 0x3e]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x30
mov ecx, dword [ebp - 4]
call fcn.004dad48
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0xaa8]
mov eax, dword [eax + 0xa0]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.004d2088
test al, al
je 0x5ca5a5
cmp dword [ebp - 4], 0x3e7
jle 0x5ca4d3
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004099ec
push dword [ebp - 0x10]
push 0x5ca610
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004099ec
push dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, 3
call fcn.00404de0
jmp 0x5ca547
cmp dword [ebp - 4], 0x64
jge 0x5ca511
push 0x5ca61c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004099ec
push dword [ebp - 0x18]
push 0x5ca610
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004099ec
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, 4
call fcn.00404de0
jmp 0x5ca547
push 0x5ca628
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004099ec
push dword [ebp - 0x20]
push 0x5ca610
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004099ec
push dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov edx, 4
call fcn.00404de0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x4440]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x5ca5a5
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x4440]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x68
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
lea eax, [ebp - 0x28]
mov edx, 0x5ca634
call fcn.00404d6c
mov eax, dword [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, 1
mov dl, 1
call fcn.005c7c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ca5dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ca5fe
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00404a70
ret