Function at 0x59fa90
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9819
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x704200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov edi, dword [ebx + 8]
mov dword [ebp - 0x98], edi
mov esi, dword [edi + 8]
mov edi, dword [edi + 4]
mov ecx, edi
push dword [esi + 0x30]
call fcn.00522a80
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0x9c], eax
call fcn.00522a80
mov esi, dword [ebp - 0x98]
mov ecx, edi
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 0xc]
push dword [edx + 0xc]
call fcn.00522a80
mov edi, dword [0x5fd6c8]
push 0
push 0
push 0x1004
push dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
call edi
mov dword [ebp - 0x98], eax
test eax, eax
je 0x5a0032
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.005453c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
call fcn.005453c0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.005453c0
push 1
push 0
push 0
push 0x24
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00544980
mov ecx, eax
call fcn.00544c90
call fcn.005415f0
movsd xmm1, qword [0x6e3260]
mov ecx, 0x6a87ec
push 0
push 0
push 0
push 0
push 0
push 0
push 0
comisd xmm1, xmm0
push 0
push 0
push 0
mov eax, 0x6a8fc8
push 0
cmovbe eax, ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.005435c0
push 0
push 0
push 0x1004
push dword [ebp - 0x94]
call edi
mov edi, eax
mov dword [ebp - 0x90], edi
mov dword [esi + 0x18], edi
test edi, edi
jne 0x59fc18
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], edi
lea ecx, [esi + 0x1c]
mov dword [eax], edi
jmp 0x59fcc1
xor ecx, ecx
mov edx, 0xc
mul edx
push 0x61770c
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0041ea85
add esp, 8
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x59fc6f
push fcn.00545210
push fcn.005453c0
push dword [ebp - 0x90]
mov dword [eax], edi
lea edi, [eax + 4]
push 0xc
push edi
call fcn.0041eab1
jmp 0x59fc71
xor edi, edi
lea eax, [esi + 0x24]
mov byte [ebp - 4], 2
mov dword [ebp - 0x8c], eax
xor ecx, ecx
mov dword [eax], edi
mov edx, 4
mov eax, dword [esi + 0x18]
mul edx
push 0x61770c
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ea85
mov edx, eax
lea ecx, [esi + 0x1c]
lea eax, [esi + 0x24]
mov dword [ebp - 0x90], ecx
add esp, 8
mov dword [ecx], edx
cmp dword [eax], 0
je 0x59fcba
test edx, edx
jne 0x59fccd
mov dword [esi + 0x18], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x59fe1f
xor edi, edi
test ecx, ecx
jle 0x59fe1f
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x59fcf6
mov eax, dword [ebp - 0x8c]
add ecx, dword [eax]
push 0
push 0
push 0x400
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0x400
call fcn.00544760
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
push edi
push 0x1073
push dword [ebp - 0x94]
call dword [0x5fd6c8]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
add ecx, eax
call fcn.00545180
test eax, eax
je 0x59fe0c
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
push 0
add ecx, dword [eax]
call fcn.005449e0
mov ecx, dword [ebp - 0x8c]
push 0
push 1
push 0xffffffffffffffff
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
push 1
push 0x61d048
add ecx, eax
call fcn.005438b0
mov edx, eax
mov dword [ebp - 0xa0], edx
test edx, edx
je 0x59fe0c
mov eax, dword [ebp - 0x8c]
push 0
push edx
mov ecx, dword [eax]
add ecx, dword [ebp - 0x18]
call fcn.00544f70
push eax
lea ecx, [ebp - 0x30]
call fcn.00542b70
push 0x61d198
lea ecx, [ebp - 0x30]
call fcn.005452a0
test al, al
je 0x59fdc9
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov dword [eax + edi*4], 2
jmp 0x59fde8
push 0x63a57c
lea ecx, [ebp - 0x30]
call fcn.005452a0
mov edx, dword [ebp - 0x90]
xor ecx, ecx
test al, al
setne cl
mov edx, dword [edx]
mov dword [edx + edi*4], ecx
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
cmp dword [eax + edi*4], 0
je 0x59fe0c
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0xa0]
add ecx, dword [eax]
call fcn.00543c40
mov ecx, dword [ebp - 0x18]
inc edi
add ecx, 0xc
mov dword [ebp - 0x18], ecx
cmp edi, dword [esi + 0x18]
jl 0x59fcf0
push 0
push 0x20019
push 0x65b1c8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0053f8c0
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0x4c], xmm0
call fcn.0053f950
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
push 0x6a8fa8
lea ecx, [ebp - 0x18]
call fcn.0053f6f0
cmp dword [ebp - 0x44], 7
jne 0x59fe93
cmp dword [ebp - 0x48], 7
jbe 0x59fe93
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x621ae8
push dword [ebp - 0x4c]
lea ecx, [esi + 0x28]
push 0x621ae8
call fcn.00544fe0
jmp 0x59fea2
push 1
push 0x6a8fdc
lea ecx, [esi + 0x28]
call fcn.00545040
mov eax, dword [ebp - 0xa4]
xor edi, edi
mov dword [esi + 0x20], eax
mov byte [esi + 0x11], 0
cmp dword [ebp - 0x98], edi
jle 0x59ffb8
nop dword [eax]
cmp byte [esi + 0x11], 0
jne 0x59ffb8
push 0
push 0
push 0x400
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0x400
call fcn.00544760
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
push edi
push 0x1073
push dword [ebp - 0x9c]
call dword [0x5fd6c8]
lea ecx, [ebp - 0x24]
call fcn.00545180
test eax, eax
je 0x59ffab
push 0
lea ecx, [ebp - 0x24]
call fcn.005449e0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x61d048
lea ecx, [ebp - 0x24]
call fcn.005438b0
mov dword [ebp - 0x94], eax
test eax, eax
je 0x59ffab
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.00544f70
push eax
lea ecx, [ebp - 0x24]
call fcn.005438b0
test eax, eax
jne 0x59ffab
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x24]
call fcn.00544f70
push eax
lea ecx, [ebp - 0x30]
call fcn.00542b70
push 0x61d198
lea ecx, [ebp - 0x30]
call fcn.005452a0
mov byte [esi + 0x10], al
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x94]
dec eax
push eax
call fcn.00543c40
push esi
lea ecx, [ebp - 0x24]
call fcn.00544f70
mov ecx, dword [ebp - 0xa8]
push eax
call fcn.0059f730
add dword [esi + 0x14], eax
inc edi
cmp edi, dword [ebp - 0x98]
jl 0x59fec0
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
test eax, eax
je 0x59fff0
push fcn.00545210
lea esi, [eax - 4]
mov byte [ebp - 4], 6
push dword [esi]
push 0xc
push eax
call fcn.0041e708
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e478
add esp, 8
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
test eax, eax
je 0x5a0005
push eax
call fcn.0041e473
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.0053f940
lea ecx, [ebp - 0x18]
call fcn.0053f820
lea ecx, [ebp - 0x3c]
call fcn.00545210
lea ecx, [ebp - 0x24]
call fcn.00545210
lea ecx, [ebp - 0x30]
call fcn.00545210
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e465
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4