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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x108]
and rax, 0xff
movzx eax, al
mov ecx, dword [rsp + 0x100]
and rcx, 0xff
movzx ecx, cl
sub eax, ecx
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x108]
sar eax, 8
cdqe
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x100]
sar ecx, 8
movsxd rcx, ecx
and rcx, 0xff
movzx ecx, cl
sub eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x108]
shr eax, 0x10
mov eax, eax
and rax, 0xff
movzx eax, al
mov ecx, dword [rsp + 0x100]
shr ecx, 0x10
mov ecx, ecx
and rcx, 0xff
movzx ecx, cl
sub eax, ecx
mov dword [rsp + 0x2c], eax
mov ecx, dword [rsp + 0x28]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x68], eax
mov ecx, dword [rsp + 0x2c]
call sub.MSVCR110.dll_abs
mov ecx, dword [rsp + 0x68]
cmp ecx, eax
jle 0x1400a7964
mov ecx, dword [rsp + 0x28]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x48], eax
jmp 0x1400a7971
mov ecx, dword [rsp + 0x2c]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x30]
call sub.MSVCR110.dll_abs
cmp eax, dword [rsp + 0x48]
jle 0x1400a798f
mov ecx, dword [rsp + 0x30]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x4c], eax
jmp 0x1400a79d1
mov ecx, dword [rsp + 0x28]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x54], eax
mov ecx, dword [rsp + 0x2c]
call sub.MSVCR110.dll_abs
mov ecx, dword [rsp + 0x54]
cmp ecx, eax
jle 0x1400a79bc
mov ecx, dword [rsp + 0x28]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x3c], eax
jmp 0x1400a79c9
mov ecx, dword [rsp + 0x2c]
call sub.MSVCR110.dll_abs
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0xf0]
call fcn.140008c60
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x44], eax
jge 0x1400a79fe
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
jmp 0x1400a7a06
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400a7a1d
mov dword [rsp + 0x20], 1
cvtsi2ss xmm0, dword [rsp + 0x30]
cvtsi2ss xmm1, dword [rsp + 0x20]
divss xmm0, xmm1
movss dword [rsp + 0x60], xmm0
cvtsi2ss xmm0, dword [rsp + 0x28]
cvtsi2ss xmm1, dword [rsp + 0x20]
divss xmm0, xmm1
movss dword [rsp + 0x5c], xmm0
cvtsi2ss xmm0, dword [rsp + 0x2c]
cvtsi2ss xmm1, dword [rsp + 0x20]
divss xmm0, xmm1
movss dword [rsp + 0x58], xmm0
mov eax, dword [rsp + 0x100]
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x100]
sar eax, 8
cdqe
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x100]
shr eax, 0x10
mov eax, eax
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x2c], eax
mov edx, 0x26
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
call fcn.1400a92d0
and eax, 0x100
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400a7b16
cmp dword [rsp + 0x20], 1
jle 0x1400a7b16
mov edx, reloc.WS2_32.dll_inet_ntoa
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
call fcn.1400a92d0
mov dword [rsp + 0x64], eax
mov edx, InitCommonControls
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call fcn.1400a92d0
mov ecx, dword [rsp + 0x64]
imul ecx, eax
mov eax, ecx
cmp eax, 8
jge 0x1400a7b16
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0xf0]
call fcn.140008c60
cvtsi2ss xmm0, eax
cvtsi2ss xmm1, dword [rsp + 0x20]
divss xmm0, xmm1
movss dword [rsp + 0x40], xmm0
lea rax, [rsp + 0x88]
mov rdi, rax
mov rsi, qword [rsp + 0xf0]
mov ecx, InitCommonControls
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x70]
call fcn.140068b40
nop
mov dword [rsp + 0x24], 0
jmp 0x1400a7b70
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jge 0x1400a7d67
cvtsi2ss xmm0, dword [rsp + 0x24]
movss xmm1, dword [rsp + 0x40]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov rcx, qword [rsp + 0xf0]
add eax, dword [rcx]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x24]
inc eax
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x40]
mulss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov rcx, qword [rsp + 0xf0]
add eax, dword [rcx]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x20]
dec eax
cmp dword [rsp + 0x24], eax
jne 0x1400a7bf0
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
cmp dword [rsp + 0x90], eax
jge 0x1400a7c08
jmp 0x1400a7b66
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
cmp dword [rsp + 0x88], eax
jge 0x1400a7c2c
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x90], eax
jle 0x1400a7c52
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x90], eax
cvtsi2ss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x60]
cvttss2si eax, xmm0
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
movzx eax, al
cvtsi2ss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x5c]
cvttss2si ecx, xmm0
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
movzx ecx, cl
shl ecx, 8
or eax, ecx
cvtsi2ss xmm0, dword [rsp + 0x24]
mulss xmm0, dword [rsp + 0x58]
cvttss2si ecx, xmm0
mov edx, dword [rsp + 0x2c]
add edx, ecx
mov ecx, edx
movzx ecx, cl
shl ecx, 0x10
or eax, ecx
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x34], 0
je 0x1400a7d0f
mov edx, dword [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140068bb0
lea r9, [rsp + 0x88]
mov r8, qword [rsp + 0xe8]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0xe0]
call fcn.1400a8660
lea r8, [rsp + 0x70]
mov rdx, rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
call fcn.140015a10
lea rcx, [rsp + 0x70]
call sub.mfc110u.dll_Ordinal_3698
jmp 0x1400a7d4c
lea r9, [rsp + 0x88]
mov r8, qword [rsp + 0xe8]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0xe0]
call fcn.1400a8660
mov r8d, dword [rsp + 0x50]
mov rdx, rax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rax]
call sub.mfc110u.dll_Ordinal_4438
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x90], eax
jl 0x1400a7d62
jmp 0x1400a7d67
jmp 0x1400a7b66
lea rcx, [rsp + 0x70]
call fcn.140015660
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0xc8
pop rdi
pop rsi
ret