Function at 0x1005d974
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009c0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x100b8210]
xor eax, esp
mov dword [esp + 0x48c], eax
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov esi, 0x10003598
push esi
lea eax, [esp + 0x20]
push eax
call fcn.1005e2c8
and dword [esp + 0x4a8], 0
mov edi, 0x10013220
push edi
lea eax, [esp + 0x24]
push eax
call fcn.1005e2c8
mov byte [esp + 0x4a8], 1
lea eax, [esp + 0x1c]
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 8]
mov byte [esp + 0x4a8], 2
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x4ac], 3
call fcn.1002a3cf
mov byte [esp + 0x4a8], 4
push dword [eax]
lea eax, [esp + 0x1c]
push 0x10013254
push eax
call fcn.100827bb
mov byte [esp + 0x4b4], 3
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10082afb
push dword [esp + 0x18]
mov eax, dword [ebx]
push 7
mov ecx, ebx
call dword [eax + 4]
and dword [esp + 0x48c], 0
and dword [esp + 0x490], 0
push 0x5c
pop eax
mov dword [esp + 0x2c], 0x1001b89c
mov word [esp + 0x488], ax
push 0x10013268
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x4b0], 5
call fcn.1005e2c8
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x4b0], 6
call fcn.10028603
push dword [eax]
lea edi, [esp + 0x30]
call fcn.10037774
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x4a8], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10082afb
test esi, esi
je 0x1005db2d
lea ecx, [esp + 0x14]
mov eax, edi
call fcn.100375e6
mov byte [esp + 0x4a8], 7
push dword [eax]
lea eax, [esp + 0x1c]
push 0x100132d8
push eax
call fcn.100827bb
mov byte [esp + 0x4b4], 5
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10082afb
push dword [esp + 0x18]
mov eax, dword [ebx]
push 7
mov ecx, ebx
call dword [eax + 4]
push 0x10013304
lea eax, [esp + 0x14]
push eax
call fcn.1005e2c8
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x4b0], 8
call fcn.10028603
push dword [eax]
lea edi, [esp + 0x30]
call fcn.10037774
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x4a8], 5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10082afb
test esi, esi
je 0x1005dbe4
jmp 0x1005db8f
lea esi, [esp + 0x2c]
call fcn.10037843
lea esi, [esp + 0x2c]
call fcn.10037726
test eax, eax
jne 0x1005db86
lea ecx, [esp + 0x14]
mov eax, esi
call fcn.100375e6
mov byte [esp + 0x4a8], 9
push dword [eax]
lea eax, [esp + 0x1c]
push 0x10013340
push eax
call fcn.100827bb
mov byte [esp + 0x4b4], 5
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10082afb
push dword [esp + 0x18]
mov eax, dword [ebx]
push 7
mov ecx, ebx
call dword [eax + 4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x1001b89c
call fcn.1003786b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x4ac], 0
call fcn.10026bbb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x48c]
xor ecx, esp
call fcn.10084b58
mov esp, ebp
pop ebp
ret