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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov eax, dword [rcx + 0x58]
mov r13d, dword [rsp + 0xf0]
mov rsi, qword [rcx]
mov dword [rsp + 0x34], r13d
inc r13d
mov r12, rcx
mov rbx, qword [r12 + 0x10]
mov dword [rsp + 0x50], r13d
inc r13d
mov dword [rsp + 0x3c], r13d
inc r13d
mov r14, rdx
mov r15d, r13d
mov dword [rsp + 0x30], r13d
inc r13d
mov ebp, r13d
mov dword [rsp + 0x4c], r13d
inc r13d
mov dword [rsp + 0x58], r13d
inc r13d
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x48], r13d
inc r13d
mov byte [rsp + 0x54], 1
cmp eax, r13d
mov ecx, r13d
mov dword [rsp + 0xf0], r13d
cmovg ecx, eax
mov dword [r12 + 0x58], ecx
test rbx, rbx
jne 0x180055678
mov rcx, r12
call fcn.180035380
mov rbx, rax
mov qword [r12 + 0x10], rax
test rax, rax
je 0x180055654
mov edx, 0x9e
mov rcx, rax
call fcn.180035780
cmp qword [r12 + 0x1c8], 0
jne 0x18005566f
mov rax, qword [r12]
test byte [rax + 0x50], 8
jne 0x18005566f
mov byte [r12 + 0x23], 1
test rbx, rbx
je 0x1800563bc
test r14, r14
je 0x1800563bc
cmp dword [r14 + 0x38], 0
je 0x1800563bc
mov rdx, qword [r14]
lea r8, [0x18020df74]
lea rcx, str.sqlite__
xor r9d, r9d
call fcn.180066090
test eax, eax
jne 0x1800563bc
mov rcx, qword [r14 + 0x68]
mov qword [rsp + 0x88], rdi
mov edi, 0xfff0bdc0
xor eax, eax
mov dword [rsp + 0x60], edi
test rcx, rcx
je 0x1800556f4
mov edi, eax
mov dword [rsp + 0x60], eax
cmp dword [rsi + 0x28], eax
jle 0x1800556f4
mov rax, qword [rsi + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], rcx
je 0x1800556f0
inc edi
add rax, 0x20
cmp edi, dword [rsi + 0x28]
jl 0x1800556e0
mov dword [rsp + 0x60], edi
mov rax, qword [rsi + 0x20]
mov r8, qword [r14]
xor r9d, r9d
movsxd rcx, edi
lea edx, [r9 + 0x1c]
shl rcx, 5
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, r12
call fcn.180057fe0
test eax, eax
jne 0x1800563b4
mov rax, qword [r14]
mov r8d, dword [r14 + 0x38]
xor r9d, r9d
mov edx, edi
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1800580a0
mov eax, dword [r12 + 0x54]
mov r11d, dword [rsp + 0xf8]
mov ecx, r11d
inc r11d
mov r9, r14
mov esi, r11d
mov dword [rsp + 0x38], r11d
inc r11d
cmp eax, r11d
mov dword [rsp + 0x64], ecx
mov edx, ecx
cmovg r11d, eax
mov r8d, edi
mov rcx, r12
mov dword [r12 + 0x54], r11d
mov dword [rsp + 0x20], 0x36
call fcn.18006c440
mov r8, qword [r14]
mov edx, ebp
mov rcx, rbx
call fcn.1800358d0
mov rbp, qword [r14 + 0x10]
mov qword [rsp + 0x40], rbp
test rbp, rbp
je 0x180056185
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x1800557b6
cmp rax, rbp
jne 0x180056173
mov eax, dword [rsp + 0x54]
cmp qword [rbp + 0x48], 0
mov r8d, 0
movzx eax, al
cmove eax, r8d
test byte [r14 + 0x46], 0x20
mov dword [rsp + 0x54], eax
je 0x18005586e
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
jne 0x18005586e
movzx edi, word [rbp + 0x5e]
mov r8, qword [r14]
lea r14d, [rdi - 1]
mov edx, dword [rsp + 0x58]
mov rcx, rbx
call fcn.1800358d0
mov eax, dword [r12 + 0x58]
lea r11d, [r14 + r13]
cmp eax, r11d
mov r8d, esi
mov edx, 0x36
cmovg r11d, eax
mov eax, dword [rsp + 0x60]
mov rcx, rbx
mov dword [r12 + 0x58], r11d
mov r9d, dword [rbp + 0x58]
mov dword [rsp + 0x20], eax
call fcn.1800356f0
mov rdx, rbp
mov rcx, r12
call fcn.180036570
mov rax, qword [rbx + 0x30]
mov r12d, dword [rsp + 0x50]
movsxd rcx, dword [rbx + 0x3c]
lea esi, [r12 + 1]
cmp dword [rax + 0x64], ecx
jg 0x18005588d
xor eax, eax
mov r9d, esi
mov r8d, edi
lea edx, [rax + 0x16]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.180035690
xor r9d, r9d
jmp 0x1800558bb
test byte [rbp + 0x64], 8
movzx edi, word [rbp + 0x60]
mov r8, qword [rbp]
je 0x1800557ef
movzx r14d, word [rbp + 0x5e]
dec r14d
jmp 0x1800557f3
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], edi
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
movzx r8d, word [rbp + 0x5e]
lea edx, [r12 + 2]
cmp dword [rax + 0x64], ecx
jg 0x1800558ec
mov dword [rsp + 0x20], r9d
mov r9d, edx
mov rcx, rbx
mov edx, reloc.WS2_32.dll_shutdown
call fcn.180035690
xor r9d, r9d
jmp 0x180055918
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], 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], reloc.WS2_32.dll_shutdown
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x180055940
xor r8d, r8d
mov r9d, esi
mov rcx, rbx
lea edx, [r8 + 0x23]
mov dword [rsp + 0x20], r12d
call fcn.180035690
mov edx, eax
jmp 0x18005596c
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r9
mov word [rax + rcx*8], 0x23
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x180055988
lea r8, [0x18020de08]
mov edx, 0xfffffffb
call fcn.180036130
jmp 0x1800559cd
test edx, edx
jns 0x180055991
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x1800559be
lea r8, [0x18020de08]
mov r9d, 0xfffffffb
mov rcx, rbx
call fcn.1800363f0
jmp 0x1800559cd
lea rax, [0x18020de08]
mov byte [rdx + 1], 0xfb
mov qword [rdx + 0x10], rax
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x1800559e7
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 2
mov esi, dword [rsp + 0x38]
mov edx, WSAGetLastError
mov rcx, rbx
mov r8d, esi
call fcn.1800357f0
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov edi, eax
mov dword [rsp + 0x5c], eax
cmp dword [rcx + 0x64], edx
jg 0x180055a29
mov r9d, dword [rsp + 0x3c]
xor eax, eax
xor r8d, r8d
lea edx, [rax + 0x16]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.180035690
jmp 0x180055a5c
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov edx, dword [rsp + 0x3c]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
xor r8d, r8d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov r12d, dword [rbx + 0x3c]
test r14d, r14d
jle 0x180055e85
mov rcx, rbx
call fcn.180035d60
mov rcx, qword [rsp + 0x70]
movsxd rdx, r14d
shl rdx, 2
mov ebp, eax
mov dword [rsp + 0x68], eax
call fcn.180012520
mov r15, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x180056151
mov edx, ntohs
mov rcx, rbx
call fcn.180035780
movsxd r12, dword [rbx + 0x3c]
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x6c], r12d
cmp r14d, 1
jne 0x180055b23
cmp word [rax + 0x5e], r14w
jne 0x180055b23
xor edi, edi
cmp byte [rax + 0x62], dil
je 0x180055b25
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x64], r12d
jg 0x180055aef
lea edx, [rdi + 0x4d]
mov r9d, ebp
mov r8d, r13d
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.180035690
mov rax, qword [rsp + 0x40]
jmp 0x180055b25
lea rcx, [r12 + r12*2]
lea eax, [r12 + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], 0x4d
mov rax, qword [rsp + 0x40]
jmp 0x180055b25
xor edi, edi
mov esi, edi
test r14d, r14d
jle 0x180055cd8
mov r12, r15
mov r15d, dword [rsp + 0xf0]
mov r13, rdi
nop
mov rdx, qword [rax + 0x40]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [r13 + rdx]
call fcn.18005aa50
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov rbp, rax
cmp dword [rcx + 0x64], edx
jg 0x180055b81
mov r9d, dword [rsp + 0x3c]
mov r8d, esi
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.180035690
jmp 0x180055baf
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov edx, dword [rsp + 0x3c]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov eax, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x38]
mov r9d, esi
mov edx, 0x2f
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1800356f0
mov rax, qword [rbx + 0x30]
movsxd rdi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edi
jg 0x180055bf9
mov r8d, dword [rsp + 0x30]
xor r9d, r9d
lea eax, [rsi + r15]
lea edx, [r9 + 0x4e]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.180035690
mov edi, eax
jmp 0x180055c2f
mov rcx, qword [rbx + 8]
lea rdx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [rbx + 0x3c], eax
mov eax, dword [rsp + 0x30]
xor r8d, r8d
mov dword [rcx + rdx*8 + 4], eax
lea eax, [rsi + r15]
mov byte [rcx + rdx*8 + 3], 0
mov dword [rcx + rdx*8 + 8], r8d
mov qword [rcx + rdx*8 + 0x10], r8
mov word [rcx + rdx*8], 0x4e
mov dword [rcx + rdx*8 + 0xc], eax
mov rcx, qword [rbx]
mov eax, edi
cmp byte [rcx + 0x55], 0
je 0x180055c49
mov r8, rbp
mov edx, 0xfffffffc
call fcn.180036130
jmp 0x180055c87
test edi, edi
jns 0x180055c52
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 0x180055c7a
mov r9d, 0xfffffffc
mov r8, rbp
mov rcx, rbx
call fcn.1800363f0
jmp 0x180055c87
test rbp, rbp
je 0x180055c87
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xfc
mov dword [r12], edi
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x180055ca5
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 0x80
mov rax, qword [rsp + 0x40]
inc esi
add r13, 8
add r12, 4
mov edi, 0
cmp esi, r14d
jl 0x180055b40
mov r15, qword [rsp + 0x78]
mov ebp, dword [rsp + 0x68]
mov r12d, dword [rsp + 0x6c]
mov r13d, dword [rsp + 0xf0]
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180055d00
mov r9d, dword [rsp + 0x3c]
mov r8d, r14d
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.180035690
jmp 0x180055d2f
mov edx, dword [rsp + 0x3c]
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], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov word [rax + rcx*8], reloc.WS2_32.dll_shutdown
mov edx, ebp
mov rcx, rbx
call fcn.180035860
mov r11d, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec r11d
lea ecx, [r12 - 1]
mov dword [rax + 0x6c], r11d
mov edx, dword [rbx + 0x3c]
test ecx, ecx
jns 0x180055d57
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180055d69
lea rax, [0x1802423a0]
jmp 0x180055d78
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test r14d, r14d
jle 0x180055df9
mov ebp, dword [rsp + 0x38]
mov rsi, r15
nop word [rax + rax]
mov ecx, dword [rbx + 0x3c]
mov edx, dword [rsi]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov r8d, dword [rbx + 0x3c]
test edx, edx
jns 0x180055daa
lea edx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x180055dbc
lea rax, [0x1802423a0]
jmp 0x180055dcb
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
lea eax, [rdi + r13]
mov r9d, edi
mov r8d, ebp
mov edx, 0x2f
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1800356f0
inc edi
add rsi, 4
cmp edi, r14d
jl 0x180055d90
mov ebp, dword [rsp + 0x68]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x88]
test rcx, rcx
je 0x180055e1c
movsxd rax, ebp
lea rax, [rax*4 + 4]
sub rcx, rax
mov eax, dword [rbx + 0x3c]
mov dword [rcx], eax
mov eax, dword [rbx + 0x3c]
mov rsi, qword [rsp + 0x70]
dec eax
mov dword [rdx + 0x6c], eax
cmp qword [rsi + 0x290], 0
je 0x180055e40
mov rdx, r15
mov rcx, rsi
call fcn.180012190
jmp 0x180055e73
cmp r15, qword [rsi + 0x178]
jb 0x180055e6b
cmp r15, qword [rsi + 0x180]
jae 0x180055e6b
mov rax, qword [rsi + 0x170]
mov qword [r15], rax
dec dword [rsi + 0x158]
mov qword [rsi + 0x170], r15
jmp 0x180055e73
mov rcx, r15
call fcn.180012120
mov rbp, qword [rsp + 0x40]
mov edi, dword [rsp + 0x5c]
mov r15d, dword [rsp + 0x30]
mov esi, dword [rsp + 0x38]
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov r14d, dword [rsp + 0x50]
cmp dword [rax + 0x64], edx
jg 0x180055eb4
mov edx, 0x23
mov r9d, r14d
mov rcx, rbx
lea r8d, [rdx - 0x22]
mov dword [rsp + 0x20], r15d
call fcn.180035690
mov edx, eax
jmp 0x180055ee7
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor r8d, r8d
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r8
mov word [rax + rcx*8], 0x23
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x180055f03
lea r8, [0x18020de40]
mov edx, 0xfffffffb
call fcn.180036130
jmp 0x180055f48
test edx, edx
jns 0x180055f0c
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x180055f39
lea r8, [0x18020de40]
mov r9d, 0xfffffffb
mov rcx, rbx
call fcn.1800363f0
jmp 0x180055f48
lea rax, [0x18020de40]
mov byte [rdx + 1], 0xfb
mov qword [rdx + 0x10], rax
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x180055f62
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 2
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x180055f8b
xor eax, eax
mov r9d, r12d
mov r8d, esi
lea edx, [rax + 7]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.180035690
xor r12d, r12d
jmp 0x180055fba
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 8], r12d
xor r12d, r12d
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov word [rax + rcx*8], 7
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov r8d, dword [rsp + 0x48]
mov edx, r14d
mov rcx, rbx
call fcn.1800554a0
mov rax, qword [rbx + 0x30]
movsxd r11, dword [rbx + 0x3c]
cmp dword [rax + 0x64], r11d
jg 0x180055ff9
mov r8d, dword [rsp + 0x4c]
mov r9d, 3
mov rcx, rbx
lea edx, [r9 + 0x2e]
mov dword [rsp + 0x20], r15d
call fcn.180035690
mov r11d, eax
jmp 0x18005602d
mov edx, dword [rsp + 0x4c]
lea rcx, [r11 + r11*2]
lea eax, [r11 + 1]
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], 3
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r12
mov word [rax + rcx*8], gethostbyname
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x180056046
lea r8, [0x180214854]
xor edx, edx
call fcn.180036130
jmp 0x180056073
test r11d, r11d
jns 0x180056052
mov r11d, dword [rbx + 0x3c]
dec r11d
movsxd rax, r11d
lea r8, [0x180214854]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.1800363f0
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800560a1
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0xe8]
mov edx, 0x4a
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.180035690
jmp 0x1800560d7
mov edx, dword [rsp + 0xe8]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x34]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov word [rax + rcx*8], 0x4a
mov dword [rax + rcx*8 + 8], edx
mov eax, dword [rsp + 0x34]
mov r8d, dword [rsp + 0xe8]
mov r9d, r15d
mov edx, 0x4b
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1800356f0
mov r11, qword [rbx]
cmp byte [r11 + 0x55], 0
jne 0x180056112
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 8
mov ecx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
dec ecx
mov dword [rax + 0x6c], ecx
mov edx, dword [rbx + 0x3c]
test edi, edi
jns 0x180056128
lea edi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x18005613d
lea rax, [0x1802423a0]
mov dword [rax + 8], edx
jmp 0x18005615b
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x18005615b
mov rbp, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x30]
mov rax, qword [rsp + 0xe0]
mov r14, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xd0]
mov rbp, qword [rbp + 0x28]
mov qword [rsp + 0x40], rbp
test rbp, rbp
jne 0x1800557a8
cmp qword [rsp + 0xe0], 0
jne 0x1800563b4
cmp byte [rsp + 0x54], 0
je 0x1800563b4
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
xor esi, esi
cmp dword [rax + 0x64], ecx
jg 0x1800561c9
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x64]
lea edx, [rsi + 0x32]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x1800561fb
mov edx, dword [rsp + 0x64]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x48]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], gethostbyname
mov dword [rax + rcx*8 + 8], edx
mov r8d, dword [rsp + 0x48]
mov edx, 0x2e
mov rcx, rbx
call fcn.1800357f0
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
mov edi, eax
cmp dword [rcx + 0x64], edx
jg 0x180056236
mov r9d, dword [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x19]
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x180056264
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov edx, dword [rsp + 0x58]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x19
mov rax, qword [rbx + 0x30]
movsxd r10, dword [rbx + 0x3c]
cmp dword [rax + 0x64], r10d
jg 0x180056293
mov r8d, dword [rsp + 0x4c]
mov r9d, 3
mov rcx, rbx
lea edx, [r9 + 0x2e]
mov dword [rsp + 0x20], r15d
call fcn.180035690
mov r10d, eax
jmp 0x1800562c7
mov edx, dword [rsp + 0x4c]
lea rcx, [r10 + r10*2]
lea eax, [r10 + 1]
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], 3
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], gethostbyname
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x1800562e0
lea r8, [0x180214854]
xor edx, edx
call fcn.180036130
jmp 0x18005630d
test r10d, r10d
jns 0x1800562ec
mov r10d, dword [rbx + 0x3c]
dec r10d
movsxd rax, r10d
lea r8, [0x180214854]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.1800363f0
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x18005633a
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0xe8]
mov edx, 0x4a
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.180035690
jmp 0x18005636f
mov edx, dword [rsp + 0xe8]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x34]
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov word [rax + rcx*8], 0x4a
mov dword [rax + rcx*8 + 8], edx
mov eax, dword [rsp + 0x34]
mov r8d, dword [rsp + 0xe8]
mov r9d, r15d
mov edx, 0x4b
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1800356f0
mov r11, qword [rbx]
cmp byte [r11 + 0x55], 0
jne 0x1800563aa
movsxd rax, dword [rbx + 0x3c]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rdx*8 - 0x15], 8
mov edx, edi
mov rcx, rbx
call fcn.1800360f0
mov rdi, qword [rsp + 0x88]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret