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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, qword [rcx + 8]
xor eax, eax
mov rdi, qword [rcx]
mov ebp, r8d
mov rbx, qword [rcx + 0x10]
mov r12d, edx
mov rsi, rcx
mov dword [rsp + 0x80], eax
movzx r14d, byte [r13 + 0x20]
dec dword [rdi + 0x44]
mov r15d, dword [rdi + 0x44]
mov byte [rsp + 0x88], r14b
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], eax
cmp edx, 2
jne 0x1402329a3
cmp byte [r13 + 0x21], 0x5a
je 0x140232e67
mov r9d, reloc.WS2_32.dll_gethostname
test ebp, ebp
jle 0x140232a2c
cmp byte [r13 + 0x20], 0x59
jne 0x140232a14
mov ecx, dword [rbx + 0x90]
mov dword [rsp + 0x34], ecx
cmp r12d, 2
jne 0x1402329f2
cmp byte [r13 + 0x21], 0x56
jne 0x1402329d1
mov r8d, dword [rsi + 0x34]
jmp 0x1402329d5
mov r8d, dword [rsi + 0x2c]
mov edx, gethostname
mov eax, 0x2c
cmovne edx, r9d
mov r9d, gethostname
cmovne eax, r9d
mov ecx, dword [rax + rsi]
jmp 0x1402329fe
mov r8d, dword [rsi + 0x3c]
mov edx, gethostname
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x28], r15d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140232e80
jmp 0x140232a2c
mov r9d, r15d
mov dword [rsp + 0x20], 1
mov edx, 0x3b
mov rcx, rbx
call fcn.140202260
cmp r12d, 1
jne 0x140232a46
cmp dword [r13 + 0x84], 0
jne 0x140232a46
xor edx, edx
mov rcx, rsi
call fcn.1402317b0
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [r13 + 0x22]
cmp byte [r13 + 0x21], al
jne 0x140232b51
test ebp, ebp
je 0x140232b51
cmp byte [r13 + 0x20], 0x59
jne 0x140232b51
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x140232a89
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x140232ab5
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xe8]
test al, al
jne 0x140232aa5
inc dword [rdi + 0x38]
mov r14d, dword [rdi + 0x38]
jmp 0x140232ab5
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xe8]
cmp r12d, 2
jne 0x140232ae8
mov r8d, dword [rsi + 0x2c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.1402021f0
mov r8d, dword [rsi + 0x3c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.1402021f0
mov r8d, r14d
jmp 0x140232b06
cmp dword [rsi + 0x28], 0
je 0x140232b1a
mov r8d, dword [rsi + 0x3c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.1402021f0
mov r8d, dword [rsi + 0x28]
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, rbx
call fcn.140202260
test ebp, ebp
je 0x140232b30
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140232b30
mov dword [rdi + rax*4 + 0xe8], ebp
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x140232b48
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140232b48
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
movzx r14d, byte [rsp + 0x88]
mov ecx, r12d
sub ecx, 1
je 0x140232bf4
cmp ecx, 1
je 0x140232baf
cmp dword [r13 + 0x84], 0
mov ebp, dword [rsi + 0x40]
mov r15d, dword [rsi + 0x3c]
mov dword [rsp + 0x88], ebp
je 0x140232b95
mov r8d, dword [r13 + 0x88]
mov r9d, 1
mov rcx, rbx
lea edx, [r9 + 0x55]
call fcn.1402021f0
jmp 0x140232c0a
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov rdx, r13
mov rcx, rsi
call fcn.140231b90
jmp 0x140232c0a
mov r8d, dword [r13 + 0x84]
mov r9d, 1
mov ebp, dword [rsi + 0x30]
mov r15d, dword [rsi + 0x2c]
mov dword [rsp + 0x88], ebp
test r8d, r8d
je 0x140232bdd
lea edx, [r9 + 0x55]
mov rcx, rbx
call fcn.1402021f0
jmp 0x140232c0a
mov eax, dword [rsi + 0x20]
mov r8d, r15d
mov rdx, r13
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.140231b90
jmp 0x140232c0a
mov eax, dword [rsi + 0x38]
mov rcx, rsi
mov r15d, dword [rsi + 0x34]
mov dword [rsp + 0x88], eax
call fcn.1402344d0
cmp r12d, dword [rsi + 0x24]
jne 0x140232c3d
mov r8d, r15d
mov edx, 0x82
mov rcx, rbx
call fcn.140202180
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x140232c3d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], 2
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
je 0x140232cd0
lea edx, [rcx + 2]
cmp eax, ecx
jg 0x140232c78
mov r9d, edx
mov dword [rsp + 0x20], 0
mov edx, 0x27
mov r8d, r15d
mov rcx, rbx
call fcn.1401a4bb0
jmp 0x140232ca9
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edx, 9
mov rcx, rbx
call fcn.140202110
mov r12d, dword [rsp + 0x30]
mov ebp, eax
mov dword [rsp + 0x80], eax
cmp r14b, 0x4c
je 0x140232ddb
jmp 0x140232d4e
xor r8d, r8d
cmp r14b, 0x4c
mov edx, r8d
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x140232cff
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r15d
mov edx, 0x27
mov rcx, rbx
call fcn.1401a4bb0
jmp 0x140232d2d
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov r12d, dword [rsp + 0x30]
cmp r14b, 0x4c
je 0x140232dd4
xor r8d, r8d
mov r9d, r12d
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.1402021f0
mov rbp, qword [r13 + 0x18]
test rbp, rbp
je 0x140232d6a
mov ebp, dword [rbp]
test ebp, ebp
je 0x140232d70
mov edx, ebp
mov rcx, rdi
call fcn.1401e38a0
jmp 0x140232d72
xor eax, eax
mov ebp, eax
jmp 0x140232d72
xor eax, eax
mov r8d, eax
mov edx, r15d
mov rcx, rsi
mov r14d, eax
call fcn.1402343c0
mov eax, dword [rsp + 0x38]
mov r8d, r14d
mov r9d, dword [rsp + 0x88]
mov rcx, rdi
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.140233ed0
cmp ebp, 1
jne 0x140232dc8
test r14d, r14d
je 0x140232dd4
movzx eax, byte [rdi + 0x1f]
mov ebp, dword [rsp + 0x80]
cmp al, 8
jae 0x140232ddb
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
jmp 0x140232ddb
cmp ebp, dword [rdi + 0x28]
jle 0x140232dd4
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x2c], r14d
mov ebp, dword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x140232e38
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140232e0b
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 9]
call fcn.1401a4bb0
jmp 0x140232e38
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r12d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x140232e54
mov r8d, r12d
mov rdx, rbx
call fcn.1401bd9c0
jmp 0x140232e65
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x90]
movsxd r8, r12d
mov dword [rdx + r8*4], ecx
mov eax, ebp
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret