joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cd4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590fdc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 1
lea ecx, [esp + 0xc]
call fcn.004cc250
mov byte [esp + 0x30], 2
cmp dword [esp + 0x1c], 0
je 0x4cd52e
lea ecx, [esp + 0xc]
call fcn.004b2df0
test al, al
jne 0x4cd52e
lea ecx, [esp + 0xc]
call fcn.004bbe20
test al, al
jne 0x4cd52e
xor bl, bl
jmp 0x4cd617
mov eax, dword [0x7e2574]
test al, 1
jne 0x4cd565
or eax, 1
mov dword [0x7e2574], eax
mov byte [esp + 0x30], 3
mov dword [0x7e2578], 0
call fcn.004cd440
push 0x5a0140
call fcn.00565027
add esp, 4
mov byte [esp + 0x30], 2
mov ecx, dword [0x7e2578]
lea eax, [esp + 0x38]
push eax
call fcn.00510a10
mov eax, dword [0x7e2574]
test al, 1
jne 0x4cd5ac
or eax, 1
mov dword [0x7e2574], eax
mov byte [esp + 0x30], 4
mov dword [0x7e2578], 0
call fcn.004cd440
push 0x5a0140
call fcn.00565027
add esp, 4
mov byte [esp + 0x30], 2
mov esi, dword [0x7e2578]
lea eax, [esp + 0xb0]
add esi, 0xb0
cmp esi, eax
je 0x4cd5cf
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404960
mov eax, dword [esp + 0xc8]
mov bl, 1
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0xd0]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0xd4]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0xd8]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0xdc]
mov dword [esi + 0x2c], eax
mov al, byte [esp + 0xe0]
mov byte [esi + 0x30], al
mov byte [esp + 0x30], 1
cmp dword [esp + 0x20], 8
jb 0x4cd62f
push dword [esp + 0xc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov byte [esp + 0x30], al
lea ecx, [esp + 0x38]
call fcn.004c4030
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0xc4], 8
jb 0x4cd674
push dword [esp + 0xb0]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov word [esp + 0xb0], ax
mov al, bl
mov dword [esp + 0xc0], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00564de8
add esp, 0x28
ret 0xb0
Function at 0x4d06a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58daf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.004cf8d0
mov dword [esp + 0x30], 0
cmp dword [esp + 0x1c], 0
jne 0x4d06ec
xor bl, bl
jmp 0x4d06f7
lea ecx, [esp + 0xc]
call fcn.004b2f30
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x4d0712
push dword [esp + 0xc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00564de8
add esp, 0x2c
ret
Function at 0x4d6410
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5922c3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
cmp dword [ecx + 0xc0], 0
je 0x4d657e
lea esi, [ecx + 0xb0]
mov ecx, esi
call fcn.004bbf20
push 4
call fcn.0056590a
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], 0
test eax, eax
je 0x4d6481
mov dword [eax], 0
mov dword [eax], 0xffffffff
jmp 0x4d6483
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 0x30], 1
push 0x80
push 2
push ecx
push 0x40000000
push esi
lea ecx, [esp + 0x1c]
call fcn.004b47d0
mov esi, dword [esp + 8]
test al, al
je 0x4d6549
mov dword [esp + 0xc], 0
call fcn.004d6720
mov dword [esp + 0x10], eax
test esi, esi
je 0x4d64eb
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4d64eb
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x18], xmm0
call fcn.005690e1
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
test esi, esi
je 0x4d6549
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4d6549
push 0
lea ecx, [esp + 0x10]
push ecx
push 8
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4d6549
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4d6549
mov dword [esi], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
test esi, esi
je 0x4d657e
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4d656d
test eax, eax
je 0x4d656d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push esi
call fcn.00564de3
add esp, 4
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00564de8
add esp, 0x2c
ret

