Function at 0x57b4ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
mov eax, dword [esi]
call fcn.00579c54
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x140]
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x13c]
mov eax, dword [esi]
test byte [eax + 0x1c], 0x10
jne 0x57c865
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
mov edx, dword [eax]
call dword [edx + 8]
test eax, eax
je 0x57c865
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
je 0x57c865
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
call fcn.00620c18
test al, al
je 0x57b578
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
call fcn.00620bdc
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebx, eax
jne 0x57c865
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
call fcn.00620bdc
mov edx, dword [eax]
call dword [edx + 8]
mov ebx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x5d4]
mov edx, dword [eax]
call dword [edx + 8]
cmp ebx, eax
jne 0x57c865
mov byte [ebp - 0x29], 1
mov eax, dword [esi]
mov eax, dword [eax + 0x5e0]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x57c662
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x28], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x5e0]
mov edx, dword [ebp - 0x28]
call fcn.0041bc38
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x64], 0
je 0x57c653
mov eax, dword [esi]
cmp dword [eax + 0x388], 0
je 0x57c653
mov eax, dword [esi]
cmp dword [eax + 0x38c], 0
je 0x57c653
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [esi]
cmp eax, dword [edx + 0x3a4]
jge 0x57b60d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [esi]
cmp eax, dword [edx + 0x3a4]
jl 0x57c653
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x65], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x5e0]
mov eax, dword [eax + 8]
dec eax
cmp eax, dword [ebp - 0x28]
jle 0x57b666
mov edx, dword [ebp - 0x28]
inc edx
mov eax, dword [esi]
call fcn.005799b4
cmp byte [eax + 0xb4], 0
je 0x57b666
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xb4], 0
jne 0x57b666
mov eax, dword [ebp - 0x18]
fld qword [eax + 8]
fcomp dword [0x57c870]
fnstsw ax
sahf
jne 0x57b666
mov edx, dword [ebp - 0x28]
inc edx
mov eax, dword [esi]
call fcn.005799b4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x28], 0
jle 0x57b701
cmp dword [ebp - 0x14], 0
jne 0x57b701
mov eax, dword [esi]
cmp byte [eax + 0x40c], 1
jne 0x57b701
mov byte [ebp - 0x65], 1
push 0
push 0
mov ecx, dword [esi]
mov dl, 1
mov eax, dword [0x56eaf8]
call fcn.00579f54
mov dword [ebp - 0x14], eax
push 3
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x60]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x24]
push 0x406fe000
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x60]
call fcn.0062658c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
push ebp
call fcn.0057af50
pop ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0x29]
and al, byte [ebp + 0xc]
je 0x57b722
push ebp
xor eax, eax
call fcn.0057ad5c
pop ecx
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xae], 0
je 0x57b73c
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0xad]
mov byte [ebp - 0x2a], al
jmp 0x57b747
mov eax, dword [esi]
mov al, byte [eax + 0x252]
mov byte [ebp - 0x2a], al
mov eax, dword [esi]
cmp byte [eax + 0x5f1], 0
jne 0x57b790
cmp dword [ebp - 0x28], 0
jne 0x57ba31
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
jne 0x57ba31
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x24], 0
jne 0x57ba31
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], 0
jne 0x57ba31
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0
jne 0x57ba31
mov eax, dword [esi]
cmp byte [eax + 0x650], 0
je 0x57b7fe
mov eax, dword [esi]
mov eax, dword [eax + 0x378]
mov edx, dword [esi]
cmp eax, dword [edx + 0x370]
jne 0x57b7fe
mov eax, dword [esi]
mov eax, dword [eax + 0x37c]
mov edx, dword [esi]
cmp eax, dword [edx + 0x374]
jne 0x57b7fe
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x2c], 0
je 0x57b7fe
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp ebx, eax
jne 0x57b7fe
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
call dword [edx + 8]
cmp ebx, eax
je 0x57b915
mov eax, dword [esi]
add eax, 0x618
push eax
mov eax, dword [esi]
add eax, 0x61c
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x48c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x490]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x388]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x38c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x378]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x37c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x380]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x384]
push eax
mov eax, dword [esi]
mov al, byte [eax + 0x5d0]
push eax
mov eax, dword [esi]
cmp byte [eax + 0x255], 0
sete al
and al, byte [ebp - 0x29]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov al, byte [ebp - 0x2a]
push eax
push 1
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0xa0]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00627088
mov eax, dword [esi]
cmp byte [eax + 0x650], 0
je 0x57b955
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x2c], 0
jne 0x57b8bf
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620658
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00606f00
mov eax, dword [ebp - 8]
call fcn.00620c18
test al, al
je 0x57b8f3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
call fcn.00620bdc
push eax
mov eax, dword [ebp - 8]
call fcn.00620bdc
pop edx
call fcn.00606f00
mov eax, dword [esi]
mov eax, dword [eax + 0x378]
mov edx, dword [esi]
mov dword [edx + 0x370], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x37c]
mov edx, dword [esi]
mov dword [edx + 0x374], eax
jmp 0x57b955
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 8]
call fcn.00606f00
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
call fcn.00620c18
test al, al
je 0x57b94c
mov eax, dword [ebp - 8]
call fcn.00620bdc
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
call fcn.00620bdc
pop edx
call fcn.00606f00
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x490]
mov edx, dword [esi]
add eax, dword [edx + 0x38c]
push eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x48c]
mov eax, dword [esi]
add ecx, dword [eax + 0x388]
mov eax, dword [esi]
mov edx, dword [eax + 0x490]
mov eax, dword [esi]
mov eax, dword [eax + 0x48c]
call fcn.0041a5cc
mov eax, dword [ebp - 0x18]
push esi
lea esi, [ebp - 0xc4]
lea edi, [eax + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esi]
mov eax, dword [eax + 0x48c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xb8], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x490]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xbc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x388]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc0], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x38c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc4], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x378]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc8], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xcc], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x380]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xd0], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x384]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xd4], eax
jmp 0x57c52f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
call fcn.0057a6f0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
call fcn.0057a704
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
fld qword [eax + 8]
fcomp dword [0x57c870]
fnstsw ax
sahf
je 0x57bbf5
mov eax, dword [esi]
cmp byte [eax + 0x250], 0
jne 0x57ba98
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x2c], 0
jne 0x57bbd0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x2c], 0
jne 0x57bac5
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x619234]
call fcn.00620800
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
jmp 0x57badf
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov ebx, dword [eax]
call dword [ebx + 0x24]
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0xad]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00603ca4
push 0
push 0x5a
mov eax, dword [ebp - 0x18]
fld qword [eax + 8]
call fcn.00403048
test edx, edx
jge 0x57bb16
neg eax
adc edx, 0
neg edx
call fcn.004060dc
cmp edx, 0
jne 0x57bb23
cmp eax, 0
je 0x57bb93
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
cmp al, 5
jne 0x57bb93
mov eax, dword [ebp - 0xc]
call fcn.00620bdc
mov edx, dword [eax]
call dword [edx + 0x10]
add al, 0xfe
sub al, 2
jae 0x57bb93
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
call fcn.00620bdc
xor edx, edx
call fcn.00607ab0
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
lea edx, [ebp - 0xc8]
xor eax, eax
call fcn.00601ae8
mov al, byte [ebp - 0xc6]
shl eax, 0x10
mov ax, word [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
call fcn.00606f7c
jmp 0x57bbd0
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
call fcn.00620bdc
xor ecx, ecx
xor edx, edx
call fcn.00615568
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
xor edx, edx
call fcn.00615568
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0xb8]
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
push dword [eax + 8]
fild dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
fmul qword [eax + 0x118]
call fcn.00403054
push eax
fild dword [ebp - 0x50]
mov eax, dword [ebp - 0x18]
fmul qword [eax + 0x110]
call fcn.00403054
mov ecx, eax
lea eax, [ebx + 0x20]
mov edx, 3
call fcn.00631efc
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x20]
call fcn.00601bbc
mov edx, dword [ebx + 0x30]
call fcn.00601bbc
mov edx, dword [ebx + 0x38]
call fcn.00601bbc
add eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x6c], eax
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x24]
call fcn.00601bbc
mov edx, dword [ebx + 0x34]
call fcn.00601bbc
mov edx, dword [ebx + 0x3c]
call fcn.00601bbc
add eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x70], eax
xor edi, edi
mov eax, dword [ebx + edi*8 + 0x20]
add eax, dword [ebp - 0x7c]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [esi]
fmul qword [eax + 0x460]
call fcn.00403054
mov edx, dword [esi]
add eax, dword [edx + 0x48c]
mov edx, dword [esi]
sub eax, dword [edx + 0x444]
mov dword [ebx + edi*8 + 0x20], eax
mov eax, dword [ebx + edi*8 + 0x24]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [esi]
fmul qword [eax + 0x470]
call fcn.00403054
mov edx, dword [esi]
add eax, dword [edx + 0x490]
mov edx, dword [esi]
sub eax, dword [edx + 0x448]
mov dword [ebx + edi*8 + 0x24], eax
inc edi
cmp edi, 4
jne 0x57bcaf
cmp dword [ebp - 0x28], 0
jle 0x57c141
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x88], 0
je 0x57c141
mov eax, dword [ebp - 0x18]
fld qword [eax + 0x90]
fcomp dword [0x57c874]
fnstsw ax
sahf
jb 0x57c141
mov eax, dword [esi]
cmp byte [eax + 0x60c], 0
jne 0x57bd88
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20], 0
jle 0x57bd71
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00620f24
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x24], 0
jle 0x57bd88
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0xc]
call fcn.006210e4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [ebp - 0x18]
fld qword [eax + 0x90]
mov eax, dword [esi]
fdiv qword [eax + 0x460]
fdivp st(1)
call fcn.00403054
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [ebp - 0x18]
fld qword [eax + 0x90]
mov eax, dword [esi]
fdiv qword [eax + 0x470]
fdivp st(1)
call fcn.00403054
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x6c]
mov eax, dword [esi]
call fcn.00572204
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [esi]
fmul qword [eax + 0x460]
fdiv dword [0x57c878]
call fcn.00403054
add ebx, eax
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
mov eax, dword [esi]
call fcn.00572288
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [esi]
fmul qword [eax + 0x470]
fdiv dword [0x57c878]
call fcn.00403054
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
sar eax, 1
jns 0x57be78
adc eax, 0
sub dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
sar eax, 1
jns 0x57be85
adc eax, 0
sub dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
sar eax, 1
jns 0x57be92
adc eax, 0
sub dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
sar eax, 1
jns 0x57be9f
adc eax, 0
sub dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x99]
sub al, 1
jb 0x57bf2b
jne 0x57c044
mov dl, 2
mov eax, dword [ebp - 0xc]
call fcn.00626dac
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
call fcn.0041a5cc
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
push eax
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a5cc
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 8]
call fcn.00626f1c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00620a14
call fcn.0042e9bc
pop ecx
pop edx
call fcn.0042934c
jmp 0x57c044
mov dl, 5
mov eax, dword [ebp - 0xc]
call fcn.00621670
mov edx, dword [ebp - 0x58]
mov eax, dword [esi]
call fcn.0057230c
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi]
call fcn.00572358
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [esi]
call fcn.0057230c
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [esi]
call fcn.00572358
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x5c], 0
jl 0x57c044
cmp dword [ebp - 0x58], 0
jl 0x57c044
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
sub eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x58]
jle 0x57c044
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 8]
sub eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x5c]
jle 0x57c044
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, dword [ebp - 0x50]
jle 0x57c044
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 8]
cmp eax, dword [ebp - 0x54]
jle 0x57c044
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0062658c
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0xff
mov al, byte [ebp - 0x2a]
push eax
push 0
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00626fa0
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x98]
sub al, 1
jb 0x57c058
je 0x57c071
jmp 0x57c141
push 0x406fe000
push 0
mov eax, dword [ebp - 0xc]
call fcn.00620bdc
call fcn.0062658c
jmp 0x57c141
mov eax, dword [ebp - 0xc]
call fcn.00620bdc
mov dl, 2
call fcn.00626dac
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00620bdc
call fcn.0062658c
mov eax, dword [ebp - 0xc]
call fcn.00620bdc
mov byte [eax + 0x4b], 0
mov eax, dword [ebp - 0xc]
call fcn.00620bdc
call fcn.00620a14
call fcn.0042e9bc
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.004291a0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x14]
mov edx, 0x10000ff
call fcn.00429084
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00428e80
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x10]
mov dl, 4
call fcn.00428e64
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x10]
mov edx, 0x10000ff
call fcn.00428d84
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.00428eb0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
dec eax
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
dec eax
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xa8]
call fcn.004294b4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x6c]
mov eax, dword [esi]
call fcn.00572204
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
mov eax, dword [esi]
call fcn.00572288
mov edi, eax
push ebp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
mov eax, edi
call fcn.0057b434
pop ecx
mov edi, eax
push ebp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x6c]
mov eax, ebx
call fcn.0057b470
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x57c19b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x6c]
add edx, dword [ebp - 0x50]
mov eax, dword [esi]
call fcn.00572204
mov dword [ebp - 0x40], eax
push ebp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x6c]
add edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
call fcn.0057b470
pop ecx
mov dword [ebp - 0x40], eax
sub dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x57c1e1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
add edx, dword [ebp - 0x54]
mov eax, dword [esi]
call fcn.00572288
mov dword [ebp - 0x44], eax
push ebp
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
add edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
call fcn.0057b434
pop ecx
mov dword [ebp - 0x44], eax
sub dword [ebp - 0x44], edi
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
add eax, edi
push eax
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, ebx
mov edx, edi
mov eax, ebx
call fcn.0041a5cc
mov eax, dword [ebp - 0x18]
push esi
push edi
lea esi, [ebp - 0xc4]
lea edi, [eax + 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x84], 0
je 0x57c435
mov edx, ebx
mov eax, dword [esi]
call fcn.0057230c
test eax, eax
jge 0x57c2d2
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
fild dword [ebp - 0x50]
fdivp st(1)
mov eax, dword [ebp - 0x18]
fild dword [eax + 0x6c]
fmulp st(1)
call fcn.00403054
neg eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
xor edx, edx
mov eax, dword [esi]
call fcn.00572204
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x6c]
add edx, dword [ebp - 0x50]
mov eax, dword [esi]
call fcn.00572204
sub eax, ebx
mov dword [ebp - 0x40], eax
mov edx, edi
mov eax, dword [esi]
call fcn.00572358
test eax, eax
jge 0x57c338
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
fild dword [ebp - 0x54]
fdivp st(1)
mov eax, dword [ebp - 0x18]
fild dword [eax + 0x70]
fmulp st(1)
call fcn.00403054
neg eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
xor edx, edx
mov eax, dword [esi]
call fcn.00572288
mov edi, eax
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x70]
add edx, dword [ebp - 0x54]
mov eax, dword [esi]
call fcn.00572288
sub eax, edi
mov dword [ebp - 0x44], eax
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
mov edx, dword [ebp - 0x40]
add edx, ebx
mov eax, dword [esi]
call fcn.0057230c
pop edx
cmp edx, eax
jge 0x57c3b5
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [esi]
call fcn.00572204
sub eax, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 0x18]
sub eax, dword [edx + 0x74]
mov dword [ebp - 0xe0], eax
fild dword [ebp - 0xe0]
fdivp st(1)
fild dword [ebp - 0x40]
fmulp st(1)
call fcn.00403054
mov dword [ebp - 0x38], eax
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 8]
push eax
mov edx, dword [ebp - 0x44]
add edx, edi
mov eax, dword [esi]
call fcn.00572358
pop edx
cmp edx, eax
jge 0x57c435
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, eax
mov eax, dword [esi]
call fcn.00572288
sub eax, edi
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0xcc], eax
fild dword [ebp - 0xcc]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 0x18]
sub eax, dword [edx + 0x78]
mov dword [ebp - 0xe0], eax
fild dword [ebp - 0xe0]
fdivp st(1)
fild dword [ebp - 0x44]
fmulp st(1)
call fcn.00403054
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [esi]
mov al, byte [eax + 0x5d0]
push eax
mov eax, dword [esi]
cmp byte [eax + 0x255], 0
sete al
and al, byte [ebp - 0x29]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov al, byte [ebp - 0x2a]
push eax
push 1
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0xa0]
push eax
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00627088
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xb8], ebx
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xbc], edi
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc0], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
mov dword [eax + 0xc4], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xc8], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0xcc], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xd0], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xd4], edx
mov eax, dword [ebp - 0x18]
fld qword [eax + 8]
fcomp dword [0x57c870]
fnstsw ax
sahf
je 0x57c52f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x74]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x70], edx
cmp byte [ebp + 8], 0
je 0x57c63a
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x65], 0
je 0x57c60d
mov eax, dword [esi]
mov eax, dword [eax + 0x5e4]
cmp eax, dword [ebp - 0x28]
jne 0x57c5ee
mov eax, dword [esi]
test byte [eax + 0x5b1], 1
jne 0x57c56d
mov eax, dword [esi]
test byte [eax + 0x5b1], 2
je 0x57c581
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
call fcn.0057ccbc
mov eax, dword [esi]
test byte [eax + 0x5b1], 2
je 0x57c5cd
mov eax, dword [esi]
mov edx, dword [eax + 0x5e4]
mov eax, dword [esi]
mov eax, dword [eax + 0x5e0]
call fcn.0041bc38
cmp byte [eax + 0x85], 0
jne 0x57c5cd
mov eax, dword [esi]
test byte [eax + 0x5b1], 4
setne al
push eax
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
call fcn.0057d420
jmp 0x57c60d
mov eax, dword [esi]
test byte [eax + 0x5b1], 4
je 0x57c60d
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
call fcn.0057d5f8
jmp 0x57c60d
mov eax, dword [esi]
cmp byte [eax + 0x5f2], 0
je 0x57c60d
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
call fcn.0057ccbc
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xf8], 0
je 0x57c63a
mov eax, dword [esi]
mov eax, dword [eax + 0x5e4]
cmp eax, dword [ebp - 0x28]
jne 0x57c63a
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
call fcn.0057cd38
push ebp
call fcn.0057b3cc
pop ecx
cmp byte [ebp - 0x65], 0
je 0x57c64f
mov eax, dword [ebp - 0x14]
call fcn.00404084
mov byte [ebp - 0x29], 0
inc dword [ebp - 0x28]
dec dword [ebp - 0xa4]
jne 0x57b59e
mov eax, dword [esi]
cmp byte [eax + 0x40c], 2
je 0x57c67c
mov eax, dword [esi]
cmp byte [eax + 0x40c], 3
jne 0x57c82c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 8]
mov dword [ebp - 0x54], eax
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0xb8]
mov dword [ebp - 0x58], eax
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0xbc]
mov dword [ebp - 0x5c], eax
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0xc0]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
xor edx, edx
mov eax, dword [esi]
call fcn.005799b4
mov eax, dword [eax + 0xc4]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
dec eax
test eax, eax
jl 0x57c82c
inc eax
mov dword [ebp - 0xa4], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi]
mov al, byte [eax + 0x40c]
sub al, 2
je 0x57c716
dec al
je 0x57c77e
jmp 0x57c81f
mov eax, dword [ebp - 0x50]
dec eax
test eax, eax
jl 0x57c81f
inc eax
mov dword [ebp - 0xac], eax
xor edi, edi
cmp ebx, dword [ebp - 0x5c]
jl 0x57c73f
cmp ebx, dword [ebp - 0x64]
jg 0x57c73f
cmp edi, dword [ebp - 0x58]
jl 0x57c73f
cmp edi, dword [ebp - 0x60]
jle 0x57c76c
lea eax, [ebx + edi]
test al, 1
jne 0x57c76c
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov byte [eax + 2], 0x80
mov eax, dword [ebp - 0xb0]
mov byte [eax + 1], 0x80
mov eax, dword [ebp - 0xb0]
mov byte [eax], 0x80
add dword [ebp - 0x6c], 3
inc edi
dec dword [ebp - 0xac]
jne 0x57c72b
jmp 0x57c81f
mov eax, dword [ebp - 0x50]
dec eax
test eax, eax
jl 0x57c81f
inc eax
mov dword [ebp - 0xac], eax
xor edi, edi
cmp ebx, dword [ebp - 0x5c]
jl 0x57c7a7
cmp ebx, dword [ebp - 0x64]
jge 0x57c7a7
cmp edi, dword [ebp - 0x58]
jl 0x57c7a7
cmp edi, dword [ebp - 0x60]
jl 0x57c80e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax + 2]
mov edx, dword [esi]
add eax, dword [edx + 0x410]
call fcn.00601bd4
mov edx, dword [ebp - 0xb4]
mov byte [edx + 2], al
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax + 1]
mov edx, dword [esi]
add eax, dword [edx + 0x410]
call fcn.00601bd4
mov edx, dword [ebp - 0xb4]
mov byte [edx + 1], al
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
mov edx, dword [esi]
add eax, dword [edx + 0x410]
call fcn.00601bd4
mov edx, dword [ebp - 0xb4]
mov byte [edx], al
add dword [ebp - 0x6c], 3
inc edi
dec dword [ebp - 0xac]
jne 0x57c793
inc ebx
dec dword [ebp - 0xa4]
jne 0x57c6f5
mov al, byte [ebp - 0x29]
and al, byte [ebp + 0xc]
je 0x57c83d
push ebp
mov al, 1
call fcn.0057ad5c
pop ecx
cmp byte [ebp + 8], 0
je 0x57c865
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov eax, dword [esi]
call fcn.0057a9fc
mov eax, dword [ebp - 8]
call fcn.00620a14
mov edx, eax
mov eax, dword [esi]
call fcn.0057aab4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc