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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4c
mov eax, dword [0x470080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0xf4c], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x4371bf
comiss xmm0, dword [ebx + 0x20]
jae 0x4371bf
mov esi, dword [0x470c10]
test esi, esi
je 0x436964
mov esi, dword [esi + 0x78]
jmp 0x436966
xor esi, esi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x38]
mov edi, dword [esi + 4]
mov dword [ebp - 0xf34], esi
mov dword [ebp - 0xf3c], edi
mov dword [ebp - 0xf2c], eax
test ecx, ecx
je 0x43699d
mov eax, dword [eax]
cmp eax, dword [ebx + 0xc]
jge 0x4369f9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea edx, [esi + 0xc]
mov dword [edx], 0
jmp 0x4369a6
mov dword [ebp - 0xf2c], eax
lea edx, [esi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xf2c]
add eax, 0x1388
push edx
push 0
mov dword [ebp - 8], 0
lea edx, [ebp - 0x1c]
mov dword [ecx], eax
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x10000
mov dword [ebp - 0xc], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x4371bf
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x436a15
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x436a5c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
mov ecx, dword [esi]
add eax, 0x2710
push edx
mov dword [esi + 0x3c], eax
lea edx, [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x18], 2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
push 0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0x10000
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x4371bf
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x4371bf
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x4371bf
cmp dword [ebx + 4], 0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xf2c], ecx
mov dword [ebp - 0xf30], eax
mov dword [ebp - 0xf38], 0
jle 0x436b31
xor edi, edi
mov eax, dword [ebx + 0x10]
mov esi, dword [edi + eax]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [ebp - 0xf30]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x18]
lea edi, [edi + 4]
mov ecx, dword [ebp - 0xf2c]
add esp, 0xc
mov edx, dword [ebp - 0xf30]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xf2c], ecx
lea edx, [edx + eax*2]
mov eax, dword [ebp - 0xf38]
inc eax
mov dword [ebp - 0xf30], edx
mov dword [ebp - 0xf38], eax
cmp eax, dword [ebx + 4]
jl 0x436ab6
mov edi, dword [ebp - 0xf3c]
mov esi, dword [ebp - 0xf34]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x4371bf
movss xmm6, dword [ebx + 0x14]
movss xmm2, dword [0x469760]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x1c]
movss xmm5, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [ebp - 0x10]
movaps xmm4, xmm5
addss xmm4, dword [ebx + 0x20]
push 0
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm0, xmm1
movss dword [eax], xmm0
movaps xmm0, xmm5
mov eax, dword [ebp - 0x10]
subss xmm0, xmm4
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
divss xmm2, xmm0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
movaps xmm0, xmm3
movss dword [eax + 0x14], xmm2
addss xmm0, xmm6
mov eax, dword [ebp - 0x10]
subss xmm6, xmm3
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
divss xmm0, xmm6
mov dword [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov eax, dword [ebp - 0x10]
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [eax + 0x34], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 0x3f800000
push dword [esi + 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 0xee8
lea eax, [ebp - 0xf20]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf24], 0x10
lea ecx, [ebp - 0xf20]
mov dword [ebp - 0xf28], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0xf28]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
lea ecx, [ebp - 0xf24]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [ebp - 0xca0]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [ebp - 0xc88]
push ecx
lea ecx, [ebp - 0xc98]
push ecx
lea ecx, [ebp - 0xc9c]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0xc80]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [ebp - 0xc68]
mov dword [ebp - 0xc60], 0x100
push ecx
lea ecx, [ebp - 0xc5c]
mov dword [ebp - 0xc64], 0x100
push ecx
mov dword [ebp - 0xc68], 0x100
lea ecx, [ebp - 0xc74]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [ebp - 0xc64]
push ecx
lea ecx, [ebp - 0x85c]
push ecx
lea ecx, [ebp - 0xc70]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [ebp - 0xc60]
push ecx
lea ecx, [ebp - 0x45c]
push ecx
lea ecx, [ebp - 0xc6c]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.004367c0
movss xmm0, dword [ebx + 0x14]
xor ecx, ecx
movss xmm4, dword [ebx + 0x18]
xor edx, edx
mov dword [ebp - 0xf38], ecx
mov dword [ebp - 0xf2c], edx
movss dword [ebp - 0xf44], xmm0
movss dword [ebp - 0xf30], xmm4
mov dword [ebp - 0xf48], ecx
cmp dword [ebx + 4], ecx
jle 0x436f94
xor esi, esi
mov dword [ebp - 0xf3c], esi
nop dword [eax]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xf40], 0
mov ebx, dword [esi + eax]
cmp dword [ebx], 0
jle 0x436f5d
xor eax, eax
mov dword [ebp - 0xf34], eax
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x436e90
cmp eax, 0xffffffff
jne 0x436e84
mov ecx, dword [ebp - 0xf4c]
mov edx, edi
call fcn.004367c0
jmp 0x436f19
push esi
push ebx
call eax
add esp, 8
jmp 0x436f19
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x436f21
comiss xmm1, xmm0
jae 0x436f21
cvttss2si eax, xmm3
lea ecx, [ebp - 0x14]
push ecx
push 1
push edi
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm1
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm2
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x20]
push ecx
push 1
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xf2c]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [ebp - 0xf38]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [ebp - 0xf30]
mov eax, dword [ebp - 0xf40]
add dword [ebp - 0xf34], 0x28
inc eax
cmp eax, dword [ebx]
movss xmm0, dword [ebp - 0xf44]
mov dword [ebp - 0xf40], eax
mov eax, dword [ebp - 0xf34]
jl 0x436e61
mov ecx, dword [ebp - 0xf38]
mov edx, dword [ebp - 0xf2c]
mov esi, dword [ebp - 0xf3c]
add ecx, dword [ebx + 0xc]
add esi, 4
add edx, dword [ebx + 0x18]
mov eax, dword [ebp - 0xf48]
mov ebx, dword [ebp - 0xf4c]
inc eax
mov dword [ebp - 0xf38], ecx
mov dword [ebp - 0xf2c], edx
mov dword [ebp - 0xf48], eax
mov dword [ebp - 0xf3c], esi
cmp eax, dword [ebx + 4]
jl 0x436e40
mov eax, dword [edi]
lea ecx, [ebp - 0xf20]
push ecx
push dword [ebp - 0xf28]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [ebp - 0xe20]
push ecx
push dword [ebp - 0xf24]
push edi
call dword [eax + 0xb0]
push dword [ebp - 0xca0]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [ebp - 0xca0]
test ecx, ecx
je 0x436fdf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc88]
mov eax, dword [edi]
lea ecx, [ebp - 0xc98]
push ecx
push dword [ebp - 0xc9c]
push edi
call dword [eax + 0x8c]
mov ecx, dword [ebp - 0xc9c]
test ecx, ecx
je 0x43700b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc84]
mov eax, dword [edi]
push dword [ebp - 0xc80]
push edi
call dword [eax + 0x90]
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x437030
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc7c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc7c]
test ecx, ecx
je 0x437051
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc78]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc78]
test ecx, ecx
je 0x437072
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc68]
mov eax, dword [edi]
lea ecx, [ebp - 0xc5c]
push ecx
push dword [ebp - 0xc74]
push edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc74]
test ecx, ecx
je 0x43709b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
xor esi, esi
test eax, eax
je 0x4370cc
nop word [eax + eax]
mov ecx, dword [ebp + esi*4 - 0xc5c]
test ecx, ecx
je 0x4370c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc68]
inc esi
cmp esi, eax
jb 0x4370b0
push dword [ebp - 0xc64]
mov eax, dword [edi]
lea ecx, [ebp - 0x85c]
push ecx
push dword [ebp - 0xc70]
push edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0xc70]
test ecx, ecx
je 0x4370f5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x437110
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc60]
mov eax, dword [edi]
lea ecx, [ebp - 0x45c]
push ecx
push dword [ebp - 0xc6c]
push edi
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0xc6c]
test ecx, ecx
je 0x437139
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
xor esi, esi
test eax, eax
je 0x437161
mov ecx, dword [ebp + esi*4 - 0x85c]
test ecx, ecx
je 0x43715c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc64]
inc esi
cmp esi, eax
jb 0x437145
push dword [ebp - 0x5c]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [ebp - 0x4c]
mov eax, dword [edi]
push dword [ebp - 0x40]
push dword [ebp - 0x58]
push edi
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x437186
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x4371a9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x3c]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4371bf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ddbf
mov esp, ebp
pop ebp
ret