Function at 0x5a0030
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 0x5f9eb9
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.00523000
push dword [esi + 0x44]
mov ecx, edi
mov dword [ebp - 0x9c], eax
call fcn.00523000
mov esi, dword [ebp - 0x98]
mov ecx, edi
mov dword [ebp - 0x94], eax
mov edx, dword [esi + 0xc]
push dword [edx + 0xc]
call fcn.00523000
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 0x5a05d2
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.00545940
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
call fcn.00545940
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.00545940
push 1
push 0
push 0
push 0x24
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00544f00
mov ecx, eax
call fcn.00545210
call fcn.00541b70
movsd xmm1, qword [0x6e3258]
mov ecx, 0x6a880c
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, 0x6a8fe8
push 0
cmovbe eax, ecx
lea ecx, [ebp - 0x3c]
push eax
call fcn.00543b40
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 0x5a01b8
lea eax, [esi + 0x24]
mov dword [esi + 0x1c], edi
lea ecx, [esi + 0x1c]
mov dword [eax], edi
jmp 0x5a0261
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.0041ea85
add esp, 8
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5a020f
push fcn.00545790
push fcn.00545940
push dword [ebp - 0x90]
mov dword [eax], edi
lea edi, [eax + 4]
push 0xc
push edi
call fcn.0041eab1
jmp 0x5a0211
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.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 0x5a025a
test edx, edx
jne 0x5a026d
mov dword [esi + 0x18], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x5a03bf
xor edi, edi
test ecx, ecx
jle 0x5a03bf
xor ecx, ecx
mov dword [ebp - 0x18], ecx
jmp 0x5a0296
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.00544ce0
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.00545700
test eax, eax
je 0x5a03ac
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
push 0
add ecx, dword [eax]
call fcn.00544f60
mov ecx, dword [ebp - 0x8c]
push 0
push 1
push 0xffffffffffffffff
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
push 1
push 0x61d058
add ecx, eax
call fcn.00543e30
mov edx, eax
mov dword [ebp - 0xa0], edx
test edx, edx
je 0x5a03ac
mov eax, dword [ebp - 0x8c]
push 0
push edx
mov ecx, dword [eax]
add ecx, dword [ebp - 0x18]
call fcn.005454f0
push eax
lea ecx, [ebp - 0x30]
call fcn.005430f0
push 0x61d1a8
lea ecx, [ebp - 0x30]
call fcn.00545820
test al, al
je 0x5a0369
mov edx, dword [ebp - 0x90]
mov eax, dword [edx]
mov dword [eax + edi*4], 2
jmp 0x5a0388
push 0x63a58c
lea ecx, [ebp - 0x30]
call fcn.00545820
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 0x5a03ac
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0xa0]
add ecx, dword [eax]
call fcn.005441c0
mov ecx, dword [ebp - 0x18]
inc edi
add ecx, 0xc
mov dword [ebp - 0x18], ecx
cmp edi, dword [esi + 0x18]
jl 0x5a0290
push 0
push 0x20019
push 0x65b198
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
call fcn.0053fe40
xorps xmm0, xmm0
lea ecx, [ebp - 0x4c]
movups xmmword [ebp - 0x4c], xmm0
call fcn.0053fed0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
push 0x6a8fc8
lea ecx, [ebp - 0x18]
call fcn.0053fc70
cmp dword [ebp - 0x44], 7
jne 0x5a0433
cmp dword [ebp - 0x48], 7
jbe 0x5a0433
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x621af8
push dword [ebp - 0x4c]
lea ecx, [esi + 0x28]
push 0x621af8
call fcn.00545560
jmp 0x5a0442
push 1
push 0x6a8ffc
lea ecx, [esi + 0x28]
call fcn.005455c0
mov eax, dword [ebp - 0xa4]
xor edi, edi
mov dword [esi + 0x20], eax
mov byte [esi + 0x11], 0
cmp dword [ebp - 0x98], edi
jle 0x5a0558
nop dword [eax]
cmp byte [esi + 0x11], 0
jne 0x5a0558
push 0
push 0
push 0x400
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0x400
call fcn.00544ce0
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.00545700
test eax, eax
je 0x5a054b
push 0
lea ecx, [ebp - 0x24]
call fcn.00544f60
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x61d058
lea ecx, [ebp - 0x24]
call fcn.00543e30
mov dword [ebp - 0x94], eax
test eax, eax
je 0x5a054b
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.005454f0
push eax
lea ecx, [ebp - 0x24]
call fcn.00543e30
test eax, eax
jne 0x5a054b
push eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x24]
call fcn.005454f0
push eax
lea ecx, [ebp - 0x30]
call fcn.005430f0
push 0x61d1a8
lea ecx, [ebp - 0x30]
call fcn.00545820
mov byte [esi + 0x10], al
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x94]
dec eax
push eax
call fcn.005441c0
push esi
lea ecx, [ebp - 0x24]
call fcn.005454f0
mov ecx, dword [ebp - 0xa8]
push eax
call fcn.0059fcd0
add dword [esi + 0x14], eax
inc edi
cmp edi, dword [ebp - 0x98]
jl 0x5a0460
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
test eax, eax
je 0x5a0590
push fcn.00545790
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 0x5a05a5
push eax
call fcn.0041e473
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.0053fec0
lea ecx, [ebp - 0x18]
call fcn.0053fda0
lea ecx, [ebp - 0x3c]
call fcn.00545790
lea ecx, [ebp - 0x24]
call fcn.00545790
lea ecx, [ebp - 0x30]
call fcn.00545790
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