Function at 0x59cc4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xffffffec
xor eax, eax
push ebp
push 0x59d2a9
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
xor edx, edx
mov eax, 0x59d2c0
call fcn.0059cbdc
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x7c], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x59d2d4
call fcn.0059909c
mov ebx, eax
mov eax, dword [edi]
mov dword [eax + 0x50], ebx
push 1
push 0xffffffffffffffff
mov ecx, ebx
mov eax, dword [edi]
mov edx, 0x59d2e8
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x54], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 0x50]
mov eax, dword [edi]
mov edx, 0x59d300
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x58], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 0x50]
mov eax, dword [edi]
mov edx, 0x59d318
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x5c], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
mov ecx, 0x11
mov edx, 0x59d330
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x6c], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
mov ecx, 2
mov edx, 0x59d340
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x74], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
mov ecx, 0xd
mov edx, 0x59d350
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x70], eax
push ebp
mov edx, 0x44000000
mov eax, 0x59d360
call fcn.0059cbdc
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x90], eax
push ebp
mov edx, 0x99000000
mov eax, 0x59d370
call fcn.0059cbdc
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x94], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x59d380
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x80], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x59d390
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x60], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x59d3a0
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x64], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x59d3b0
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x68], eax
xor ebx, ebx
mov esi, dword [0x5f46c4]
push 1
push 0xffffffffffffffff
mov edx, dword [esi]
lea eax, [ebp - 4]
mov ecx, 0x59d3c0
call fcn.00404afc
mov edx, dword [ebp - 4]
mov eax, dword [edi]
xor ecx, ecx
call fcn.0059909c
xor edx, edx
mov dl, bl
mov ecx, dword [edi]
mov dword [ecx + edx*4 + 0x278], eax
push ebp
xor edx, edx
mov eax, 0x59d3d4
call fcn.0059cbdc
pop ecx
push eax
xor eax, eax
mov al, bl
mov edx, dword [edi]
lea eax, [edx + eax*4 + 0x25c]
mov ecx, 1
mov edx, dword [0x4e2980]
call fcn.00405da4
add esp, 4
inc ebx
add esi, 4
cmp bl, 5
jne 0x59cdc6
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x59d3ec
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x38], eax
push 1
push 0xffffffffffffffff
mov eax, dword [edi]
or ecx, 0xffffffff
mov edx, 0x59d404
call fcn.0059909c
mov edx, dword [edi]
mov dword [edx + 0x34], eax
push ebp
xor edx, edx
mov eax, 0x59d418
call fcn.0059cbdc
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x78], eax
push ebp
mov edx, 2
mov eax, 0x59d434
call fcn.0059cbdc
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x84], eax
mov eax, dword [edi]
cmp dword [eax + 0x84], 1
jne 0x59cea7
mov eax, dword [edi]
cmp dword [eax + 0x1c], 0x8f
jle 0x59cea7
mov eax, dword [edi]
mov dword [eax + 0x84], 2
push ebp
mov edx, 1
mov eax, 0x59d448
call fcn.0059cbdc
pop ecx
mov edx, dword [edi]
mov dword [edx + 0x88], eax
push 2
mov eax, dword [edi]
add eax, 0x51c
mov ecx, 1
mov edx, dword [0x58ac10]
call fcn.00405da4
add esp, 4
mov eax, dword [edi]
mov eax, dword [eax + 0x51c]
lea esi, [eax + 0x44]
mov dword [esi + 4], 0xff00ff
push ebp
or edx, 0xffffffff
mov eax, 0x59d460
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x20], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d474
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x28], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d488
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x24], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d49c
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x2c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
push ebp
mov edx, 3
mov eax, 0x59d4b0
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x10], eax
push ebp
mov edx, 3
mov eax, 0x59d4c4
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x18], eax
push ebp
mov edx, 2
mov eax, 0x59d4d8
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x14], eax
push ebp
mov edx, 5
mov eax, 0x59d4ec
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x1c], eax
push ebp
mov edx, 9
mov eax, 0x59d500
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x34], eax
push ebp
mov edx, 5
mov eax, 0x59d518
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x30], eax
push ebp
xor edx, edx
mov eax, 0x59d52c
call fcn.0059cbdc
pop ecx
mov dword [esi], eax
push ebp
mov edx, 0x3c
mov eax, 0x59d540
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x40], eax
push ebp
mov edx, 2
mov eax, 0x59d554
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x51c]
add eax, 0x44
mov edx, 0x59d568
call fcn.0059bf78
pop ecx
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov edx, dword [esi + 0x20]
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0x28]
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x24]
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x2c]
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x2c], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x51c]
push ebp
mov edx, 0xffffff
mov eax, 0x59d578
call fcn.0059cbdc
pop ecx
xor edx, edx
call fcn.0057d138
mov dword [esi], eax
push ebp
mov edx, 0xffffff
mov eax, 0x59d58c
call fcn.0059cbdc
pop ecx
xor edx, edx
call fcn.0057d138
mov dword [esi + 8], eax
push ebp
xor edx, edx
mov eax, 0x59d5a0
call fcn.0059cbdc
pop ecx
xor edx, edx
call fcn.0057d138
mov dword [esi + 4], eax
push ebp
mov edx, 0xffffff
mov eax, 0x59d5b4
call fcn.0059cbdc
pop ecx
xor edx, edx
call fcn.0057d138
mov dword [esi + 0xc], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d5c8
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x20], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d5dc
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x28], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d5f0
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x24], eax
push ebp
or edx, 0xffffffff
mov eax, 0x59d604
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x2c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
push ebp
mov edx, 2
mov eax, 0x59d618
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x10], eax
push ebp
mov edx, 2
mov eax, 0x59d62c
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x18], eax
push ebp
mov edx, 2
mov eax, 0x59d640
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x14], eax
push ebp
mov edx, 4
mov eax, 0x59d654
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x1c], eax
push ebp
mov edx, 9
mov eax, 0x59d668
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x34], eax
push ebp
mov edx, 5
mov eax, 0x59d680
call fcn.0059cbdc
pop ecx
mov edx, eax
or ecx, 0xffffffff
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x30], eax
push ebp
mov edx, 2
mov eax, 0x59d694
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x3c], eax
push ebp
mov edx, 0xc8
mov eax, 0x59d6a8
call fcn.0059cbdc
pop ecx
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x51c]
mov edx, 0x59d6bc
call fcn.0059bf78
pop ecx
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
or ecx, 0xffffffff
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x20], eax
or ecx, 0xffffffff
mov edx, dword [esi + 0x28]
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x28], eax
or ecx, 0xffffffff
mov edx, dword [esi + 0x24]
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x24], eax
or ecx, 0xffffffff
mov edx, dword [esi + 0x2c]
mov eax, ebx
call fcn.005975cc
mov dword [esi + 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d2b0
lea eax, [ebp - 4]
call fcn.004047f0
ret