Function at 0x4966a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587159
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x9c8
call fcn.00553a71
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x4966f5
mov ecx, dword [ebp - 0x30]
call fcn.004b75a0
mov dword [ebp - 0x40], eax
jmp 0x4966fc
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
push 4
call fcn.00553a71
add esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x38], 0
je 0x496736
mov ecx, dword [ebp - 0x38]
call fcn.00488130
mov dword [ebp - 0x44], eax
jmp 0x49673d
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x28
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 0x44]
call edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00480e50
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x36cc]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004850f0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x35f8]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00485110
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x36c4]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00486500
push 0x292
mov ecx, dword [ebp - 0x28]
call fcn.004882f0
push 0x5964e4
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x24]
call edx
push 0x5964ec
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00485ef0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x30]
call edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x28
call fcn.004791a0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x28
call fcn.0047cda0
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.004864c0
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x35a0], edx
push 0
push 0x803a
push 0x111
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.00416350
push 0
push 0
push 0x7ea
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.00416350
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 0x10