Function at 0x59fc00
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 0x5f9d09
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x705200]
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.00522c70
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0x9c], eax
call fcn.00522c70
mov esi, dword [ebp - 0x98]
mov ecx, edi
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 0xc]
push dword [edx + 0xc]
call fcn.00522c70
mov edi, dword [0x5fd6cc]
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 0x5a01a2
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.00545530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
call fcn.00545530
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.00545530
push 1
push 0
push 0
push 0x24
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00544b10
mov ecx, eax
call fcn.00544e20
call fcn.00541770
movsd xmm1, qword [0x6e42e8]
mov ecx, 0x6a8e8c
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, 0x6a9668
push 0
cmovbe eax, ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.00543750
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 0x59fd88
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], edi
lea ecx, [esi + 0x1c]
mov dword [eax], edi
jmp 0x59fe31
xor ecx, ecx
mov edx, 0xc
mul edx
push 0x61771c
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0041ea95
add esp, 8
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x59fddf
push fcn.00545380
push fcn.00545530
push dword [ebp - 0x90]
mov dword [eax], edi
lea edi, [eax + 4]
push 0xc
push edi
call fcn.0041eac1
jmp 0x59fde1
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 0x61771c
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ea95
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 0x59fe2a
test edx, edx
jne 0x59fe3d
mov dword [esi + 0x18], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x59ff8f
xor edi, edi
test ecx, ecx
jle 0x59ff8f
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x59fe66
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.005448f0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
push edi
push 0x1073
push dword [ebp - 0x94]
call dword [0x5fd6cc]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
add ecx, eax
call fcn.005452f0
test eax, eax
je 0x59ff7c
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
push 0
add ecx, dword [eax]
call fcn.00544b70
mov ecx, dword [ebp - 0x8c]
push 0
push 1
push 0xffffffffffffffff
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
push 1
push 0x61d06c
add ecx, eax
call fcn.00543a40
mov edx, eax
mov dword [ebp - 0xa0], edx
test edx, edx
je 0x59ff7c
mov eax, dword [ebp - 0x8c]
push 0
push edx
mov ecx, dword [eax]
add ecx, dword [ebp - 0x18]
call fcn.005450e0
push eax
lea ecx, [ebp - 0x30]
call fcn.00542d10
push 0x61d1bc
lea ecx, [ebp - 0x30]
call fcn.00545410
test al, al
je 0x59ff39
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov dword [eax + edi*4], 2
jmp 0x59ff58
push 0x63a58c
lea ecx, [ebp - 0x30]
call fcn.00545410
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 0x59ff7c
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0xa0]
add ecx, dword [eax]
call fcn.00543dd0
mov ecx, dword [ebp - 0x18]
inc edi
add ecx, 0xc
mov dword [ebp - 0x18], ecx
cmp edi, dword [esi + 0x18]
jl 0x59fe60
push 0
push 0x20019
push 0x65b1e8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0053fa50
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0x4c], xmm0
call fcn.0053fae0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
push 0x6a9648
lea ecx, [ebp - 0x18]
call fcn.0053f880
cmp dword [ebp - 0x44], 7
jne 0x5a0003
cmp dword [ebp - 0x48], 7
jbe 0x5a0003
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x621b08
push dword [ebp - 0x4c]
lea ecx, [esi + 0x28]
push 0x621b08
call fcn.00545150
jmp 0x5a0012
push 1
push 0x6a967c
lea ecx, [esi + 0x28]
call fcn.005451b0
mov eax, dword [ebp - 0xa4]
xor edi, edi
mov dword [esi + 0x20], eax
mov byte [esi + 0x11], 0
cmp dword [ebp - 0x98], edi
jle 0x5a0128
nop dword [eax]
cmp byte [esi + 0x11], 0
jne 0x5a0128
push 0
push 0
push 0x400
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0x400
call fcn.005448f0
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
push edi
push 0x1073
push dword [ebp - 0x9c]
call dword [0x5fd6cc]
lea ecx, [ebp - 0x24]
call fcn.005452f0
test eax, eax
je 0x5a011b
push 0
lea ecx, [ebp - 0x24]
call fcn.00544b70
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x61d06c
lea ecx, [ebp - 0x24]
call fcn.00543a40
mov dword [ebp - 0x94], eax
test eax, eax
je 0x5a011b
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.005450e0
push eax
lea ecx, [ebp - 0x24]
call fcn.00543a40
test eax, eax
jne 0x5a011b
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x24]
call fcn.005450e0
push eax
lea ecx, [ebp - 0x30]
call fcn.00542d10
push 0x61d1bc
lea ecx, [ebp - 0x30]
call fcn.00545410
mov byte [esi + 0x10], al
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x94]
dec eax
push eax
call fcn.00543dd0
push esi
lea ecx, [ebp - 0x24]
call fcn.005450e0
mov ecx, dword [ebp - 0xa8]
push eax
call fcn.0059f8a0
add dword [esi + 0x14], eax
inc edi
cmp edi, dword [ebp - 0x98]
jl 0x5a0030
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
test eax, eax
je 0x5a0160
push fcn.00545380
lea esi, [eax - 4]
mov byte [ebp - 4], 6
push dword [esi]
push 0xc
push eax
call fcn.0041e718
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e488
add esp, 8
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
test eax, eax
je 0x5a0175
push eax
call fcn.0041e483
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.0053fad0
lea ecx, [ebp - 0x18]
call fcn.0053f9b0
lea ecx, [ebp - 0x3c]
call fcn.00545380
lea ecx, [ebp - 0x24]
call fcn.00545380
lea ecx, [ebp - 0x30]
call fcn.00545380
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.0041e475
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4