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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea esi, [esp + 0x48]
xorpd xmm0, xmm0
movupd xmmword [esp + 0x78], xmm0
movupd xmmword [esp + 0xb8], xmm0
movupd xmmword [esp + 0xa8], xmm0
movupd xmmword [esp + 0x98], xmm0
movupd xmmword [esp + 0x88], xmm0
movupd xmmword [esp + 0x68], xmm0
movupd xmmword [esp + 0x58], xmm0
movupd xmmword [esp + 0x48], xmm0
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x44], 0x866ac4
mov dword [esp + 0x3c], 0x866be8
mov dword [esp + 0x7c], 0x866bfc
mov dword [esp + 0x40], 0
push esi
call fcn.004cf350
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0x3c], 0x866ab0
mov dword [esp + 0x7c], 0x866ad8
mov dword [esp + 0x44], 0x866ac4
mov ecx, esi
call fcn.004cf9a0
mov edx, ebx
mov dword [esp + 0x48], 0x865954
xorpd xmm0, xmm0
movupd xmmword [esp + 0x68], xmm0
mov dword [esp + 0x78], 0x18
movzx eax, byte [ebx]
test al, 1
je 0x417b1a
mov ebx, dword [edx + 4]
jmp 0x417b1e
mov ebx, eax
shr ebx, 1
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x44]
test ebx, ebx
je 0x417bcb
test al, 1
je 0x417b36
mov edx, dword [edx + 8]
jmp 0x417b37
inc edx
mov dword [esp + 0x10], edx
push str.ANDROID_PRODUCT_OUT
call fcn.00476dd0
add esp, 4
test eax, eax
je 0x417ba3
mov esi, eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
sub esp, 0x10
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
call fcn.004bac60
mov edx, dword [esp + 0x20]
add esp, 0x10
xor ecx, ecx
test al, al
cmovne ecx, dword [esp + 0x14]
add edx, ecx
sub ebx, ecx
jmp 0x417ba7
mov edx, dword [esp + 0x10]
push ebx
push edx
lea esi, [esp + 0x4c]
push esi
call fcn.00402f60
add esp, 0xc
push 2
push 0x86647f
push eax
call fcn.00402f60
mov ecx, esi
add esp, 0xc
mov esi, dword [ebp + 0x10]
test esi, esi
mov eax, str.pushed
mov esi, str.pulled
cmove esi, eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004d9e00
push 5
push str._file
push eax
call fcn.00402f60
add esp, 0xc
mov edx, dword [edi + 8]
xor edx, 1
xor ecx, ecx
or edx, dword [edi + 0xc]
setne cl
mov edx, 0x865f46
mov ebx, 0x866488
cmove ebx, edx
push ecx
push ebx
push eax
call fcn.00402f60
add esp, 0xc
push 1
push 0x865eb0
push eax
call fcn.00402f60
add esp, 0xc
push 6
push esi
push eax
call fcn.00402f60
add esp, 0xc
push 2
push 0x86648a
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, eax
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.004d9e00
push 9
push str._skipped.
push eax
call fcn.00402f60
add esp, 0xc
mov eax, dword [edi + 0x18]
or eax, dword [edi + 0x1c]
je 0x417caa
call fcn.004cdd40
sub eax, dword [edi]
movd xmm0, eax
sbb edx, dword [edi + 4]
movd xmm1, edx
punpckldq xmm0, xmm1
movq qword [esp + 0x28], xmm0
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
divsd xmm0, qword [0x865c20]
pxor xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x417cc9
jp 0x417cc9
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x417d35
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
movupd xmm1, xmmword [edi + 0x18]
unpcklps xmm1, xmmword [0x865c30]
subpd xmm1, xmmword [0x865c40]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x865c50]
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
movsd qword [esp + 8], xmm2
mov dword [esp + 4], str.__.1f_MB_s___llu_bytes_in__.3fs_
call fcn.004ba8a0
add esp, 0x20
movzx edx, byte [esp]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ebx, edx
shr bl, 1
test dl, 1
lea edx, [esp + 1]
cmovne edx, ecx
mov edi, dword [ebp + 8]
movzx ecx, bl
cmovne ecx, eax
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00402f60
add esp, 0xc
test byte [esp], 1
je 0x417d6d
push dword [esp + 8]
call fcn.0051c570
add esp, 4
lea esi, [esp + 0x30]
mov ecx, esi
lea ebx, [esp + 0x48]
push ebx
call fcn.0040d570
mov ecx, edi
push 0
push esi
call fcn.004211e0
test byte [esp + 0x30], 1
je 0x417d9a
push dword [esp + 0x38]
call fcn.0051c570
add esp, 4
mov ecx, edi
call fcn.004216f0
mov dword [esp + 0x3c], 0x866ab0
mov dword [esp + 0x7c], 0x866ad8
mov dword [esp + 0x44], 0x866ac4
mov dword [esp + 0x48], 0x865954
test byte [esp + 0x68], 1
je 0x417dd4
push dword [esp + 0x70]
call fcn.0051c570
add esp, 4
mov ecx, ebx
call fcn.004cf730
lea ecx, [esp + 0x3c]
push 0x866ae4
call fcn.004de270
lea ecx, [esp + 0x7c]
call fcn.004cf590
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc