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

Disassembly:
sub esp, 0x44
vmovsd xmm0, qword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
mov ebx, ecx
vmovsd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push esi
mov esi, edx
mov dword [esp + 0x2c], eax
or eax, ecx
mov dword [esp + 0x38], ebx
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], esi
jne 0x416f9a
xor ecx, ecx
mov eax, ebp
test edi, edi
setne cl
sub eax, esi
inc ecx
add ecx, edi
cmp eax, ecx
jl 0x4173c5
mov byte [esi], 0x30
inc esi
test edi, edi
je 0x416f87
push edi
mov byte [esi], 0x2e
inc esi
push 0x30
push esi
call fcn.004dbbb0
add esp, 0xc
add esi, edi
mov dword [ebx], esi
mov eax, ebx
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov edx, ecx
shr ecx, 0x14
and edx, 0xfffff
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x416fba
mov dword [esp + 0x28], 0xfffffbce
jmp 0x417100
lea eax, [ecx - 0x433]
mov byte [esp + 0x17], 0
mov ecx, dword [esp + 0x40]
or edx, 0x100000
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
cmp eax, 0xffffffcc
jl 0x417100
test eax, eax
jns 0x416ff8
xor eax, eax
mov edx, 1
mov dword [esp + 0x1c], edx
lea ebx, [eax + 0x78]
jmp 0x417030
add eax, 0xf
shr eax, 4
imul ecx, eax, 0x134410
mov ebx, eax
mov dword [esp + 0x18], eax
mov eax, 0x38e38e39
shl ebx, 4
add ebx, 0x78
shr ecx, 0x12
add ecx, 0x19
mul ecx
shr edx, 1
sub edx, 1
mov dword [esp + 0x1c], edx
js 0x417100
mov eax, dword [esp + 0x18]
sub ebx, dword [esp + 0x28]
movzx eax, word [eax*2 + 0x558bc0]
lea ecx, [ebx + 8]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x34]
shld ecx, ebx, 8
shl ebx, 8
add eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebx
lea eax, [eax + eax*2]
lea ecx, [eax*8 + 0x51bf08]
mov dword [esp + 0x20], ecx
nop word [eax + eax]
push dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push ebx
call fcn.00410cc0
mov dl, byte [esp + 0x1f]
add esp, 8
mov ebx, eax
test dl, dl
je 0x4170aa
mov ecx, ebp
sub ecx, esi
cmp ecx, 9
jl 0x4173c5
mov edx, esi
mov ecx, ebx
call fcn.00414c30
mov dl, byte [esp + 0x17]
add esi, 9
jmp 0x4170dc
test ebx, ebx
je 0x4170dc
mov ecx, ebx
call fcn.00410b60
mov ecx, ebp
mov dword [esp + 0x38], eax
sub ecx, esi
cmp ecx, eax
jl 0x4173c5
push esi
mov edx, ebx
mov ecx, eax
call fcn.00418150
mov dl, 1
add esp, 4
add esi, dword [esp + 0x38]
mov byte [esp + 0x17], dl
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
dec eax
mov ebx, dword [esp + 0x2c]
sub ecx, 0x18
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test eax, eax
jns 0x417070
test dl, dl
jne 0x41710c
cmp esi, ebp
je 0x4173c5
mov byte [esi], 0x30
inc esi
test edi, edi
je 0x41711c
cmp esi, ebp
je 0x4173c5
mov byte [esi], 0x2e
inc esi
mov eax, dword [esp + 0x28]
test eax, eax
jns 0x417396
cdq
xor ebx, ebx
and edx, 0xf
lea ecx, [edx + eax]
mov eax, 0x38e38e39
mul edi
sar ecx, 4
mov eax, edx
neg ecx
shr eax, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], eax
movzx ecx, byte [ecx + 0x55aee0]
lea edx, [eax + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jbe 0x417396
test ecx, ecx
je 0x417195
mov ebx, ecx
mov eax, ebp
sub eax, esi
lea ecx, [ebx + ebx*8]
cmp eax, ecx
jl 0x4173c5
test ecx, ecx
je 0x41718f
push ecx
push 0x30
push esi
call fcn.004dbbb0
mov edx, dword [esp + 0x24]
lea ecx, [ebx + ebx*8]
add esp, 0xc
add esi, ecx
mov ecx, dword [esp + 0x24]
cmp ebx, edx
jae 0x4173b0
mov eax, dword [esp + 0x38]
movzx edx, word [eax*2 + 0x558c42]
movzx eax, word [eax*2 + 0x558c40]
sub eax, ecx
mov dword [esp + 0x40], edx
lea ecx, [eax + ebx]
mov eax, ebp
sub eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
lea eax, [ecx + ecx*2]
lea eax, [eax*8 + 0x5231c8]
mov dword [esp + 0x2c], eax
cmp ecx, edx
jae 0x417391
mov ecx, dword [esp + 0x30]
mov edx, 8
mov eax, dword [esp + 0x34]
sub edx, dword [esp + 0x38]
shld eax, ecx, 8
shl edx, 4
sub edx, dword [esp + 0x28]
shl ecx, 8
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00410cc0
add esp, 8
mov edx, eax
mov dword [esp + 0x20], edx
cmp ebx, dword [esp + 0x48]
jae 0x41725f
cmp dword [esp + 0x1c], 9
jl 0x4173c5
mov edx, esi
mov ecx, eax
call fcn.00414c30
mov ecx, dword [esp + 0x24]
inc ebx
sub dword [esp + 0x1c], 9
inc ecx
add dword [esp + 0x2c], 0x18
add esi, 9
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
cmp ebx, dword [esp + 0x18]
jb 0x4171d4
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
lea eax, [ebx + ebx*8]
mov ecx, edi
sub ecx, eax
mov ebx, 9
mov dword [esp + 0x18], ecx
xor ecx, ecx
sub ebx, dword [esp + 0x18]
je 0x4172e7
nop word [eax + eax]
mov ecx, dword [esp + 0x20]
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov dword [esp + 0x20], edx
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
sub ebx, 1
jne 0x417280
cmp ecx, 5
jne 0x4172e7
not edi
sub edi, dword [esp + 0x28]
test edi, edi
jle 0x4172e0
cmp edi, 0x3c
jge 0x4172d9
xor ecx, ecx
xor eax, eax
bts ecx, edi
cmp edi, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edi, 0x40
cmovae eax, ecx
add ecx, 0xffffffff
adc eax, 0xffffffff
and ecx, dword [esp + 0x30]
and eax, dword [esp + 0x34]
or ecx, eax
je 0x4172e0
mov edi, 1
jmp 0x4172f2
mov edi, 2
jmp 0x4172f2
mov eax, 5
cmp eax, ecx
sbb edi, edi
neg edi
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x417313
mov eax, ebp
sub eax, esi
cmp eax, ebx
jl 0x4173c5
push esi
mov ecx, ebx
call fcn.00414cb0
add esp, 4
add esi, ebx
test edi, edi
je 0x4173b0
mov ebx, dword [esp + 0x4c]
mov eax, esi
mov edx, ebp
cmp esi, ebx
je 0x417345
mov cl, byte [eax - 1]
dec eax
cmp cl, 0x2e
jne 0x417334
mov edx, eax
jmp 0x417341
cmp cl, 0x39
jne 0x41736e
mov byte [eax], 0x30
mov edi, 1
cmp eax, ebx
jne 0x417327
mov byte [eax], 0x31
cmp edx, ebp
je 0x417351
mov word [edx], 0x2e30
cmp esi, ebp
je 0x4173c5
mov eax, dword [esp + 0x3c]
mov byte [esi], 0x30
inc esi
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
cmp edi, 1
je 0x417378
test cl, 1
je 0x4173b0
inc cl
mov byte [eax], cl
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
lea eax, [ebx + ebx*8]
sub edi, eax
mov eax, ebp
sub eax, esi
cmp eax, edi
jl 0x4173c5
test edi, edi
je 0x4173ae
push edi
push 0x30
push esi
call fcn.004dbbb0
add esp, 0xc
add esi, edi
mov eax, dword [esp + 0x3c]
mov dword [eax], esi
mov dword [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov dword [eax], ebp
pop ebp
mov dword [eax + 4], 0x84
pop ebx
add esp, 0x44
ret