Function at 0x4d66a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5867e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
xor eax, eax
mov esi, dword [esp + 0x1c]
add ecx, 0x30
push 0xffffffffffffffff
push eax
push ecx
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00404960
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4db0b0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x5e409c], 0
jne 0x4db143
xor eax, eax
push 0x208
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.0056cbb0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov word [esp + 0x20e], ax
cmp word [esp + 8], ax
jne 0x4db11d
xor ecx, ecx
jmp 0x4db133
lea ecx, [esp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4db124
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
mov ecx, 0x5e408c
push eax
call fcn.00404a80
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00564de8
add esp, 0x214
ret

Function at 0x4db3a0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x220
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [0x7e186c]
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
jle 0x4db3e2
inc eax
mov dword [0x7e186c], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00564de8
add esp, 0x220
ret
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
xor bl, bl
call fcn.004db170
test al, al
je 0x4db4ad
push 0x5bc83c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4db4ad
push 0x5ba610
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esp + 0xc]
call eax
test eax, eax
je 0x4db4a6
inc dword [0x7e186c]
mov eax, dword [esi]
test eax, eax
je 0x4db442
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esp + 0xc]
mov bl, 1
mov dword [esi], eax
cmp dword [0x5e40b4], 0
mov dword [esp + 0xc], 0
jne 0x4db4a6
xor eax, eax
push 0x208
push eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e]
push eax
call fcn.0056cbb0
add esp, 0xc
mov dword [esp + 0x10], 0x104
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x5e40a4
mov word [esp + 0x21a], ax
lea eax, [esp + 0x14]
push eax
call fcn.0040bc40
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4db4bc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x228]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00564de8
add esp, 0x220
ret
Function at 0x4db5e0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [esp + 4], ecx
test ecx, ecx
je 0x4db651
lea eax, [esp + 4]
push eax
push dword [esp + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp]
neg eax
sbb eax, eax
and dword [esp + 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.00564de8
add esp, 0x14
ret
Function at 0x4f7d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59373b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x4f7db3
push 0x10
call fcn.00560e4f
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x4f7da6
push 0x4f5a90
push 0x4f5a80
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.00582fe8
jmp 0x4f7da8
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x4f7dc7
cmp byte [ecx + eax - 1], 0xa
jne 0x4f7dc7
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.004f5aa0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x500cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58d889
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x500cec
xor esi, esi
jmp 0x500cfa
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x500cf1
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.005015f0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.00403dc0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x5060b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x594c79
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
call fcn.00505e80
add esp, 4
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.00505f40
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00564de8
add esp, 0x28
ret
Function at 0x5073b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x594f84
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
mov ebp, ecx
push 0xc
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push str.Iphlpapi.dll
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.00404a80
mov dword [esp + 0x438], 0
mov eax, dword [0x7e23f4]
test al, 1
jne 0x50746c
or eax, 1
mov dword [0x7e23f4], eax
mov byte [esp + 0x438], 1
mov dword [0x7e23f0], 0
call fcn.004c1de0
push 0x59ffb0
call fcn.00565027
add esp, 4
mov byte [esp + 0x438], 0
lea eax, [esp + 0x18]
mov ecx, 0x7e23f0
push eax
call fcn.004c1fa0
mov edi, eax
mov dword [esp + 0x438], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x50749b
push dword [esp + 0x18]
call fcn.00564de3
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor eax, eax
push 0x5be790
push edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call esi
push 0x5be764
push edi
mov ebx, eax
call esi
mov edi, eax
mov dword [esp + 0x14], edi
test ebx, ebx
je 0x5075fb
test edi, edi
je 0x5075fb
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
call ebx
mov esi, dword [esp + 0x30]
test eax, eax
jne 0x50758d
test esi, esi
je 0x507594
xor edi, edi
cmp dword [esi], edi
jbe 0x507589
xor ebx, ebx
nop
cmp dword [ebx + esi + 0x470], 0x83
je 0x50757e
test byte [ebx + esi + 0x488], 1
je 0x50757e
cmp dword [ebx + esi + 0x428], 6
jne 0x50757e
lea ecx, [esp + 0x34]
call fcn.0050fe90
mov dword [esp + 0x438], 2
lea eax, [esi + 0x42c]
add eax, ebx
lea ecx, [esp + 0x34]
push eax
call fcn.005102b0
lea eax, [esp + 0xac]
mov ecx, ebp
push eax
call fcn.0040be40
mov dword [esp + 0x438], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00510160
mov esi, dword [esp + 0x30]
inc edi
add ebx, 0x548
cmp edi, dword [esi]
jb 0x507510
mov edi, dword [esp + 0x14]
test esi, esi
je 0x507594
push esi
call edi
mov esi, dword [ebp]
mov ecx, dword [ebp + 4]
cmp esi, ecx
je 0x5075fb
mov edx, ecx
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
push eax
mov ecx, esi
call fcn.0050b780
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov byte [esp + 0x1c], 0
push dword [esp + 0x1c]
call fcn.0050b8c0
mov edx, eax
add esp, 0xc
sub edx, dword [ebp]
mov eax, 0x2aaaaaab
imul edx
mov ecx, ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.0050a570
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00564de8
add esp, 0x428
ret
Function at 0x50b4b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x586ab3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00404960
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00404960
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ax, word [esi + 0x34]
mov word [edi + 0x34], ax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x50b560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58f9d9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00404960
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00404960
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00404960
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00404960
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x50b640
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5955bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00404960
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00404960
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00404960
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00404960
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x64]
push eax
call fcn.00404960
mov byte [esp + 0x18], 4
lea ecx, [edi + 0x7c]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x7c]
push eax
call fcn.00404960
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x50b970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5955e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0xc], eax
mov edi, ecx
mov ecx, eax
mov dword [esp + 0x20], 0
sub ecx, edi
mov eax, 0x81848da9
imul ecx
xorps xmm0, xmm0
movdqu xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], 0
add edx, ecx
mov dword [esp + 0x14], 0
sar edx, 9
mov esi, edx
mov dword [esp + 0x18], 0
shr esi, 0x1f
add esi, edx
lea eax, [esi + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov ecx, edi
push dword [esp + 0x40]
mov edx, dword [esp + 0x10]
push eax
push esi
call fcn.0050c110
add esp, 0xc
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x10]
test esi, esi
je 0x50ba50
cmp esi, dword [esp + 0x18]
je 0x50ba47
mov edi, edi
mov ecx, esi
call fcn.00510160
add esi, 0x3f4
cmp esi, dword [esp + 0x18]
jne 0x50ba30
mov esi, dword [esp + 0x10]
push esi
call fcn.00564de3
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00564de8
add esp, 0x28
ret
Function at 0x50d860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595920
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x1c], edx
mov ebp, ecx
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x50da30
test esi, esi
je 0x50da30
cmp ebx, esi
jg 0x50d961
mov ecx, edi
call fcn.0050c560
cmp ebx, eax
jg 0x50d961
mov ecx, dword [edi + 0x10]
sub esp, 0x14
mov dword [esp + 0x2c], esp
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov dword [esp + 0x54], 0
mov esi, dword [esp + 0x30]
push esi
mov dword [esp + 0x58], 0xffffffff
mov edx, ebp
lea ecx, [esp + 0x3c]
call fcn.0050d660
add esp, 0x18
lea ecx, [esp + 0x24]
call fcn.0050ba70
push dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ecx, esi
push ebp
mov edx, ebx
call fcn.0050e3f0
mov eax, dword [edi + 0x10]
push dword [esp + 0x20]
push ebx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
call fcn.0050e2e0
add esp, 0x10
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, edi
call fcn.0050c560
cmp esi, eax
jg 0x50da09
mov ecx, dword [edi + 0x10]
sub esp, 0x14
mov dword [esp + 0x2c], esp
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov dword [esp + 0x54], 1
mov ebx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 0x34]
call fcn.0050d660
add esp, 0x18
lea ecx, [esp + 0x24]
call fcn.0050ba70
push dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, ebp
push ebx
call fcn.0050e2e0
mov eax, dword [edi + 0x10]
push dword [esp + 0x20]
push ebp
mov edx, dword [eax + 4]
mov ecx, dword [eax]
call fcn.0050e3f0
add esp, 0x10
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ebx, dword [esp + 0x20]
mov ecx, ebp
mov edx, dword [esp + 0x1c]
push ebx
call fcn.0050e1f0
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
imul eax, esi, 0x3f4
add eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret