Function at 0x58f630
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea950
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x64e2c0]
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, ecx
mov dword [ebp - 0xa4], esi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xbc]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0xec]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xf8]
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x104]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x110]
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x128]
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0x134]
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x140]
mov dword [esi + 0x144], eax
mov eax, dword [esi + 0x14c]
mov dword [esi + 0x150], eax
mov eax, dword [esi + 0x158]
mov dword [esi + 0x15c], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x80]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xb4], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x9c], ecx
cmp dword [eax], 0x80
jne 0x58f7d9
mov eax, dword [eax + 0x28]
test eax, eax
je 0x58f7d9
mov edx, dword [eax]
test edx, edx
js 0x58f7d9
mov ecx, dword [edi + 4]
push edx
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
call eax
mov ecx, 1
mov byte [ebp - 0x8d], cl
cmp dword [eax], 0
jne 0x58f7e0
mov byte [ebp - 0x8d], 0
test cl, 1
je 0x58f802
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x58f7fb
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x8d], 0
je 0x58f851
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x28]
push dword [eax]
lea eax, [ebp - 0x94]
push eax
call edx
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x164], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x168], eax
mov eax, dword [ecx]
mov dword [ebp - 4], 1
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x58f865
mov dword [esi + 0x164], 0
mov dword [esi + 0x168], 0
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x44]
call fcn.005816b0
push 0x7c
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.005b4c50
add esp, 0xc
lea ecx, [ebp - 0x8c]
call fcn.00596d70
mov edi, eax
mov dword [ebp - 0x9c], edi
mov ecx, dword [edi]
mov dword [esi + 0x16c], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 0x170], ecx
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
mov ecx, dword [esi + 0x174]
mov dword [ebp - 4], 2
mov dword [ebp - 0x94], eax
test ecx, ecx
je 0x58f8d6
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x174], eax
lea ecx, [esi + 0x17c]
mov eax, dword [edi + 0xc]
mov dword [esi + 0x178], eax
xor esi, esi
mov dword [ebp - 0xa0], ecx
add edi, 0x10
nop word [eax + eax]
mov eax, dword [edi]
mov dword [edi], 0
mov ecx, dword [ecx + esi*4]
mov dword [ebp - 0x94], eax
test ecx, ecx
je 0x58f920
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xa0]
add edi, 4
mov dword [ecx + esi*4], eax
inc esi
cmp esi, 8
jb 0x58f900
mov ecx, dword [ebp - 0x9c]
mov esi, dword [ebp - 0xa4]
add esi, 0x16c
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [ecx + 0x40]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [ecx + 0x50]
movups xmmword [esi + 0x50], xmm0
movups xmm0, xmmword [ecx + 0x60]
movups xmmword [esi + 0x60], xmm0
movzx eax, byte [ecx + 0x70]
mov byte [esi + 0x70], al
movzx eax, byte [ecx + 0x71]
mov byte [esi + 0x71], al
movzx eax, byte [ecx + 0x72]
mov byte [esi + 0x72], al
mov eax, dword [ecx + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [ecx + 0x78]
mov dword [esi + 0x78], eax
push 0x510230
push 8
push 4
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 3
push eax
call fcn.005b2f08
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 4], 4
test ecx, ecx
je 0x58f9be
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 0x84], 0
mov edi, dword [ebp - 0x98]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.00431d50
mov ecx, dword [ebp - 0xa8]
mov al, byte [eax + 0x139]
push eax
movzx eax, byte [ecx + 0x2c]
push eax
push dword [ecx + 0x28]
push dword [ecx + 4]
mov ecx, esi
push edi
call fcn.0057d4f0
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.005b26e6
mov esp, ebp
pop ebp
ret 0x10