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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx]
movzx esi, byte [rdx + 0x20]
mov rbx, qword [rcx + 0x10]
mov eax, dword [rax]
inc dword [rcx + 0x58]
mov rdi, rdx
mov edx, dword [rcx + 0x58]
not esi
mov r14, rcx
mov ecx, dword [rdi + 8]
and esi, 1
mov dword [rsp + 0x98], eax
lea r15d, [rax + rsi]
mov dword [rsp + 0x30], edx
mov dword [rsp + 0xa0], ecx
add r15d, dword [rsp + 0xb8]
cmp dword [rsp + 0xc0], 0
je 0x180079297
mov ebp, r9d
sub ebp, eax
sub ebp, esi
jmp 0x1800792a2
lea eax, [rdx + r15]
lea ebp, [rdx + 1]
mov dword [r14 + 0x58], eax
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x1800792ae
inc eax
jmp 0x1800792b2
mov eax, dword [r8 + 0x10]
mov r13, qword [rbx + 0x30]
mov dword [rsp + 0x90], eax
movsxd r12, dword [r13 + 0x80]
lea eax, [r12 + 1]
mov dword [r13 + 0x80], eax
lea eax, [r12 - 1]
test r12d, eax
jne 0x1800792fd
mov rdx, qword [r13 + 0x88]
mov rcx, qword [r13]
lea eax, [r12 + r12 + 1]
movsxd r8, eax
shl r8, 2
call fcn.180012710
mov qword [r13 + 0x88], rax
mov rdx, qword [r13 + 0x88]
or ecx, 0xffffffff
test rdx, rdx
je 0x180079310
mov dword [rdx + r12*4], ecx
mov r9d, dword [rsp + 0xb0]
mov rdx, qword [rdi]
sub ecx, r12d
mov dword [rdi + 0x1c], ecx
mov r8d, ebp
mov rcx, r14
mov byte [rsp + 0x20], 5
call fcn.1800520a0
mov r12d, dword [rsp + 0x98]
xor r9d, r9d
test esi, esi
je 0x180079399
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rdi + 0xc]
lea edx, [rbp + r12]
cmp dword [rax + 0x64], ecx
jg 0x18007936d
mov dword [rsp + 0x20], r9d
mov r9d, edx
mov rcx, rbx
mov edx, 0x49
call fcn.180035690
jmp 0x180079399
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], r9b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x49
cmp dword [rsp + 0xc0], 0
jne 0x1800793c2
mov r9d, dword [rsp + 0xb8]
mov edx, dword [rsp + 0xa8]
lea r8d, [rbp + r12]
add r8d, esi
mov rcx, r14
call fcn.1800506b0
mov r13d, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x30]
mov edx, gethostbyname
sub r15d, r13d
lea r8d, [rbp + r13]
mov rcx, rbx
mov r9d, r15d
mov dword [rsp + 0x20], eax
call fcn.1800356f0
lea r15, [0x1802423a0]
test r13d, r13d
jle 0x180079790
mov ecx, dword [r14 + 0x58]
mov r13d, r12d
lea r8d, [rcx + 1]
add ecx, dword [rdi + 8]
mov dword [r14 + 0x58], ecx
sub r13d, dword [rdi + 8]
mov rax, qword [rbx + 0x30]
add r13d, esi
test esi, esi
movsxd rsi, dword [rbx + 0x3c]
mov dword [rsp + 0xc0], r8d
je 0x18007946d
lea edx, [rbp + r12]
cmp dword [rax + 0x64], esi
jg 0x180079457
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x2e]
mov dword [rsp + 0x20], 0
call fcn.180035690
mov r8d, dword [rsp + 0xc0]
mov esi, eax
jmp 0x1800794c3
lea eax, [rsi + 1]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x2e
jmp 0x1800794af
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], esi
jg 0x18007949b
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x3b]
mov dword [rsp + 0x20], 0
call fcn.180035690
mov r8d, dword [rsp + 0xc0]
mov esi, eax
jmp 0x1800794c3
lea eax, [rsi + 1]
lea rcx, [rsi + rsi*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x3b
mov dword [rax + rcx*8 + 4], edx
xor edx, edx
mov qword [rax + rcx*8 + 0x10], rdx
mov qword [rax + rcx*8 + 8], rdx
mov byte [rax + rcx*8 + 3], dl
mov eax, dword [rdi + 8]
mov r9d, ebp
mov edx, 0x2a
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1800356f0
mov r11d, dword [rdi + 0x18]
test r11d, r11d
jns 0x1800794ea
mov r11d, dword [rbx + 0x3c]
dec r11d
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1800794f8
mov rcx, r15
jmp 0x180079507
movsxd rax, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rcx, [rax + rcx*8]
mov rax, qword [r14]
mov qword [rsp + 0x98], rcx
cmp byte [rax + 0x55], 0
jne 0x1800798f0
mov r12, qword [rcx + 0x10]
mov eax, dword [rsp + 0xb8]
xor edx, edx
add eax, r13d
mov dword [rcx + 8], eax
movzx r8d, word [r12 + 6]
mov rcx, qword [r12 + 0x18]
call fcn.180189610
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x180079557
mov r8, r12
mov edx, 0xfffffffa
call fcn.180036130
jmp 0x18007958c
mov eax, dword [rbx + 0x3c]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180079584
mov r9d, 0xfffffffa
mov r8, r12
mov rcx, rbx
call fcn.1800363f0
jmp 0x18007958c
mov qword [rdx + 0x10], r12
mov byte [rdx + 1], 0xfa
movzx r9d, word [r12 + 8]
mov r8d, dword [rsp + 0xa0]
mov rdx, qword [rdi]
dec r9d
mov rcx, r14
call fcn.18007ab50
mov rcx, qword [rsp + 0x98]
xor r9d, r9d
mov qword [rcx + 0x10], rax
mov r13d, dword [rbx + 0x3c]
lea edx, [r9 + 0x2b]
lea r8d, [r13 + 1]
mov rcx, rbx
mov dword [rsp + 0x20], r8d
call fcn.1800356f0
mov rcx, rbx
call fcn.180035d60
mov dword [rdi + 0x14], eax
mov edx, dword [r14 + 0x58]
inc edx
mov dword [r14 + 0x58], edx
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x10], edx
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180079619
mov r9d, r8d
mov r8d, edx
mov rcx, rbx
mov edx, ntohs
mov dword [rsp + 0x20], 0
call fcn.180035690
xor r9d, r9d
jmp 0x180079648
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
xor r9d, r9d
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], ntohs
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], ecx
jg 0x180079674
mov dword [rsp + 0x20], r9d
xor r9d, r9d
mov r8d, edx
lea edx, [r9 + 0x78]
mov rcx, rbx
call fcn.180035690
xor r9d, r9d
jmp 0x18007969f
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x78
mov r12d, dword [rsp + 0x90]
test r12d, r12d
je 0x180079704
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rdi + 0x1c]
cmp dword [rax + 0x64], ecx
jg 0x1800796d7
mov dword [rsp + 0x20], r9d
mov r9d, r8d
mov edx, 0x2e
mov r8d, r12d
mov rcx, rbx
call fcn.180035690
jmp 0x180079704
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x2e
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test esi, esi
jns 0x18007971a
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180079728
mov rax, r15
jmp 0x180079737
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov r8d, dword [rsp + 0xc0]
mov dword [rax + 8], edx
mov r9d, dword [rdi + 8]
mov edx, ebp
mov rcx, r14
call fcn.1800506b0
mov r11d, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec r11d
mov dword [rax + 0x6c], r11d
mov edx, dword [rbx + 0x3c]
test r13d, r13d
jns 0x18007976b
lea r13d, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18007977c
mov rax, r15
mov dword [rax + 8], edx
jmp 0x180079798
movsxd rax, r13d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x180079798
mov r12d, dword [rsp + 0x90]
movzx eax, byte [rdi + 0x20]
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rdi + 0xc]
and al, 1
mov rcx, rbx
neg al
sbb edx, edx
xor ebp, ebp
add edx, 0x6e
mov dword [rsp + 0x20], ebp
call fcn.1800356f0
test r12d, r12d
je 0x1800798f0
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], esi
jg 0x1800797f1
xor r9d, r9d
mov r8d, r12d
mov edx, 0x8c
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.180035690
mov esi, eax
jmp 0x180079820
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], 1
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x8c
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], ecx
jg 0x180079848
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x69]
mov dword [rsp + 0x20], ebp
call fcn.180035690
jmp 0x18007986f
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x69
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov edx, dword [rdi + 0xc]
cmp dword [rax + 0x64], ecx
jg 0x180079897
xor r9d, r9d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x5f]
mov dword [rsp + 0x20], ebp
call fcn.180035690
jmp 0x1800798be
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], bpl
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rbp
mov qword [rax + rcx*8 + 0x10], rbp
mov word [rax + rcx*8], 0x5f
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test esi, esi
jns 0x1800798d4
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], bpl
jne 0x1800798ec
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea r15, [rax + rcx*8]
mov dword [r15 + 8], edx
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret