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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474590
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x49400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x495280]
mov edx, dword [edi + 0x19cc]
shr edx, 0xa
and dl, 1
mov dword [ebp - 0x20], edx
je 0x4171c3
xor ebx, ebx
cmp dword [edi + 0x1dd0], ebx
jle 0x4171c3
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 0x4171a8
test cl, cl
je 0x4171a8
push esi
call eax
mov ecx, dword [esi + 4]
add esp, 4
test al, al
je 0x41719f
or ecx, 0x400
jmp 0x4171a5
and ecx, 0xfffffbff
mov dword [esi + 4], ecx
inc ebx
cmp ebx, dword [edi + 0x1dd0]
jl 0x417170
mov eax, dword [edi + 0x1dd8]
lea ebx, [edi + 0x1dd8]
mov eax, dword [eax]
mov ecx, eax
jmp 0x4171e0
mov eax, dword [edi + 0x1dd8]
lea ebx, [edi + 0x1dd8]
mov dword [ebp - 0x1c], ebx
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
test dl, dl
je 0x41723e
push ecx
mov esi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x1530]
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x1c], ebx
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
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
je 0x417266
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 0x417263
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.00417830
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 0x417697
nop
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 0x417466
mov eax, dword [edi + 0x1be0]
sub eax, 2
cmp dword [esi + 0x4c], eax
jge 0x417466
xor ecx, ecx
cmp dword [edi + 0x1c00], ecx
jle 0x41731e
nop word [eax + eax]
mov eax, dword [edi + 0x1c08]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x30], esi
jne 0x417315
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 0x4172f0
cmp esi, dword [edi + 0x1de8]
jne 0x417330
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 [0x495280]
mov dword [ebp - 0x24], eax
je 0x4173a9
mov eax, dword [eax + 0x1570]
test eax, eax
je 0x41738a
push esi
call eax
add esp, 4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1524]
test eax, eax
je 0x41739d
push esi
call eax
add esp, 4
cmp dword [esi], 0x11111111
je 0x4173a9
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 dword [ebp - 4], 0
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4173fb
mov ecx, eax
call fcn.004019d0
mov eax, dword [0x495280]
test eax, eax
je 0x4173ef
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 0x417427
mov ecx, eax
call fcn.004019d0
mov eax, dword [0x495280]
test eax, eax
je 0x41741b
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 0x41fe50
push 2
push 0xc
lea eax, [esi + 0xb0]
mov byte [ebp - 4], 1
push eax
call fcn.00473078
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x495280]
test eax, eax
je 0x417456
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 0x41768a
cmp byte [ebp - 0x20], 0
mov al, byte [esi + 0x6a]
mov byte [ebp - 0xd], al
je 0x4174f1
test dword [esi + 4], 0x400
jne 0x4174f1
test al, al
je 0x4174f1
cmp byte [esi + 0x44], 0
je 0x4174b8
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 0x4174f1
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.004183c0
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 0x4175fe
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x4175f0
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x4175fe
push ecx
mov ecx, esi
call fcn.00416b90
add esp, 4
xorps xmm5, xmm5
mov eax, dword [edi + 0x155c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x417622
cmp byte [ebp - 0xd], 0
je 0x417622
push esi
call dword [ebp - 0x24]
fstp dword [ebp - 0x24]
movss xmm4, dword [ebp - 0x24]
add esp, 4
jmp 0x417654
movzx eax, word [esi + 0x68]
cmp ax, 0xffff
je 0x41763e
cwde
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x1588]
movss xmm4, dword [eax + ecx*4 + 0x20]
jmp 0x417654
movss xmm4, dword [esi + 0x28]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jp 0x417654
movss xmm4, dword [0x4891cc]
movss xmm0, dword [esi + 0x28]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x417685
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x417685
test dword [edi + 8], 0x4000
je 0x417685
movaps xmm1, xmm4
mov ecx, esi
divss xmm1, xmm0
call fcn.00416e90
movss dword [esi + 0x28], xmm4
inc ebx
cmp ebx, dword [edi + 0x1dd0]
jl 0x4172b0
cmp dword [edi + 0x1580], 0
mov edx, dword [ebp - 0x18]
jne 0x4176f7
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 0x417715
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 [0x495280]
je 0x417766
xor ecx, ecx
cmp dword [edi + 0xfc], ecx
je 0x41779b
mov ebx, dword [esi + 0x1dd0]
test ebx, ebx
jle 0x41775a
mov edx, dword [esi + 0x1dd8]
nop
mov eax, dword [edx]
mov ebx, dword [edi + 0xfc]
cmp dword [eax], ebx
mov ebx, dword [esi + 0x1dd0]
je 0x417790
inc ecx
add edx, 4
cmp ecx, ebx
jl 0x417740
xor ecx, ecx
test ecx, ecx
je 0x41777c
test byte [ecx + 4], 0x80
je 0x41777c
push dword [edi + 0xe8]
push dword [edi + 0xe4]
call fcn.00417090
mov ecx, eax
add esp, 8
lea eax, [edi + 0x1de8]
mov ebx, eax
test ecx, ecx
je 0x4177a3
mov dword [eax], ecx
mov edx, ecx
mov eax, ecx
jmp 0x4177b6
mov eax, dword [esi + 0x1dd8]
mov ecx, dword [eax + ecx*4]
jmp 0x41775c
lea eax, [edi + 0x1de8]
mov ebx, eax
mov eax, dword [eax]
mov edx, eax
test eax, eax
jne 0x4177b6
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 0x4177c3
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x1de4], eax
cmp byte [edi + 0x1f5c], 0
je 0x4177da
test ecx, ecx
jne 0x4177f9
mov ecx, edx
jmp 0x4177f5
cmp dword [edi + 0x1c84], 0
je 0x4177f5
xor eax, eax
cmp byte [eax + esi + 0xec], 0
jne 0x41780d
inc eax
cmp eax, 5
jl 0x4177e5
test ecx, ecx
je 0x41780d
cmp ecx, dword [edi + 0x1de4]
je 0x41780d
test byte [ecx + 4], 0x80
jne 0x41780d
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