Function at 0x597e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x87a2c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
mov esi, ecx
push edi
push 3
lea ecx, [esp + 0x50]
call fcn.004b5e30
lea ecx, [esp + 0x58]
mov dword [esp + 0xac], 0
call fcn.004b5e00
mov eax, dword [0x8ab26c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x4c]
push eax
mov ebx, 1
push ecx
mov ecx, 0x9bf054
mov byte [esp + 0xb4], bl
call fcn.004afdc0
test eax, eax
je 0x597ee4
add eax, 0x10
lea ecx, [esp + 0x58]
push eax
call fcn.00444600
mov edx, dword [esp + 0x64]
push edx
call fcn.0045a770
add esp, 4
call fcn.0045a7a0
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push 0x1388
push 0
push eax
lea edi, [esi + 4]
push 0
push 0
lea ecx, [esp + 0x24]
mov dword [esi + 8], esi
mov dword [eax], edi
mov dword [esi + 0x10], 0x4139e0
call fcn.005794a0
lea eax, [esp + 0xc]
mov ecx, 0x9cf1a8
push eax
mov byte [esp + 0xb0], 2
call fcn.0057a890
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x38], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x48], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x50], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x5c], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], edx
mov byte [esp + 0xac], bl
call fcn.00579500
push 0xffffffffffffffff
lea eax, [esi + 0x9c]
push 0xffffffffffffffff
push 0
push eax
push 2
push 0
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [esi + 0xa0], 0x4139f0
call fcn.005794a0
lea eax, [esp + 0xc]
mov ecx, 0x9cf1a8
push eax
mov byte [esp + 0xb0], 3
call fcn.0057a890
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xb8], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xbc], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0xc4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esi + 0xd8], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0xe4], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0xec], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xf0], edx
mov byte [esp + 0xac], bl
call fcn.00579500
push 0xffffffffffffffff
lea eax, [esi + 0xf4]
push 0x7530
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [esi + 0xf8], 0x413a10
call fcn.005794a0
lea eax, [esp + 0xc]
mov ecx, 0x9cf1a8
push eax
mov byte [esp + 0xb0], 4
call fcn.0057a890
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x110], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x114], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x120], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x124], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x12c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x128], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x130], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x138], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x13c], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x144], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0x140], eax
mov dword [esi + 0x148], edx
mov byte [esp + 0xac], bl
call fcn.00579500
lea ecx, [esp + 0x58]
mov byte [esp + 0xac], 0
call fcn.0043dfc0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xac], 0xffffffff
call fcn.004b5e20
mov ecx, dword [esp + 0xa4]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret