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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x80
mov eax, dword [0x21e9fa0]
mov esi, dword [esp + 0x98]
push 0x4fa730
movsd xmm0, qword [eax*8 + 0x5e4e230]
lea edx, [eax*8 + 0x5e4e230]
movsd xmm1, qword [0x4fa940]
movsd xmm2, qword [edx - 0xd8]
push edx
movsd qword [0x21ec090], xmm0
movsd qword [0x21ec098], xmm1
mov dword [0x21ec0c8], 0xffffffff
movsd qword [esi], xmm2
call fcn.004181e0
add esp, 8
mov edx, dword [esp + 0xa8]
pxor xmm1, xmm1
mov eax, dword [esp + 0x9c]
movsd xmm0, qword [edx]
mov edi, dword [esp + 0xa0]
fst qword [0x21ec0a0]
ucomisd xmm0, xmm1
jp 0x436fb0
je 0x43748d
comisd xmm0, xmm1
jbe 0x437199
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
comisd xmm0, xmmword [eax]
jae 0x43742c
mov ecx, dword [esp + 0xb8]
mov ebx, eax
mov dword [ecx], 5
mov ecx, 0xffffffff
mov dword [esp + 0x64], ebp
mov ebp, ecx
push 0x4fa738
push esi
call fcn.00419610
fstp qword [esp + 0x70]
movsd xmm2, qword [esp + 0x70]
push 0x4fa738
push esi
movsd qword [0x21ec0a8], xmm2
movsd qword [esp + 0x80], xmm2
call fcn.004194c0
fstp qword [esp + 0x78]
movsd xmm2, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x78]
movsd xmm0, qword [ebx]
subsd xmm1, xmm2
subsd xmm0, xmm2
divsd xmm0, xmm1
push edi
push esi
movsd qword [edi], xmm0
call fcn.00418810
add esp, 0x18
mov edx, dword [esp + 0xb4]
mov eax, 0x4fa750
mov dword [esp], esi
fstp qword [0x21ec0b0]
mov edx, dword [edx]
dec edx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov edx, 0x4fa740
mov dword [esp + 8], 0x21ec0b0
mov dword [esp + 0xc], 0x4fa748
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x21ec090
mov dword [esp + 0x18], 0x21ec098
mov dword [esp + 0x1c], 0x4fa754
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x78]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x34], 0x5251cc
mov dword [esp + 0x38], 0x21ec0b8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x4fb250
mov dword [esp + 0x44], 0x4fb258
mov dword [esp + 0x48], 0x4fb268
mov dword [esp + 0x4c], 0x21ebfa0
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x436fe8
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov dword [esp], 0x21ebfa0
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fb270
movq qword [esp + 0x10], xmm1
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x43741d
test ebp, 1
je 0x437373
mov edx, dword [0x21e9fa0]
xor ebp, ebp
mov dword [0x21ec0c8], 0
movsd xmm0, qword [edx*8 + 0x5e4e230]
movsd qword [esi], xmm0
jmp 0x436fe8
fstp qword [esp + 0x68]
movsd xmm0, qword [eax]
movsd xmm1, qword [esp + 0x68]
comisd xmm0, xmm1
jae 0x43742c
mov ecx, 0xffffffff
mov dword [esp + 0x64], ebp
mov ebp, ecx
mov ebx, dword [esp + 0xb4]
push 0x4fa730
push esi
call fcn.00419610
fstp qword [esp + 0x70]
movsd xmm2, qword [esp + 0x70]
push 0x4fa730
push esi
movsd qword [0x21ec0a8], xmm2
movsd qword [esp + 0x80], xmm2
call fcn.004194c0
fstp qword [esp + 0x78]
movsd xmm2, qword [esp + 0x80]
movsd xmm1, qword [esp + 0x78]
push edi
push esi
mov eax, dword [esp + 0xb4]
subsd xmm1, xmm2
movsd xmm0, qword [eax]
subsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [edi], xmm0
call fcn.00418810
add esp, 0x18
mov edx, dword [esp + 0xa8]
mov dword [esp], esi
mov eax, dword [ebx]
mov dword [esp + 4], edx
dec eax
mov dword [esp + 8], 0x21ec0b0
mov edx, 0x4fa750
mov dword [esp + 0x7c], eax
mov eax, 0x4fa740
mov dword [esp + 0xc], 0x4fa748
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x21ec090
mov dword [esp + 0x18], 0x21ec098
mov dword [esp + 0x1c], 0x4fa754
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x34], 0x5251cc
mov dword [esp + 0x38], 0x21ec0b8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x4fb274
mov dword [esp + 0x44], 0x4fb27c
mov dword [esp + 0x48], 0x4fb28c
mov dword [esp + 0x4c], 0x21ebfa0
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x21ec0b0]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x4371c3
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov dword [esp], 0x21ebfa0
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fb294
movq qword [esp + 0x10], xmm1
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x437476
test ebp, 1
je 0x43743b
mov eax, dword [0x21e9fa0]
xor ebp, ebp
mov dword [0x21ec0c8], 0
movsd xmm0, qword [eax*8 + 0x5e4e230]
movsd qword [esi], xmm0
jmp 0x4371c3
movsd xmm1, qword [esi]
mov eax, ebx
movsd xmm0, qword [0x21ec098]
mov edx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x64]
comisd xmm0, xmm1
ja 0x43739c
comisd xmm1, xmmword [0x21ec090]
jbe 0x4373ab
mov eax, dword [esp + 0xb8]
mov dword [eax], 1
jmp 0x437413
mov ecx, dword [esp + 0xb8]
mov dword [ecx], 2
mov ebx, 0x4fa758
mov ecx, 0x4fa750
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov eax, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov edx, ebx
mov edi, dword [esp + 0xac]
mov dword [esp + 0x34], edi
call fcn.0042deec
add esp, 0x80
pop ebx
pop edi
pop esi
ret
mov edx, dword [esp + 0xa8]
mov eax, ebx
mov ebp, dword [esp + 0x64]
jmp 0x4373b8
mov eax, dword [esp + 0xb8]
mov dword [eax], 9
jmp 0x437413
movsd xmm1, qword [esi]
movsd xmm0, qword [0x21ec098]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x64]
comisd xmm0, xmm1
ja 0x43739c
comisd xmm1, xmmword [0x21ec090]
ja 0x43739c
jmp 0x4373ab
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x64]
jmp 0x4373b8
fstp qword [esp + 0x68]
movsd xmm0, qword [esp + 0x68]
comisd xmm0, xmmword [eax]
jae 0x43742c
mov ecx, dword [esp + 0xb8]
mov ebx, eax
movsd xmm0, qword [0x4fa968]
movsd qword [edi], xmm0
mov dword [ecx], 5
mov ecx, 0xffffffff
mov dword [esp + 0x64], ebp
mov edi, ecx
movq xmm1, qword [0x4fa958]
movq xmm0, qword [0x4fa960]
mov ebp, dword [esp + 0xb4]
push 0x4fa738
push esi
call fcn.004181e0
add esp, 8
mov dword [esp], esi
mov eax, 0x4fa750
mov edx, dword [ebp]
mov dword [esp + 4], ebx
dec edx
mov dword [esp + 8], 0x21ec0c0
mov dword [esp + 0x68], edx
mov edx, 0x4fa740
mov dword [esp + 0xc], 0x4fa748
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x21ec090
mov dword [esp + 0x18], 0x21ec098
mov dword [esp + 0x1c], 0x4fa754
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x34], 0x5251cc
mov dword [esp + 0x38], 0x21ec0b8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x4fb298
mov dword [esp + 0x44], str.STATE_IDX47
mov dword [esp + 0x48], 0x4fb2b0
mov dword [esp + 0x4c], 0x21ebfa0
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 6
fstp qword [0x21ec0c0]
mov dword [esp + 0x60], 0x50
call fcn.004415b0
cmp eax, 1
je 0x4374da
movq xmm0, qword [0x4fa958]
movq xmm1, qword [0x4fa960]
mov dword [esp], 0x21ebfa0
movq qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x4fb2b8
movq qword [esp + 0x10], xmm1
movq qword [esp + 0x18], xmm1
call fcn.00449e00
test eax, eax
je 0x43765f
test edi, 1
je 0x437622
mov edx, dword [0x21e9fa0]
xor edi, edi
mov dword [0x21ec0c8], 0
movsd xmm0, qword [edx*8 + 0x5e4e230]
movsd qword [esi], xmm0
jmp 0x4374da
movsd xmm1, qword [esi]
mov eax, ebx
movsd xmm0, qword [0x21ec098]
mov edx, dword [esp + 0xa8]
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x64]
comisd xmm0, xmm1
ja 0x43739c
comisd xmm1, xmmword [0x21ec090]
ja 0x43739c
jmp 0x4373ab
mov edx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x64]
jmp 0x4373b8