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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movzx r15d, byte [r8 + 0x24]
mov rdi, r8
mov dword [rcx], edx
xor esi, esi
mov eax, dword [r8 + 0x1c]
mov rbx, rcx
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rcx + 0x30], eax
mov eax, dword [r8 + 0x20]
lea r8d, [rsi + 1]
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [rcx + 0x34], eax
cmp dword [rdi + 0xa8], esi
jne 0x140119064
mov ecx, r8d
cmp dword [rdi + 0x3b0], esi
je 0x140119066
mov ecx, esi
mov dword [rbx + 0x38], ecx
test ecx, ecx
jne 0x140119075
inc eax
and eax, 0xfffffffe
mov dword [rbx + 0x34], eax
mov r14d, 2
cmp r15d, 0xc
jb 0x140119087
lea ebp, [r14 + 1]
jmp 0x14011909b
cmp r15d, 6
jb 0x140119092
mov ebp, r14d
jmp 0x14011909b
cmp r15d, r14d
mov ebp, esi
setae bpl
mov dword [rbx + 0x108], ebp
cmp dword [rdi + 0x290], esi
jne 0x1401190b4
mov eax, r8d
cmp dword [rdi + 0x294], esi
je 0x1401190b6
mov eax, esi
mov dword [rbx + 0x104], eax
test eax, eax
jne 0x14011911d
cmp ebp, 3
je 0x14011911d
cmp ebp, r14d
jne 0x1401190cf
lea ecx, [rax + 0x7a]
jmp 0x140119122
cmp dword [rdi + 0x228], esi
jne 0x140119116
cmp dword [rdi + 0xb0], esi
jne 0x140119116
test ebp, ebp
je 0x140119116
cmp dword [rdi + 0xa0], esi
jne 0x14011910f
cmp dword [rdi + 0x74], esi
jg 0x14011910f
cmp dword [rdi + 0xa8], esi
jne 0x14011910f
cmp dword [rdi + 0x3b0], esi
jne 0x14011910f
cmp dword [rdi + 0x22c], esi
jg 0x14011910f
mov ecx, 0x42
jmp 0x140119122
mov ecx, Ordinal_79
jmp 0x140119122
mov ecx, 0x64
jmp 0x140119122
mov ecx, 0xf4
cmp ecx, 0x42
mov dword [rbx + 4], ecx
mov eax, esi
mov qword [rbx + 0x14], rsi
sete al
cmp ecx, 0x4d
mov dword [rbx + 0xc], eax
mov eax, esi
setbe al
mov dword [rbx + 0x10], eax
mov eax, dword [rdi + 0x2c]
mov dword [rbx + 8], eax
cmp dword [rdi + 0x2c], 9
jne 0x140119160
cmp ecx, 0x42
je 0x140119155
cmp ecx, 0x4d
jne 0x140119160
mov dword [rbx + 0x18], r8d
mov dword [rbx + 8], reloc.WS2_32.dll_inet_addr
cmp dword [rdi + 0x64], r8d
jne 0x140119173
mov eax, dword [rbx + 0x18]
cmp ecx, 0x64
cmovae eax, r8d
mov dword [rbx + 0x18], eax
cmp dword [rdi + 0x80], esi
je 0x140119180
mov r11d, r14d
jmp 0x14011918a
cmp dword [rdi + 0x74], esi
mov r11d, esi
setne r11b
mov dword [rbx + 0xfc], r11d
mov ecx, r8d
cmp dword [rdi + 0x80], esi
mov r10d, 4
mov edx, dword [rdi + 0x60]
mov eax, edx
cmovne ecx, r10d
cmp ecx, edx
cmovg eax, ecx
inc r11d
cmp r11d, eax
jle 0x1401191bb
mov eax, r11d
jmp 0x1401191c2
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
mov r9d, dword [rdi + 0x5c]
cmp r9d, eax
jle 0x1401191d0
mov eax, r9d
jmp 0x1401191e8
cmp ecx, edx
mov eax, ecx
cmovle eax, edx
cmp r11d, eax
jle 0x1401191e1
mov eax, r11d
jmp 0x1401191e8
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
cmp eax, 0x10
jle 0x1401191f5
mov r9d, reloc.WS2_32.dll_recv
jmp 0x14011922c
cmp ecx, edx
mov eax, ecx
cmovle eax, edx
cmp r11d, eax
jle 0x140119206
mov eax, r11d
jmp 0x14011920d
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
cmp r9d, eax
jg 0x14011922c
cmp ecx, edx
mov eax, edx
cmovg eax, ecx
cmp r11d, eax
jle 0x140119223
mov r9d, r11d
jmp 0x14011922c
cmp ecx, edx
mov r9d, edx
cmovg r9d, ecx
mov dword [rbx + 0x28], r9d
mov ecx, esi
mov dword [rbx + 0x100], r9d
mov eax, r9d
cmp dword [rdi + 0x80], r8d
sete cl
sub eax, ecx
mov dword [rbx + 0x28], eax
cmp dword [rdi + 0x64], r8d
jne 0x14011925d
mov dword [rbx + 0x28], esi
mov r9d, esi
mov dword [rbx + 0x100], esi
cmp dword [rdi + 0x80], esi
mov edx, esi
setne dl
inc edx
imul edx, r9d
inc edx
cmp dword [rdi + 0x70], esi
je 0x140119289
mov ecx, dword [rbx + 0x30]
dec ecx
cmp ecx, dword [rdi + 0x64]
cmovge ecx, dword [rdi + 0x64]
add ecx, dword [rdi + 0x74]
cmp edx, ecx
cmovle edx, ecx
mov dword [rbx + 0x1c], r10d
cmp edx, 0x10
jl 0x1401192a3
mov ecx, r10d
inc ecx
mov eax, r8d
shl eax, cl
cmp eax, edx
jle 0x140119295
mov dword [rbx + 0x1c], ecx
cmp dword [rdi + 0x74], esi
jne 0x1401192bb
cmp dword [rdi + 0xa8], esi
jne 0x1401192bb
mov eax, r14d
cmp dword [rdi + 0x8c], esi
je 0x1401192bd
mov eax, esi
mov dword [rbx + 0x20], eax
test eax, eax
jne 0x140119304
mov ecx, dword [rdi + 0x74]
mov edx, dword [rdi + 0x80]
test edx, edx
mov dword [rbx + 0x24], r10d
lea eax, [rcx*8 + 0x10]
lea r9d, [rcx*4 + 8]
cmovne r9d, eax
cmp r9d, 0x10
jl 0x140119304
nop dword [rax]
inc r10d
mov eax, r8d
mov ecx, r10d
shl eax, cl
cmp eax, r9d
jle 0x1401192f0
mov dword [rbx + 0x24], r10d
mov ecx, dword [rbx + 0x30]
mov edx, dword [rbx + 0x34]
mov dword [rbx + 0x58], r8d
mov dword [rbx + 0x2c], esi
mov eax, dword [rdi + 0xa8]
mov dword [rbx + 0x3c], eax
mov dword [rbx + 0x40], r8d
mov eax, dword [rdi + 0x320]
mov dword [rbx + 0x48], eax
mov r9d, dword [rdi + 0x324]
mov dword [rbx + 0x50], r9d
shl ecx, 4
add ecx, dword [rdi + 0x328]
sub ecx, dword [rdi + 0x1c]
shl edx, 4
mov dword [rbx + 0x4c], ecx
add edx, dword [rdi + 0x32c]
sub edx, dword [rdi + 0x20]
mov dword [rbx + 0x54], edx
test eax, eax
jne 0x140119363
test r9d, r9d
jne 0x140119363
test ecx, ecx
jne 0x140119363
mov eax, esi
test edx, edx
je 0x140119366
mov eax, r8d
mov dword [rbx + 0x44], eax
mov dword [rbx + 0x5c], esi
cmp dword [rdi + 0x3c], esi
jle 0x140119386
cmp dword [rdi + 0x38], esi
jle 0x140119386
mov dword [rbx + 0x5c], r8d
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 0x60], eax
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x64], eax
mov ecx, dword [rdi + 0x40]
mov eax, esi
dec ecx
cmp ecx, r8d
setbe al
mov dword [rbx + 0x68], eax
ja 0x1401193a4
cmp dword [rdi + 0x40], r14d
mov eax, esi
sete al
mov dword [rbx + 0x6c], eax
mov dword [rbx + 0x70], esi
mov edx, 5
cmp dword [rdi + 0x44], edx
cmovbe edx, dword [rdi + 0x44]
mov dword [rbx + 0x74], edx
mov ecx, dword [rdi + 0x48]
cmp ecx, r8d
jbe 0x1401193c7
cmp r15d, 0xe
mov ecx, esi
setae cl
mov dword [rbx + 0x78], ecx
mov r9d, r14d
mov dword [rbx + 0x7c], esi
cmp dword [rdi + 0x4c], 0xc
cmovbe r9d, dword [rdi + 0x4c]
mov dword [rbx + 0x80], r9d
cmp dword [rdi + 0x50], 0x12
cmovbe r14d, dword [rdi + 0x50]
mov dword [rbx + 0x84], r14d
mov eax, dword [rdi + 0x54]
cmp eax, 0xe
jbe 0x140119401
cmp r15d, 0xe
sbb eax, eax
and eax, 2
mov dword [rbx + 0x88], eax
cmp r9d, 2
jne 0x140119417
cmp r14d, r9d
jne 0x140119417
cmp eax, r9d
je 0x14011941b
mov dword [rbx + 0x7c], r8d
cmp edx, 5
jne 0x140119429
test ecx, ecx
jne 0x140119429
cmp dword [rbx + 0x7c], esi
je 0x14011942d
mov dword [rbx + 0x70], r8d
mov eax, dword [rdi + 0x58]
dec eax
cmp eax, 4
ja 0x14011943f
mov eax, r8d
cmp ebp, r8d
je 0x140119441
mov eax, esi
mov dword [rbx + 0x8c], eax
test eax, eax
je 0x14011945d
mov eax, dword [rdi + 0x58]
mov dword [rbx + 0x90], eax
mov eax, dword [rdi + 0x58]
mov dword [rbx + 0x94], eax
cmp dword [rdi + 0x3a0], esi
jbe 0x140119470
mov eax, r8d
cmp dword [rdi + 0x3a4], esi
ja 0x140119472
mov eax, esi
mov dword [rbx + 0x98], eax
test eax, eax
je 0x1401194a7
mov eax, dword [rdi + 0x3a0]
mov dword [rbx + 0x9c], eax
mov eax, dword [rdi + 0x3a4]
add eax, eax
mov dword [rbx + 0xa0], eax
mov eax, esi
cmp dword [rdi + 0x390], esi
sete al
mov dword [rbx + 0xa4], eax
mov eax, esi
mov dword [rbx + 0xac], esi
cmp dword [rdi + 0x34], esi
setne al
mov dword [rbx + 0xa8], eax
mov eax, dword [rdi + 0x3ac]
mov dword [rbx + 0xe0], eax
cmp dword [rbx + 0x18], esi
je 0x1401194d4
cmp dword [rbx + 4], 0x64
mov eax, esi
jge 0x1401194d7
mov eax, r8d
mov dword [rbx + 0xe4], eax
test eax, eax
je 0x140119521
mov qword [rbx + 0xe8], r8
mov dword [rbx + 0xf0], esi
mov eax, dword [rdi + 0x244]
lea eax, [rax*4 - 1]
cmp eax, r8d
cmovge r8d, eax
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
call fcn.140281688
cvttss2si eax, xmm0
inc eax
mov dword [rbx + 0xf8], eax
mov dword [rbx + 0xf4], eax
cmp dword [rdi + 0x8c], esi
mov rbp, qword [rsp + 0x48]
setne sil
mov dword [rbx + 0x10c], esi
mov eax, dword [rdi + 0xb0]
mov rsi, qword [rsp + 0x50]
mov dword [rbx + 0x110], eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret