Function at 0x589b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de8b1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [esp + 0x30], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov byte [esp + 0x30], 2
mov dword [edi + 0x38], ebx
call fcn.005d95d0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
xor eax, eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebx
mov edx, dword [edi]
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + 0x23c]
cdq
push edx
push eax
lea esi, [esp + 0x1c]
call fcn.00489600
lea esi, [esp + 0x24]
mov ebp, eax
call fcn.004b28c0
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [edi + 0xc0]
call fcn.00493d30
mov eax, dword [0x65ae48]
mov dword [edi + 0xc8], eax
mov ecx, dword [0x65ae4c]
push ebx
push 0xa
lea esi, [esp + 0x3c]
mov dword [edi + 0xcc], ecx
call fcn.004d02b0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [0x65ae4c]
mov edx, dword [0x65ae48]
push eax
push ecx
push edx
lea eax, [edi + 0xd0]
call fcn.00493d30
add esp, 0x30
lea esi, [edi + 0xd8]
call fcn.004b28c0
mov cx, word [esp + 0x40]
mov dx, word [esp + 0x3c]
mov dword [edi + 0xe0], 0x5dc0000
mov dword [edi + 0xe4], ebx
mov word [edi + 0x138], bx
mov dword [edi + 0x13c], ebx
mov dword [edi + 0x140], ebx
mov al, 0xfe
and byte [edi + 0x13a], al
and byte [edi + 0x196], al
mov word [edi + 0x194], bx
mov dword [edi + 0x198], ebx
mov dword [edi + 0x19c], ebx
or eax, 0xffffffff
mov dword [edi + 0x1a0], ebx
mov dword [edi + 0x1a4], ebx
mov dword [edi + 0x1a8], 0x5dc
mov dword [edi + 0x1ac], ebx
mov dword [edi + 0x1b0], ebx
mov dword [edi + 0x1b4], ebx
mov dword [edi + 0x1b8], ebx
mov dword [edi + 0x1bc], ebx
mov dword [edi + 0x1c0], ebx
mov dword [edi + 0x1c4], 0x6400000
mov dword [edi + 0x1d4], ebx
mov dword [edi + 0x1d8], ebx
mov dword [edi + 0x1dc], ebx
mov dword [edi + 0x1e0], ebx
mov dword [edi + 0x1e4], eax
mov dword [edi + 0x1e8], eax
mov word [edi + 0x1ee], cx
mov cl, byte [edi + 0x209]
and cl, 0xfd
mov word [edi + 0x1ec], bx
mov word [edi + 0x1f0], dx
mov word [edi + 0x1f2], bx
mov word [edi + 0x1f4], bx
mov word [edi + 0x1f6], bx
mov word [edi + 0x1f8], bx
mov word [edi + 0x1fa], bx
mov word [edi + 0x1fc], bx
mov word [edi + 0x1fe], 0x57c
mov word [edi + 0x200], 0x224
mov word [edi + 0x202], 0x5c0
mov word [edi + 0x204], bx
mov byte [edi + 0x206], bl
mov byte [edi + 0x207], bl
mov byte [edi + 0x208], 0xc0
or cl, 1
mov byte [edi + 0x209], cl
mov dword [edi + 0x1c8], eax
mov dword [edi + 0x1cc], eax
mov dword [edi + 0x1d0], eax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10