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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
xor eax, eax
mov dword [esp + eax + 0x108], edi
mov dword [esp + eax + 0x90], edi
mov dword [esp + eax + 0x10c], edi
mov dword [esp + eax + 0x94], edi
add eax, 0x18
cmp eax, 0x78
jl 0x463a0f
mov ebx, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x2c]
mov al, byte [ebx + 4]
cmp al, 0x10
jne 0x463a69
cmp byte [esi + 4], 0x10
jne 0x463a69
cmp ecx, 1
jne 0x463a5b
xor edx, edx
cmp dword [ebp + 0xc], ecx
setne dl
add edx, 0xb
jmp 0x463a80
xor edx, edx
cmp dword [ebp + 0xc], 1
setne dl
add edx, 0x15
jmp 0x463a80
cmp al, 0x10
je 0x463a77
cmp byte [esi + 4], 0x10
jne 0x463a84
cmp al, 0x10
jne 0x463a7d
mov dword [esp + 0x10], ecx
jmp 0x463a84
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
cmp al, 2
jne 0x463c70
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x58]
mov edx, dword [ebp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x80]
mov ecx, 6
lea edi, [esp + 0x20]
mov dword [esp + 0x18], esi
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push ebx
call fcn.00464b70
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
jne 0x463b4b
mov eax, dword [ebp + 0x2c]
cmp byte [eax + 4], 2
jne 0x464a03
lea esi, [eax + 0x68]
mov ecx, 6
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.0041b180
add esp, 0x20
cmp eax, 1
jne 0x464a03
mov ecx, 6
lea esi, [esp + 0x20]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
jmp 0x463bfc
cmp eax, 1
jle 0x463bfc
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x14], 1
lea ebx, [esp + 0x98]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x8c]
push esi
push edi
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
push eax
push ecx
call fcn.0041ae70
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0xc]
push esi
fstp qword [esp + 0x94]
push edi
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
call fcn.0041ae70
fcomp qword [esp + 0xb0]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x463be4
mov ecx, 6
mov esi, ebx
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
add ebx, 0x18
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x463b69
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
push eax
push ecx
call fcn.0041b470
add esp, 0x30
test eax, eax
jg 0x463c59
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x18]
mov ecx, 6
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
jmp 0x464600
cmp al, 4
jne 0x464114
lea esi, [ebx + 0x68]
mov ecx, 6
lea edi, [esp + 0x58]
lea edx, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, ebx
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x20]
lea eax, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call dword [0x4ffde4]
mov edx, dword [esp + 0x28]
mov ecx, 6
mov esi, eax
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
call fcn.0041ae70
mov eax, dword [ebp + 8]
add esp, 0x20
cmp eax, 1
fstp st(0)
jne 0x463f1c
mov esi, dword [ebp + 0x2c]
lea eax, [esp + 0xf8]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
push ebx
call fcn.00464b70
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 1
je 0x463de1
jle 0x463e96
mov dword [esp + 0x18], 1
jle 0x463de1
mov edi, dword [ebp + 0x1c]
lea esi, [esp + 0x110]
mov dword [esp + 0x14], esi
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push eax
push ecx
push edx
call fcn.0041ae70
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
fstp qword [esp + 0x94]
push eax
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.0041ae70
fcomp qword [esp + 0xb0]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x463dc5
mov esi, dword [esp + 0x14]
mov ecx, 6
lea edi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jl 0x463d41
mov ecx, 6
lea esi, [esp + 0xf8]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xac]
push edi
push eax
push ecx
push edx
push esi
call fcn.0041ad50
fst qword [esp + 0x58]
fabs
fcomp qword [0x502918]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x463e6d
mov dword [esp + 0x18], 0x54442d18
mov dword [esp + 0x1c], 0x401921fb
lea edx, [esp + 0x80]
mov ecx, ebx
push edx
call dword [0x4fff2c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xbc], ecx
jmp 0x464600
test eax, eax
jne 0x463df6
cmp byte [esi + 4], 4
jne 0x464a03
lea ecx, [esp + 0x170]
push ecx
mov ecx, dword [ebp + 0x2c]
call dword [0x4ffde4]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call fcn.0041b180
add esp, 0x20
cmp eax, 1
jne 0x464a03
mov ecx, 6
lea esi, [esp + 0x20]
jmp 0x463ded
mov esi, dword [ebp + 0x2c]
lea edx, [esp + 0xf8]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push ebx
call fcn.00464b70
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 1
je 0x464005
jle 0x464092
mov dword [esp + 0x18], 1
jle 0x464005
mov edi, dword [ebp + 0x1c]
lea esi, [esp + 0x110]
mov dword [esp + 0x14], esi
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
push eax
push ecx
call fcn.0041ae70
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edi
fstp qword [esp + 0x94]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
call fcn.0041ae70
fcomp qword [esp + 0xb0]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x463fe9
mov esi, dword [esp + 0x14]
mov ecx, 6
lea edi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jl 0x463f65
mov ecx, 6
lea esi, [esp + 0xf8]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
push edi
push eax
push ecx
push edx
push esi
call fcn.0041ad50
fld st(0)
fabs
fcomp qword [0x502918]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x464087
fstp st(0)
fld qword [0x5028a0]
fstp qword [ebx + 0xb8]
jmp 0x464600
test eax, eax
jne 0x46401a
cmp byte [esi + 4], 4
jne 0x464a03
mov ecx, dword [ebp + 0x2c]
lea eax, [esp + 0x170]
push eax
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.0041b180
add esp, 0x20
cmp eax, 1
jne 0x464a03
mov ecx, 6
lea esi, [esp + 0x38]
jmp 0x464011
cmp al, 0x10
jne 0x464605
cmp ebx, esi
je 0x464b57
cmp ecx, 1
lea ecx, [esp + 0xf8]
lea edx, [esp + 0x10]
push ecx
push edx
push esi
push ebx
jne 0x464354
call fcn.00464b70
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 1
jne 0x4641d1
mov ecx, 6
lea esi, [esp + 0xf8]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x2c]
lea edx, [esp + 0x78]
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0xfc]
push eax
push ecx
lea edx, [esp + 0x8c]
push ebx
push edx
call dword [0x500924]
fld qword [esp + 0x8c]
fcomp qword [0x502918]
add esp, 0x14
fnstsw ax
test ah, 1
je 0x4642ac
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push 0x3ff00000
push 0
push eax
push ecx
push ebx
call dword [0x500990]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4644bd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jle 0x46429b
cmp eax, 1
mov dword [esp + 0x18], 1
jle 0x464151
mov edi, dword [ebp + 0x1c]
lea esi, [esp + 0x110]
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
push eax
mov eax, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0x10c]
push ecx
push edx
push eax
call fcn.0041ae70
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
fstp qword [esp + 0x94]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.0041ae70
fcomp qword [esp + 0xb0]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x46427a
mov esi, dword [esp + 0x14]
mov ecx, 6
lea edi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jl 0x4641f6
jmp 0x464151
cmp eax, edi
jne 0x464169
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xa0]
lea esi, [esp + 0x38]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov edx, dword [ebx]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x500730]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], edx
mov dl, byte [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [0x500798]
push edx
mov edx, dword [0x500794]
mov dword [esp + 0x34], 0
mov cl, byte [eax]
mov dword [esp + 0x38], 0
mov al, byte [edx]
push ecx
push eax
mov ecx, 6
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x5c]
jmp 0x4645f3
call fcn.00464b70
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 1
jne 0x4643e2
mov ecx, 6
lea esi, [esp + 0xf8]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x2c]
lea edx, [esp + 0x78]
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0xfc]
push eax
push ecx
lea edx, [esp + 0x8c]
push ebx
push edx
call dword [0x500924]
fld qword [esp + 0x8c]
fcomp qword [0x502918]
add esp, 0x14
fnstsw ax
test ah, 1
je 0x464545
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push 0
push 0
push eax
push ecx
push ebx
call dword [0x500990]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4644bd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jle 0x4644ac
cmp eax, 1
mov dword [esp + 0x18], 1
jle 0x464365
mov edi, dword [ebp + 0x1c]
lea esi, [esp + 0x110]
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
push eax
mov eax, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x10c]
push edx
mov edx, dword [esp + 0x10c]
push eax
mov eax, dword [esp + 0x10c]
push ecx
push edx
push eax
call fcn.0041ae70
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edi
fstp qword [esp + 0x94]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.0041ae70
fcomp qword [esp + 0xb0]
add esp, 0x40
fnstsw ax
test ah, 1
je 0x46448b
mov esi, dword [esp + 0x14]
mov ecx, 6
lea edi, [esp + 0xf8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jl 0x464407
jmp 0x464365
cmp eax, edi
jne 0x46437d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0xa4]
push edx
call fcn.004a00fc
mov eax, dword [ebx + 0xa0]
push eax
call fcn.004a00fc
mov ecx, dword [edi + 0xa0]
add esp, 8
mov dword [ebx + 0xa0], ecx
mov edx, dword [edi + 0xa4]
mov dword [ebx + 0xa4], edx
mov eax, dword [edi + 0x98]
mov dword [ebx + 0x98], eax
mov ecx, dword [edi + 0x9c]
xor eax, eax
mov dword [ebx + 0x9c], ecx
mov dword [edi + 0xa4], eax
mov dword [edi + 0xa0], eax
mov dword [edi + 0x6c], eax
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov edi, dword [ebp + 0x30]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push ebx
call dword [0x500928]
push edi
push 0x28
push ebx
call dword [0x4ff8f0]
add esp, 0x18
jmp 0x464603
mov edx, dword [ebx + 0x98]
mov eax, dword [ebx + 0xa0]
shl edx, 5
add eax, edx
lea esi, [esp + 0x38]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x500730]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], edx
mov dl, byte [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [0x500798]
push edx
mov edx, dword [0x500794]
mov dword [esp + 0x34], 0
mov cl, byte [eax]
mov dword [esp + 0x38], 0
mov al, byte [edx]
push ecx
push eax
mov ecx, 6
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x5c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff36c]
add esp, 0x3c
mov esi, dword [ebp + 0x2c]
xor edi, edi
mov al, byte [esi + 4]
cmp al, 2
jne 0x4646ad
mov eax, dword [ebp + 0x2c]
mov ecx, 6
lea edi, [esp + 0x58]
lea ebx, [eax + 0x68]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x60]
lea esi, [eax + 0x80]
mov eax, dword [esp + 0x5c]
mov ecx, 6
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
push edx
push eax
call fcn.0041b470
add esp, 0x30
test eax, eax
jg 0x464691
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 6
lea esi, [esp + 0x80]
mov edi, ebx
mov eax, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 4
jne 0x4647fc
mov ebx, dword [ebp + 0x2c]
mov ecx, 6
lea edi, [esp + 0x58]
lea esi, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x170]
push ecx
mov ecx, ebx
call dword [0x4ffde8]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, ebx
call dword [0x4ffde4]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, 6
lea edi, [esp + 0x38]
cmp eax, 1
rep movsd dword es:[edi], dword [esi]
jne 0x4647a3
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xac]
push edi
push eax
push ecx
push edx
push esi
call fcn.0041ad50
fstp qword [esp + 0x58]
add esp, 0x40
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
call dword [0x4fff2c]
fld qword [esp + 0x18]
fld st(0)
fabs
fcomp qword [0x502918]
fnstsw ax
test ah, 1
je 0x464791
fstp st(0)
fld qword [0x5028a0]
fstp qword [ebx + 0xb8]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x4c]
push edi
push eax
push ecx
push edx
push esi
call fcn.0041ad50
add esp, 0x40
jmp 0x464778
cmp al, 0x10
jne 0x464b57
cmp dword [ebp + 0xc], 1
jne 0x4649ab
lea eax, [esp + 0x78]
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0xfc]
push ecx
push edx
lea eax, [esp + 0x8c]
push esi
push eax
call dword [0x500924]
fld qword [esp + 0x8c]
fcomp qword [0x502918]
add esp, 0x14
fnstsw ax
test ah, 1
je 0x464900
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0x3ff00000
push edi
push ecx
push edx
push esi
call dword [0x500990]
mov ebx, eax
add esp, 0x14
cmp ebx, edi
jne 0x464873
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xa4]
push eax
call fcn.004a00fc
mov ecx, dword [esi + 0xa0]
push ecx
call fcn.004a00fc
mov edx, dword [ebx + 0xa0]
add esp, 8
mov dword [esi + 0xa0], edx
mov eax, dword [ebx + 0xa4]
mov dword [esi + 0xa4], eax
mov ecx, dword [ebx + 0x98]
mov dword [esi + 0x98], ecx
mov edx, dword [ebx + 0x9c]
mov dword [esi + 0x9c], edx
mov dword [ebx + 0xa4], edi
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0x6c], edi
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebp + 0x30]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
push esi
call dword [0x500928]
push edi
push 0x28
push esi
call dword [0x4ff8f0]
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x2c]
lea esi, [esp + 0x38]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [eax + 0xa0]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x500730]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], edx
mov dl, byte [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [0x500798]
push edx
mov edx, dword [0x500794]
mov cl, byte [eax]
mov al, byte [edx]
push ecx
push eax
mov ecx, 6
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x5c]
jmp 0x464b4a
lea ecx, [esp + 0x78]
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0xfc]
push edx
push eax
lea ecx, [esp + 0x8c]
push esi
push ecx
call dword [0x500924]
fld qword [esp + 0x8c]
fcomp qword [0x502918]
add esp, 0x14
fnstsw ax
test ah, 1
je 0x464a99
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edi
push edi
push edx
push eax
push esi
call dword [0x500990]
mov ebx, eax
add esp, 0x14
cmp ebx, edi
jne 0x464a0c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xa4]
push ecx
call fcn.004a00fc
mov edx, dword [esi + 0xa0]
push edx
call fcn.004a00fc
mov eax, dword [ebx + 0xa0]
add esp, 8
mov dword [esi + 0xa0], eax
mov ecx, dword [ebx + 0xa4]
mov dword [esi + 0xa4], ecx
mov edx, dword [ebx + 0x98]
mov dword [esi + 0x98], edx
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0x9c], eax
mov dword [ebx + 0xa4], edi
mov dword [ebx + 0xa0], edi
mov dword [ebx + 0x6c], edi
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
mov edi, dword [ebp + 0x30]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push esi
call dword [0x500928]
push edi
push 0x28
push esi
call dword [0x4ff8f0]
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x2c]
lea esi, [esp + 0x38]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov edx, dword [eax + 0x98]
mov eax, dword [eax + 0xa0]
shl edx, 5
add eax, edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x500730]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], edx
mov dl, byte [ecx]
mov dword [esp + 0x44], eax
mov eax, dword [0x500798]
push edx
mov edx, dword [0x500794]
mov cl, byte [eax]
mov al, byte [edx]
push ecx
push eax
mov ecx, 6
sub esp, 0x18
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x5c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4ff36c]
add esp, 0x3c
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret