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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d680
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x44500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x445608]
mov ecx, dword [edi + 0x19cc]
shr ecx, 0xa
and cl, 1
mov dword [ebp - 0x20], ecx
je 0x4164f3
xor ebx, ebx
cmp dword [edi + 0x1dd0], ebx
jle 0x4164f3
nop dword [eax]
mov eax, dword [edi + 0x1dd8]
mov esi, dword [eax + ebx*4]
mov eax, dword [edi + 0x1544]
mov cl, byte [esi + 0x6a]
test eax, eax
je 0x4164d8
test cl, cl
je 0x4164d8
push esi
call eax
mov ecx, dword [esi + 4]
add esp, 4
test al, al
je 0x4164cf
or ecx, 0x400
jmp 0x4164d5
and ecx, 0xfffffbff
mov dword [esi + 4], ecx
inc ebx
cmp ebx, dword [edi + 0x1dd0]
jl 0x4164a0
mov eax, dword [edi + 0x1dd8]
lea ebx, [edi + 0x1dd8]
mov edx, dword [eax]
mov eax, edx
jmp 0x416510
mov eax, dword [edi + 0x1dd8]
lea ebx, [edi + 0x1dd8]
mov dword [ebp - 0x1c], ebx
mov edx, dword [eax]
mov eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
test cl, cl
je 0x41657c
push eax
mov esi, eax
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
push eax
mov eax, dword [edi + 0x1530]
call eax
add esp, 8
mov dword [ebp - 0x18], esi
test dword [esi + 4], 0x400
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
je 0x4165a4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
jmp 0x4165a1
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
push 0x1004
lea eax, [ebp - 0x28]
mov edx, 0x11111111
push eax
lea eax, [ebp - 0x30]
xor ecx, ecx
push eax
call fcn.00416b70
xor ebx, ebx
mov dword [edi + 0x1ddc], 0
add esp, 0xc
mov dword [edi + 0x1de0], 0
mov dword [edi + 0x1de4], 0
cmp dword [edi + 0x1dd0], ebx
jle 0x4169d3
nop dword [eax]
mov edx, dword [ebp - 0x1c]
lea ecx, [ebx*4]
mov eax, dword [edx]
mov esi, dword [ecx + eax]
mov dword [esi + 0x48], ebx
test ebx, ebx
jle 0x4167a2
mov eax, dword [edi + 0x1be0]
sub eax, 2
cmp dword [esi + 0x4c], eax
jge 0x4167a2
xor ecx, ecx
cmp dword [edi + 0x1c00], ecx
jle 0x41665e
nop word [eax + eax]
mov eax, dword [edi + 0x1c08]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x30], esi
jne 0x416655
mov dword [eax + 0x30], 0
mov eax, dword [edi + 0x1c08]
mov eax, dword [eax + ecx*4]
mov byte [eax + 0xc2], 0
inc ecx
cmp ecx, dword [edi + 0x1c00]
jl 0x416630
cmp esi, dword [edi + 0x1de8]
jne 0x416670
mov dword [edi + 0x1de8], 0
mov edx, dword [edx]
lea eax, [ebx*4]
add edx, eax
mov eax, dword [edi + 0x1dd8]
sub edx, eax
sar edx, 2
lea ecx, [eax + edx*4]
mov eax, dword [edi + 0x1dd0]
sub eax, edx
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
dec dword [edi + 0x1dd0]
add esp, 0xc
cmp byte [esi + 0x6a], 0
mov eax, dword [0x445608]
mov dword [ebp - 0x24], eax
je 0x4166e9
mov eax, dword [eax + 0x1570]
test eax, eax
je 0x4166ca
push esi
call eax
add esp, 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1524]
test eax, eax
je 0x4166dd
push esi
call eax
add esp, 4
cmp dword [esi], 0x11111111
je 0x4166e9
mov byte [esi + 0x6a], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov word [esi + 0x44], 0
mov byte [esi + 0x46], 0
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x416734
mov ecx, eax
call fcn.00401200
mov eax, dword [0x445608]
test eax, eax
je 0x416728
dec dword [eax + 0x374]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x416760
mov ecx, eax
call fcn.00401200
mov eax, dword [0x445608]
test eax, eax
je 0x416754
dec dword [eax + 0x374]
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0x41f610
push 2
push 0xc
lea eax, [esi + 0xb0]
mov dword [ebp - 4], 0
push eax
call fcn.0043c599
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x445608]
test eax, eax
je 0x416792
dec dword [eax + 0x374]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
dec ebx
jmp 0x4169c6
cmp byte [ebp - 0x20], 0
mov al, byte [esi + 0x6a]
mov byte [ebp - 0xd], al
je 0x41682d
test dword [esi + 4], 0x400
jne 0x41682d
test al, al
je 0x41682d
cmp byte [esi + 0x44], 0
je 0x4167f4
lea eax, [ebp - 0x30]
push esi
push eax
mov eax, dword [edi + 0x1530]
call eax
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0xc8], xmm0
movss dword [esi + 0xcc], xmm1
movss dword [esi + 8], xmm0
movss dword [esi + 0xc], xmm1
cmp byte [esi + 0x45], 0
je 0x41682d
lea eax, [ebp - 0x38]
push esi
push eax
mov eax, dword [edi + 0x1538]
call eax
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0xd0], xmm0
movss dword [esi + 0xd4], xmm1
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm1
mov ecx, esi
call fcn.004176e0
test dword [esi + 4], 0x1000
lea edx, [esi + 0x58]
mov eax, dword [esi + 0xf0]
xorps xmm5, xmm5
mov ecx, dword [esi + 0xf4]
movss xmm4, dword [esi + 0xc]
movss xmm3, dword [esi + 8]
movaps xmm0, xmm4
mov dword [esi + 0xe4], ecx
movaps xmm1, xmm3
mov ecx, dword [esi + 0xfc]
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0xf8]
mov dword [esi + 0xec], ecx
lea ecx, [esi + 8]
mov dword [esi + 0xe8], eax
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
addss xmm0, dword [esi + 0xe4]
movss xmm2, dword [esi + 0xe0]
addss xmm1, xmm2
movss dword [esi + 0x1c], xmm0
movss xmm0, dword [esi + 0x10]
subss xmm0, xmm2
movss dword [esi + 0x18], xmm1
xorps xmm2, xmm2
xorps xmm1, xmm1
addss xmm0, dword [esi + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [esi + 0x14]
subss xmm0, dword [esi + 0xe4]
addss xmm0, dword [esi + 0xec]
movss dword [esi + 0x20], xmm2
mov dword [esi + 0x60], 0x3f800000
maxss xmm1, xmm0
movss dword [esi + 0x24], xmm1
subss xmm3, dword [edx]
subss xmm4, dword [edx + 4]
je 0x41693a
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x41692c
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x41693a
push ecx
mov ecx, esi
call fcn.00415ec0
add esp, 4
xorps xmm5, xmm5
mov eax, dword [edi + 0x155c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41695e
cmp byte [ebp - 0xd], 0
je 0x41695e
push esi
call dword [ebp - 0x24]
fstp dword [ebp - 0x24]
movss xmm4, dword [ebp - 0x24]
add esp, 4
jmp 0x416990
movzx eax, word [esi + 0x68]
cmp ax, 0xffff
je 0x41697a
cwde
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x1588]
movss xmm4, dword [eax + ecx*4 + 0x20]
jmp 0x416990
movss xmm4, dword [esi + 0x28]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x416990
movss xmm4, dword [0x442e3c]
movss xmm0, dword [esi + 0x28]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4169c1
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x4169c1
test dword [edi + 8], 0x4000
je 0x4169c1
movaps xmm1, xmm4
mov ecx, esi
divss xmm1, xmm0
call fcn.004161c0
movss dword [esi + 0x28], xmm4
inc ebx
cmp ebx, dword [edi + 0x1dd0]
jl 0x4165f0
cmp dword [edi + 0x1580], 0
mov edx, dword [ebp - 0x18]
jne 0x416a33
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edi + 0x1df0], eax
mov dword [edi + 0x1df4], ecx
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [edi + 0x1df8], eax
mov dword [edi + 0x1dfc], ecx
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edi + 0x1e00], eax
mov dword [edi + 0x1e04], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [edi + 0x1e08], eax
mov dword [edi + 0x1e0c], ecx
mov eax, dword [edx + 0x28]
mov dword [edi + 0x1e10], eax
cmp byte [ebp - 0x20], 0
jne 0x416a51
mov dword [edi + 0x1de4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [edi + 0xc], 0x800
mov esi, dword [0x445608]
je 0x416aa6
xor ecx, ecx
cmp dword [edi + 0xfc], ecx
je 0x416adb
mov ebx, dword [esi + 0x1dd0]
test ebx, ebx
jle 0x416a9a
mov edx, dword [esi + 0x1dd8]
nop word [eax + eax]
mov eax, dword [edx]
mov ebx, dword [edi + 0xfc]
cmp dword [eax], ebx
mov ebx, dword [esi + 0x1dd0]
je 0x416ad0
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x416a80
xor ecx, ecx
test ecx, ecx
je 0x416abc
test byte [ecx + 4], 0x80
je 0x416abc
push dword [edi + 0xe8]
push dword [edi + 0xe4]
call fcn.004163c0
mov ecx, eax
add esp, 8
lea eax, [edi + 0x1de8]
mov ebx, eax
test ecx, ecx
je 0x416ae3
mov dword [eax], ecx
mov edx, ecx
mov eax, ecx
jmp 0x416af6
mov eax, dword [esi + 0x1dd8]
mov ecx, dword [eax + ecx*4]
jmp 0x416a9c
lea eax, [edi + 0x1de8]
mov ebx, eax
mov eax, dword [eax]
mov edx, eax
test eax, eax
jne 0x416af6
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, eax
mov dword [ebx], eax
mov ebx, dword [edi + 0x1c58]
test ebx, ebx
je 0x416b03
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x1de4], eax
cmp byte [edi + 0x1f5c], 0
je 0x416b1a
test ecx, ecx
jne 0x416b39
mov ecx, edx
jmp 0x416b35
cmp dword [edi + 0x1c84], 0
je 0x416b35
xor eax, eax
cmp byte [eax + esi + 0xec], 0
jne 0x416b4d
inc eax
cmp eax, 5
jl 0x416b25
test ecx, ecx
je 0x416b4d
cmp ecx, dword [edi + 0x1de4]
je 0x416b4d
test byte [ecx + 4], 0x80
jne 0x416b4d
mov dword [edi + 0x1de4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret