Function at 0x65533c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor edx, edx
push ebp
push 0x655c25
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x655c14
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax - 0x54], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax - 0x58], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax - 0x5c], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax - 0x60], edx
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, 0xffffff
mov ecx, dword [eax]
call dword [ecx + 0xc8]
cmp esi, 1
jle 0x6553b7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00654658
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax - 0x40]
jge 0x6553cc
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00654658
dec eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0xc], 0
je 0x655763
xor eax, eax
push ebp
push 0x65575c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0
jle 0x65554d
cmp dword [ebp - 8], 0
jne 0x65554d
mov eax, dword [ebp + 0xc]
cmp ebx, dword [eax + 8]
jle 0x65554d
mov dl, 1
mov eax, dword [0x595da4]
call fcn.0059eae0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, eax
mov eax, dword [ebp - 0x2c]
call fcn.0059f910
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x2c]
call fcn.0059f1d8
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x2c]
call fcn.0059f398
push 0x416fffff
push 0xe0000000
mov eax, dword [ebp - 0x2c]
call fcn.005a3b7c
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.005a26dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
pop edx
call fcn.0059f910
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
pop edx
call fcn.0059f1d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
lea edx, [ebx + 1]
mov ecx, dword [ebp + 0xc]
sub edx, dword [ecx + 8]
call fcn.0059f398
push 0x416fffff
push 0xe0000000
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
call fcn.005a3b7c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005a26dc
jmp 0x6555c0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 0xc]
call fcn.0059f1d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 0x10]
call fcn.0059f398
push 0x416fffff
push 0xe0000000
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
call fcn.005a3b7c
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005a26dc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov dl, 1
call fcn.005be4d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, 0xffffff
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x6709f4]
mov ebx, dword [eax]
lea ebx, [ebx + ebx*2]
mov dword [ebp - 0x30], ebx
fild dword [ebp - 0x30]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 1
push 0
push 0x46
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
mov edx, dword [0x6709f4]
mov ecx, ebx
mov edx, dword [0x6709f4]
mov edx, ebx
call fcn.00574abc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, 0xffffff
call fcn.00653e38
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0x88]
cmp dword [ebp - 0x2c], 0
je 0x655707
push 1
push 2
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 8]
add ebx, eax
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
pop edx
pop ecx
call fcn.00561040
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0xc]
pop edx
sub edx, eax
sar edx, 1
jns 0x6556c3
adc edx, 0
xor eax, eax
call fcn.0055e92c
push eax
push 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
call fcn.005a26dc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov dl, 1
call fcn.005be4d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6557d6
cmp dword [ebp - 0x2c], 0
je 0x65575b
lea eax, [ebp - 0x2c]
call fcn.004107e4
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 0xc]
call fcn.0059f1d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 0x10]
call fcn.0059f398
push 0x416fffff
push 0xe0000000
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
call fcn.005a3b7c
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005a26dc
mov eax, dword [ebp - 4]
call fcn.0059ef30
test al, al
je 0x6558b9
xor eax, eax
push ebp
push 0x6558af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x30]
pop edx
call fcn.0059f1d8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x30]
pop edx
call fcn.0059f398
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
xor ecx, ecx
pop edx
call fcn.005a26dc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, 0xffffff
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xdc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6558b9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x38]
cmp byte [eax + 0x4ec], 0
je 0x6558e6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
call fcn.0056160c
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0x20], 0
jle 0x65595a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x38]
cmp byte [eax + 0x4f4], 0
je 0x655922
push 1
push 1
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
mov edx, dword [ebp + 0xc]
mov edx, dword [edx - 0x20]
add edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.00561040
jmp 0x655944
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
mov edx, dword [ebp + 0xc]
mov edx, dword [edx - 0x20]
add edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.00561040
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax - 8]
mov eax, dword [ebp + 0xc]
sub ebx, dword [eax - 0xc]
mov eax, dword [ebp + 0xc]
sub ebx, dword [eax - 0x10]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax - 0x14]
mov eax, dword [ebp + 0xc]
sub edi, dword [eax - 0x18]
mov eax, dword [ebp + 0xc]
sub edi, dword [eax - 0x1c]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x30], esi
fild dword [ebp - 0x30]
fmul dword [0x655c38]
mov dword [ebp - 0x34], ebx
fild dword [ebp - 0x34]
fdivp st(1)
mov dword [ebp - 0x38], edi
fild dword [ebp - 0x38]
fmulp st(1)
call fcn.00402f78
mov dword [ebp - 0x30], esi
fild dword [ebp - 0x30]
fmul dword [0x655c38]
mov dword [ebp - 0x34], ebx
fild dword [ebp - 0x34]
fdivp st(1)
fstp qword [ebp - 0x28]
wait
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x18]
fmul qword [ebp - 0x28]
call fcn.00402f78
mov ebx, eax
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x1c]
fmul qword [ebp - 0x28]
call fcn.00402f78
mov esi, eax
mov eax, dword [ebp + 0xc]
fild dword [eax - 0xc]
fmul qword [ebp - 0x28]
call fcn.00402f78
mov edi, eax
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x10]
fmul qword [ebp - 0x28]
call fcn.00402f78
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x14]
fmul qword [ebp - 0x28]
call fcn.00402f78
sub eax, ebx
sub eax, esi
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x655a73
fild dword [ebp - 0x18]
fmul dword [0x655c38]
mov eax, dword [ebp + 0xc]
fdiv qword [eax - 0x78]
mov eax, dword [ebp + 0xc]
fmul qword [eax - 0x30]
call fcn.00402f78
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cdq
xor eax, edx
sub eax, edx
sar eax, 1
jns 0x655a53
adc eax, 0
add edi, eax
mov eax, dword [ebp - 0x1c]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cdq
xor eax, edx
sub eax, edx
sar eax, 1
jns 0x655a6e
adc eax, 0
sub ecx, eax
add dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
xor eax, eax
call fcn.0055e92c
mov edx, eax
add edx, esi
xor eax, eax
call fcn.0055e92c
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, 0xffffff
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push 2
push 2
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
mov ecx, dword [ebp - 0x10]
add ecx, ebx
mov edx, dword [ebp - 0xc]
add edx, edi
call fcn.00561040
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
call fcn.005be404
mov ecx, dword [ebp - 0x10]
add ecx, ebx
add ecx, esi
mov edx, dword [ebp - 0xc]
add edx, edi
add edx, dword [ebp - 0x14]
call fcn.00561040
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
fild dword [eax - 0xc]
fdiv dword [0x655c3c]
fmulp st(1)
mov eax, dword [ebp + 0xc]
fdiv qword [eax - 0x30]
call fcn.00402f78
mov edx, dword [ebp + 0xc]
mov dword [edx - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x18]
fdiv dword [0x655c3c]
fmulp st(1)
mov eax, dword [ebp + 0xc]
fdiv qword [eax - 0x30]
call fcn.00402f78
mov edx, dword [ebp + 0xc]
mov dword [edx - 0x54], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x10]
fmul dword [0x655c38]
fdiv dword [0x655c3c]
fmulp st(1)
mov eax, dword [ebp + 0xc]
fdiv qword [eax - 0x30]
call fcn.00402f78
sub ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax - 0x60], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 8]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0x34]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
fild dword [eax - 0x1c]
fmul dword [0x655c38]
fdiv dword [0x655c3c]
fmulp st(1)
mov eax, dword [ebp + 0xc]
fdiv qword [eax - 0x30]
call fcn.00402f78
sub ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax - 0x58], ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00654120
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x655c1b
ret