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

Disassembly:
push qword [rdi]
mov eax, dword [rdi + 4]
mov esi, dword [rdi - 4]
add eax, dword [rsp + 0x38]
add esi, dword [rsp + 0x14]
push rax
push rsi
call fcn.1401199dc
movzx eax, byte [rsi]
lea edi, [rdi + 0x28]
add esp, 0xc
mov dword [rdi - 0x30], eax
movzx eax, word [rbp + 6]
cmp ebx, r8d
jb 0x1401188f0
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x2c]
mov esi, dword [rsp + 0x1c]
mov edx, dword [rsp + 0x10]
mov edi, edx
sub edi, dword [rbp + 0x34]
cmp dword [rsp + 0x24], 0
je 0x140118a01
test edi, edi
je 0x140118a01
mov eax, dword [rsi + 0xa0]
lea ecx, [rax + rdx]
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
add eax, edx
mov dword [rsp + 0x20], ecx
cmp ecx, eax
jae 0x140118a01
mov eax, dword [rcx + 4]
test eax, eax
je 0x140118a01
invalid
lea esi, [rcx + 8]
jmp 0x1401189e3
movzx esi, word [rsi]
mov eax, dword [rsp + 0x20]
mov ecx, esi
and ecx, 0xfff
add ecx, dword [rax]
mov eax, dword [rsp + 0x1c]
cmp ecx, dword [rax + 0x50]
jae 0x1401189d3
shr si, 0xc
cmp si, 0xa
je 0x1401189a2
push 3
pop rax
cmp si, ax
jne 0x1401189a7
add dword [rcx + rdx], edi
jmp 0x1401189c4
xor eax, eax
cmp si, ax
jne 0x1401189b6
mov eax, edi
shr eax, 0x10
jmp 0x1401189c1
push 2
pop rax
cmp si, ax
jne 0x1401189ca
movzx eax, di
add dword [rcx + rdx], eax
mov edx, dword [rsp + 0x10]
jmp 0x1401189d3
test si, si
jne 0x140118ef2
invalid
add byte [rax], al
mov esi, dword [rsp + 0x14]
push 2
pop rcx
add esi, ecx
mov ecx, dword [rsp + 0x20]
mov eax, dword [rcx + 4]
add eax, ecx
mov dword [rsp + 0x14], esi
cmp esi, eax
jne 0x140118976
mov eax, dword [rsp + 0x38]
mov ecx, esi
add eax, edx
mov dword [rsp + 0x20], esi
cmp esi, eax
jb 0x140118966
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0x80]
test eax, eax
je 0x140118ad7
lea esi, [rax + rdx]
cmp dword [rsi + 0xc], 0
mov dword [rsp + 0x18], esi
je 0x140118ad7
mov eax, dword [rsi + 0xc]
add eax, edx
push rax
push rbx
call fcn.14011936e
mov edx, dword [rsp + 0x18]
mov edi, dword [rsi + 0x10]
mov dword [rsp + 0x40], eax
add edi, edx
mov eax, dword [rsi]
add eax, edx
mov dword [rsp + 0x28], edi
pop rcx
pop rcx
mov dword [rsp + 0x14], eax
mov ecx, dword [rax]
test ecx, ecx
je 0x140118ac2
mov ebp, dword [rsp + 0x38]
mov esi, dword [rsp + 0x358]
jns 0x140118a6a
push rcx
push 0
push rbp
push rbx
call fcn.14011940c
jmp 0x140118a9c
lea edi, [rdx + 2]
add edi, ecx
cmp dword [rsi + 4], 0
je 0x140118a8e
push rdi
push rbx
call fcn.140117d0f
pop rcx
pop rcx
test eax, eax
je 0x140118a8e
mov eax, dword [rbx + 0x108]
mov edi, dword [rsp + 0x20]
jmp 0x140118a9f
push 0
push rdi
push rbp
push rbx
call fcn.14011940c
mov edi, dword [rsp + 0x30]
add esp, 0x10
mov dword [rdi], eax
mov eax, dword [rsp + 0x14]
mov edx, dword [rsp + 0x10]
push 4
pop rcx
add eax, ecx
add edi, ecx
mov dword [rsp + 0x14], eax
mov dword [rsp + 0x20], edi
mov ecx, dword [rax]
test ecx, ecx
jne 0x140118a5c
mov esi, dword [rsp + 0x18]
add esi, 0x14
mov dword [rsp + 0x18], esi
cmp dword [rsi + 0xc], 0
jne 0x140118a24
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
mov eax, dword [rax + 0xe0]
test eax, eax
je 0x140118b75
lea esi, [rax + 4]
add esi, edx
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
je 0x140118b75
add eax, edx
push rax
push rbx
call fcn.14011936e
mov edx, dword [rsp + 0x18]
mov dword [rsp + 0x40], eax
pop rcx
pop rcx
test eax, eax
je 0x140118b64
mov edi, dword [rsi + 0xc]
mov ecx, dword [rsi + 8]
add edi, edx
add ecx, edx
mov dword [rsp + 0x14], ecx
mov eax, dword [rdi]
test eax, eax
je 0x140118b64
mov ebp, dword [rsp + 0x38]
push 4
pop rsi
jns 0x140118b30
xor ecx, ecx
jmp 0x140118b35
lea ecx, [rdx + 2]
add ecx, eax
xor edx, edx
test eax, eax
cmovns eax, edx
push rax
push rcx
push rbp
push rbx
call fcn.14011940c
mov ecx, dword [rsp + 0x24]
add edi, esi
add esp, 0x10
mov dword [rcx], eax
add ecx, esi
mov eax, dword [rdi]
mov edx, dword [rsp + 0x10]
mov dword [rsp + 0x14], ecx
test eax, eax
jne 0x140118b2a
mov esi, dword [rsp + 0x18]
add esi, 0x20
mov dword [rsp + 0x18], esi
mov eax, dword [rsi]
test eax, eax
jne 0x140118af8
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x1c]
lea edi, [rsp + 0x54]
push 0x3e
pop rcx
mov esi, ebp
mov eax, dword [rax + 0x28]
rep movsd dword [rdi], dword [rsi]
mov edi, dword [rsp + 0x58]
add eax, edx
shr edi, 0x10
push 4
imul esi, edi, 0x28
push 0x3000
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x1c], edi
push rsi
push 0
call qword [rbx + 0x3c]
push rsi
push qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
and byte [rax - 0x18], dl
and eax, 0x3300000e
rol byte [rbx + 0x39400cc4], 0x83
je 0x140118bc6
add byte [rax], al
jne 0x140118c07
cmp byte [rbx + 0x625], 0
jne 0x140118bef
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x18]
call fcn.140119a00
push qword [rbp + 0x54]
push 0
push qword [rsp + 0x48]
call fcn.140119a00
add esp, 0x18
jmp 0x140118c07
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140118c07
push qword [rbp + 0x54]
push rax
push qword [rsp + 0x18]
call fcn.1401199dc
add esp, 0xc
cmp byte [rbx + 0x625], 0
jne 0x140118c68
push qword [rsp + 0x10]
call qword [rbx + 0x70]
push rax
call qword [rbx + 0x128]
test eax, eax
jne 0x140118f53
mov eax, dword [rsp + 0x10]
xor ecx, ecx
cmp dword [rsp + 0x24], ecx
push 0x80
push rcx
push 2
cmovne eax, ecx
and dword [rsp + 0x34], ecx
mov dword [rsp + 0x1c], eax
pop rax
push rax
lea eax, [rsp + 0x34]
push rax
push rcx
push rcx
push rcx
lea eax, [rsp + 0x2c]
push rax
call qword [rbx + 0x70]
push rax
push qword [rsp + 0x68]
call qword [rbx + 0x124]
test eax, eax
jne 0x140118f53
lea eax, [rsp + 0x30]
push rax
push 8
push qword [rsp + 0x30]
push qword [rsp + 0x1c]
call qword [rbx + 0x48]
xor eax, eax
mov dword [rsp + 0x24], eax
test edi, edi
je 0x140118d33
mov edi, dword [rsp + 0x18]
mov esi, dword [rsp + 0x3c]
add edi, 0xc
mov edx, dword [rdi + 0x18]
mov ebp, edx
mov ecx, edx
shr ebp, 0x1e
shr edx, 0x1d
shr ecx, 0x1f
and edx, 1
test ecx, edx
jne 0x140118d21
test ebp, edx
je 0x140118cb2
push 0x20
jmp 0x140118ce1
mov eax, edx
xor eax, 1
mov dword [rsp + 0x3c], eax
and eax, ecx
test ebp, eax
je 0x140118ccf
cmp byte [rbx + 0x625], 0
push 8
pop rsi
push 4
jmp 0x140118cec
xor eax, eax
xor ecx, eax
mov eax, ebp
xor eax, 1
and eax, ecx
test edx, eax
je 0x140118ce4
push reloc.WS2_32.dll_recv
pop rsi
jmp 0x140118cf0
and ecx, dword [rsp + 0x3c]
test ebp, ecx
push 2
pop rax
cmovne esi, eax
mov edx, dword [rsp + 0x10]
mov ecx, dword [rdi]
add edx, ecx
mov eax, dword [rsp + 0x14]
cmp qword [rsp + 0x24], rax
jae 0x140118d0a
mov eax, dword [rdi + 0x28]
sub eax, ecx
jmp 0x140118d0d
mov eax, dword [rdi + 4]
and dword [rsp + 0x30], 0
lea ecx, [rsp + 0x30]
push rcx
push rsi
push rax
push rdx
call qword [rbx + 0x48]
mov eax, dword [rsp + 0x24]
add edi, 0x28
mov dword [rsp + 0x24], eax
cmp eax, dword [rsp + 0x14]
jb 0x140118c93
lea eax, [rsp + 0x30]
xor edi, edi
push rax
push 2
pop rax
push rax
push qword [rsp + 0x88]
mov dword [rsp + 0x3c], edi
push qword [rsp + 0x1c]
call qword [rbx + 0x48]
mov eax, dword [rsp + 0x1c]
mov ecx, dword [rsp + 0x10]
mov esi, dword [rax + 0xc0]
test esi, esi
je 0x140118d8c
mov esi, dword [rsi + rcx + 0xc]
test esi, esi
je 0x140118d8c
mov eax, dword [rsi]
test eax, eax
je 0x140118d8c
push 4
pop rbx
push rdi
push 1
push rcx
call rax
mov ecx, dword [rsp + 0x10]
add esi, ebx
mov eax, dword [rsi]
test eax, eax
jne 0x140118d73
mov ebx, dword [rsp + 0x354]
mov ebp, dword [rsp + 0x358]
push 3
pop rax
cmp dword [rbp], eax
jne 0x140118e85
xor eax, eax
push rdi
push rax
mov eax, dword [rsp + 0x84]
push rcx
add eax, ecx
call rax
cmp byte [rbp + 0x30c], 0
je 0x140118eda
mov ecx, dword [rsp + 0xcc]
mov edx, dword [rsp + 0x10]
test ecx, ecx
je 0x140118ede
mov esi, dword [rcx + rdx + 0x18]
test esi, esi
je 0x140118ede
mov eax, dword [rcx + rdx + 0x20]
lea edi, [rsi - 1]
mov ebp, dword [rcx + rdx + 0x1c]
add eax, edx
mov ecx, dword [rcx + rdx + 0x24]
add ebp, edx
add ecx, edx
mov dword [rsp + 0x3c], ecx
lea edi, [rax + rdi*4]
mov ecx, dword [rsp + 0x358]
mov eax, dword [rdi]
add ecx, 0x30c
add eax, edx
push rcx
push rax
call fcn.140119a15
mov edx, dword [rsp + 0x18]
pop rcx
pop rcx
test eax, eax
je 0x140118e29
push 4
pop rax
sub edi, eax
sub esi, 1
jne 0x140118df8
jmp 0x140118ef2
mov eax, dword [rsp + 0x3c]
movzx eax, word [rax + rsi*2 - 2]
mov esi, dword [rbp + rax*4]
add esi, edx
je 0x140118ef2
mov ebp, dword [rsp + 0x358]
lea edi, [rbp + 0x40c]
cmp byte [rdi], 0
je 0x140118e81
cmp dword [rbp + 0x50c], 0
je 0x140118e6b
lea eax, [rsp + 0x14c]
push rax
push rdi
push rbx
call fcn.140119349
add esp, 0xc
cmp dword [rbp + 0x50c], 0
lea eax, [rsp + 0x14c]
cmove eax, edi
push rax
call rsi
jmp 0x140118eda
call rsi
jmp 0x140118eda
lea eax, [rbp + 0x40c]
cmp byte [rax], 0
je 0x140118eb0
lea ecx, [rsp + 0x14c]
push rcx
push rax
push rbx
call fcn.140119349
lea eax, [rsp + 0x158]
push rax
push rbx
call fcn.140119121
add esp, 0x14
cmp dword [rbp + 4], edi
je 0x140118ecd
push rdi
push rdi
push rdi
push qword [rsp + 0x38]
push rdi
push rdi
call qword [rbx + 0x5c]
test eax, eax
je 0x140118eda
push 0xffffffffffffffff
push rax
call qword [rbx + 0x58]
jmp 0x140118eda
movabs eax, dword fs:[0xff3070ff00000018]
push rsp
and al, 0x30
mov edx, dword [rsp + 0x10]
push 3
pop rax
cmp dword [rbx + 0x230], eax
jne 0x140118ef2
push 0xffffffffffffffff
call qword [rbx + 0x4c]
mov edx, dword [rsp + 0x10]
test edx, edx
je 0x140118f38
movzx eax, word [rsp + 0x5a]
mov esi, 0xc000
imul eax, eax, 0x28
push rsi
push rax
push qword [rsp + 0x20]
call qword [rbx + 0x40]
mov eax, dword [rsp + 0x48]
mov eax, dword [rsp + 0x358]
push qword [rax + 0x524]
push 0
push qword [rsp + 0x3c]
call fcn.140119a00
add esp, 0xc
pop rdi
pop rsi
pop rbp
pop rbx
add esp, 0x340
ret