Function at 0x18003b670
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x1800ff050]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r15, r9
mov qword [rsp + 0x48], r9
mov edi, r8d
mov rsi, rdx
mov qword [rsp + 0x50], rdx
mov rbx, rcx
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xc8], r9
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x88], rax
mov rcx, qword [rcx]
test rcx, rcx
je 0x18003b701
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor r13d, r13d
mov qword [rbx], r13
jmp 0x18003b704
xor r13d, r13d
mov dword [rbx + 0x48], r13d
mov rax, qword [rbx + 0x40]
mov word [rax], r13w
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x70]
call fcn.180045e70
mov dword [rsp + 0x68], r13d
mov ebx, 4
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18006b9f0
mov r12, rax
mov qword [rsp + 0x60], rax
mov word [rax], r13w
mov dword [rsp + 0x6c], ebx
movsxd rax, dword [rsp + 0x78]
test eax, eax
je 0x18003b7f1
mov rdx, qword [rsp + 0x70]
lea rcx, [rdx + rax*2 - 2]
nop word [rax + rax]
cmp word [rcx], 0x2e
je 0x18003b781
cmp rcx, rdx
je 0x18003b7f1
sub rcx, 2
jmp 0x18003b770
sub rcx, rdx
sar rcx, 1
test ecx, ecx
js 0x18003b7f1
lea r8d, [rcx + 1]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.180039750
mov rbx, rax
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x18003b7e4
mov dword [rsp + 0x68], r13d
mov word [r12], r13w
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x60]
call fcn.18003a260
mov r11, qword [rbx]
mov r12, qword [rsp + 0x60]
mov rcx, r12
movzx eax, word [r11]
mov word [rcx], ax
add rcx, 2
add r11, 2
test ax, ax
jne 0x18003b7d0
mov rcx, qword [rsp + 0xb0]
call fcn.18006aaac
lea rcx, [rsp + 0x28]
call fcn.180039e60
test edi, edi
js 0x18003b84b
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp eax, ecx
jne 0x18003b837
cmp ecx, 0x40
jl 0x18003b817
mov eax, ecx
shr eax, 2
jmp 0x18003b826
mov eax, 1
mov edx, 8
cmp ecx, edx
cmovge eax, edx
lea edx, [rax + rcx]
lea rcx, [rsp + 0x28]
call fcn.18003a7a0
mov eax, dword [rsp + 0x34]
movsxd rcx, eax
mov rax, qword [rsp + 0x38]
mov dword [rax + rcx*4], edi
inc dword [rsp + 0x34]
jmp 0x18003c7d7
mov esi, r13d
mov dword [rsp + 0x24], r13d
mov ebx, r13d
mov dword [rsp + 0x20], ebx
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x5c], 0
jle 0x18003ba6b
mov rcx, r13
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x118], r13
mov edx, 8
lea r8d, [rdx - 7]
jmp 0x18003b899
mov edx, 8
lea r8d, [rdx - 7]
mov rax, qword [rax + 0x60]
mov rax, qword [rcx + rax]
mov qword [rsp + 0xb0], rax
mov r14d, r13d
cmp dword [rax + 0x4c], 0
jle 0x18003b9f6
mov r15, r13
nop dword [rax]
mov rax, qword [rax + 0x50]
mov rcx, qword [r15 + rax]
mov rsi, qword [rcx]
nop dword [rax + rax]
movzx ebx, word [r12]
add r12, 2
movzx edi, word [rsi]
add rsi, 2
cmp bx, di
je 0x18003b906
movzx ecx, bx
call qword [sym.imp.USER32.dll_CharUpperW]
mov r13, rax
movzx ecx, di
call qword [sym.imp.USER32.dll_CharUpperW]
cmp r13w, ax
jb 0x18003b90d
cmp r13w, ax
ja 0x18003b90d
test bx, bx
je 0x18003b92d
jmp 0x18003b8d0
inc r14d
add r15, 8
mov rax, qword [rsp + 0xb0]
cmp r14d, dword [rax + 0x4c]
jge 0x18003b9e5
mov r12, qword [rsp + 0x60]
jmp 0x18003b8c0
test r14d, r14d
js 0x18003b9d2
movsxd rsi, dword [rsp + 0x24]
mov rbx, rsi
mov r12, qword [rsp + 0x118]
mov rdi, r12
inc esi
mov dword [rsp + 0x24], esi
add r12, 4
mov qword [rsp + 0x118], r12
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp eax, ecx
jne 0x18003b994
cmp ecx, 0x40
jl 0x18003b973
mov eax, ecx
shr eax, 2
jmp 0x18003b983
mov eax, 1
cmp ecx, 8
mov edx, 8
cmovge eax, edx
lea edx, [rax + rcx]
lea rcx, [rsp + 0x28]
call fcn.18003a7a0
mov eax, dword [rsp + 0x34]
sub eax, ebx
movsxd r8, eax
mov r9, qword [rsp + 0x40]
imul r8, r9
mov rdx, rbx
imul rdx, r9
mov rax, qword [rsp + 0x38]
add rdx, rax
movsxd rcx, esi
imul rcx, r9
add rcx, rax
call fcn.18006c2d0
inc dword [rsp + 0x34]
mov rax, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x20]
mov dword [rdi + rax], ebx
jmp 0x18003ba33
mov ebx, dword [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov edx, 8
lea r8d, [rdx - 7]
jmp 0x18003b9f6
mov ebx, dword [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov edx, 8
lea r8d, [rdx - 7]
mov ecx, dword [rsp + 0x30]
cmp dword [rsp + 0x34], ecx
jne 0x18003ba22
cmp ecx, 0x40
jl 0x18003ba0c
mov eax, ecx
shr eax, 2
jmp 0x18003ba15
mov eax, r8d
cmp ecx, 8
cmovge eax, edx
lea edx, [rax + rcx]
lea rcx, [rsp + 0x28]
call fcn.18003a7a0
movsxd rcx, dword [rsp + 0x34]
mov rax, qword [rsp + 0x38]
mov dword [rax + rcx*4], ebx
inc dword [rsp + 0x34]
inc ebx
mov dword [rsp + 0x20], ebx
mov rcx, qword [rsp + 0x58]
add rcx, 8
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x50]
cmp ebx, dword [rax + 0x5c]
mov r13d, 0
mov r12, qword [rsp + 0x60]
jl 0x18003b890
lea eax, [r13 + 1]
mov r15, qword [rsp + 0x48]
jmp 0x18003ba70
mov eax, 1
test r15, r15
jne 0x18003bab9
cmp esi, 1
je 0x18003baa2
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, 0x80004001
jmp 0x18003cefa
mov r8d, dword [rsp + 0x34]
dec r8d
mov edx, eax
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x28]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rsp + 0x34], 2
jl 0x18003c200
test esi, esi
je 0x18003bb22
lea rbx, [0x1800e3bd8]
mov r15, qword [rsp + 0x60]
mov r13, r15
sub r13, rbx
nop word [rax + rax]
movzx edi, word [r13 + rbx]
movzx esi, word [rbx]
add rbx, 2
cmp di, si
je 0x18003bb1b
movzx ecx, di
call qword [sym.imp.USER32.dll_CharUpperW]
mov r12, rax
movzx ecx, si
call qword [sym.imp.USER32.dll_CharUpperW]
cmp r12w, ax
jb 0x18003c205
cmp r12w, ax
ja 0x18003c205
test di, di
je 0x18003bb27
jmp 0x18003bae0
mov r15, qword [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.180039e60
mov ebx, 0x200000
mov rcx, rbx
call fcn.18006b9f0
mov r14, rax
mov qword [rsp + 0x58], rax
xor ecx, ecx
call fcn.18006aaac
mov r12, qword [rsp + 0x48]
mov r11, qword [r12]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [r11 + 0x20]
mov edi, eax
test eax, eax
je 0x18003bba6
mov rcx, r14
call fcn.18006aaac
lea rcx, [rsp + 0x90]
call fcn.180033760
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, r15
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, edi
jmp 0x18003cefa
mov rsi, r14
xor r13d, r13d
mov r15d, 0x80000000
mov r8d, r15d
cmp rbx, r15
cmovb r8d, ebx
mov rax, qword [r12]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, r12
call qword [rax + 0x18]
mov edi, eax
mov ecx, dword [rsp + 0x20]
add r13, rcx
add rsi, rcx
sub rbx, rcx
test eax, eax
jne 0x18003c1c6
test ecx, ecx
je 0x18003bbee
test rbx, rbx
jne 0x18003bbb2
test r13, r13
jne 0x18003bc2f
mov rcx, r14
call fcn.18006aaac
lea rcx, [rsp + 0x90]
call fcn.180033760
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
lea eax, [r13 + 1]
jmp 0x18003cefa
mov ecx, 0x10000
call fcn.18006b9f0
mov r12, rax
mov qword [rsp + 0xb0], rax
xor ecx, ecx
call fcn.18006aaac
mov edx, 0xff
mov r8d, 0x10000
mov rcx, r12
call fcn.18006cf60
mov r8d, dword [rsp + 0x34]
cmp r8d, 0x100
jl 0x18003bcb1
mov rcx, r12
call fcn.18006aaac
mov rcx, r14
call fcn.18006aaac
lea rcx, [rsp + 0x90]
call fcn.180033760
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, 1
jmp 0x18003cefa
xor r11d, r11d
mov edx, r11d
test r8d, r8d
jle 0x18003bd18
mov r10, qword [rsp + 0x50]
nop word [rax + rax]
movsxd r9, edx
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + r9*4]
mov rax, qword [r10 + 0x60]
mov rax, qword [rax + rcx*8]
cmp qword [rax + 0x68], 2
jb 0x18003bd11
mov rax, qword [rax + 0x70]
movzx ecx, byte [rax + 1]
shl ecx, 8
movzx eax, byte [rax]
or ecx, eax
movzx eax, byte [rcx + r12]
mov byte [rsp + r9 + 0x120], al
mov byte [rcx + r12], dl
mov r8d, dword [rsp + 0x34]
inc edx
cmp edx, r8d
jl 0x18003bcd0
sub r13, 1
mov edi, r11d
mov dword [rsp + 0x20], r11d
mov rbx, r11
mov qword [rsp + 0x118], rbx
je 0x18003bed9
mov rax, r11
cmp rax, r13
jae 0x18003bd70
nop dword [rax]
movzx ecx, byte [r14 + rbx + 1]
shl ecx, 8
movzx eax, byte [r14 + rbx]
or rcx, rax
cmp byte [rcx + r12], 0xff
jne 0x18003bd64
inc edi
inc rbx
mov eax, edi
cmp rax, r13
jb 0x18003bd40
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x118], rbx
mov r15d, edi
cmp r15, r13
je 0x18003bece
lea r10, [r14 + rbx]
mov qword [rsp + 0xe8], r10
movzx esi, byte [r14 + rbx + 1]
shl esi, 8
movzx eax, byte [r10]
or esi, eax
add rsi, r12
movzx eax, byte [rsi]
mov edi, 8
mov rbx, qword [rsp + 0x50]
nop word [rax + rax]
movsxd r12, eax
mov rax, qword [rsp + 0x38]
movsxd r14, dword [rax + r12*4]
mov rax, qword [rbx + 0x60]
mov rdx, qword [rax + r14*8]
mov r8, qword [rdx + 0x68]
test r8, r8
je 0x18003be83
lea rcx, [r15 + r8]
lea rax, [r13 + 1]
cmp rcx, rax
ja 0x18003be83
mov r9, qword [rdx + 0x70]
mov rcx, r11
test r8, r8
je 0x18003be09
mov rdx, r10
movzx eax, byte [rcx + r9]
cmp byte [rdx], al
jne 0x18003be83
inc rcx
inc rdx
cmp rcx, r8
jb 0x18003bdf1
mov ecx, dword [rsp + 0x9c]
mov eax, dword [rsp + 0x98]
cmp ecx, eax
jne 0x18003be53
cmp eax, 0x40
jl 0x18003be27
mov ecx, eax
shr ecx, 2
jmp 0x18003be31
mov ecx, 1
cmp eax, edi
cmovge ecx, edi
lea edx, [rcx + rax]
lea rcx, [rsp + 0x90]
call fcn.18003a7a0
mov ecx, dword [rsp + 0x9c]
mov r10, qword [rsp + 0xe8]
xor r11d, r11d
movsxd rcx, ecx
mov rax, qword [rsp + 0xa0]
mov dword [rax + rcx*4], r14d
inc dword [rsp + 0x9c]
mov rax, qword [rsp + 0x38]
mov dword [rax + r12*4], 0xff
movzx eax, byte [rsp + r12 + 0x120]
mov byte [rsi], al
jmp 0x18003be8b
lea rsi, [rsp + r12 + 0x120]
movzx eax, byte [rsi]
cmp eax, 0xff
jne 0x18003bdb0
mov edi, dword [rsp + 0x20]
inc edi
mov dword [rsp + 0x20], edi
mov rbx, qword [rsp + 0x118]
inc rbx
mov qword [rsp + 0x118], rbx
mov eax, edi
cmp rax, r13
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0xb0]
jb 0x18003bd38
mov r8d, dword [rsp + 0x34]
mov r15d, 0x80000000
mov ebx, r11d
test r8d, r8d
jle 0x18003bf6e
mov edx, dword [rsp + 0x9c]
mov r14d, 8
movsxd rcx, ebx
mov rax, qword [rsp + 0x38]
mov edi, dword [rax + rcx*4]
cmp edi, 0xff
je 0x18003bf62
mov ecx, dword [rsp + 0x98]
cmp edx, ecx
jne 0x18003bf3f
cmp ecx, 0x40
jl 0x18003bf1c
mov eax, ecx
shr eax, 2
jmp 0x18003bf28
mov eax, 1
cmp ecx, r14d
cmovge eax, r14d
lea edx, [rax + rcx]
lea rcx, [rsp + 0x90]
call fcn.18003a7a0
mov edx, dword [rsp + 0x9c]
movsxd rcx, edx
mov rax, qword [rsp + 0xa0]
mov dword [rax + rcx*4], edi
mov edx, dword [rsp + 0x9c]
inc edx
mov dword [rsp + 0x9c], edx
mov r8d, dword [rsp + 0x34]
inc ebx
cmp ebx, r8d
jl 0x18003bef2
mov r14, qword [rsp + 0x58]
xor edx, edx
lea rcx, [rsp + 0x28]
mov rax, qword [rsp + 0x28]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movsxd r12, dword [rsp + 0x9c]
mov edx, dword [rsp + 0x34]
lea ebx, [r12 + rdx]
mov ecx, dword [rsp + 0x30]
cmp ebx, ecx
je 0x18003c05f
cmp ebx, r15d
jb 0x18003bfb8
mov dword [rsp + 0x20], 0x100ec1
lea rdx, [0x1800fcd20]
lea rcx, [rsp + 0x20]
call fcn.18006d158
int3
mov r8d, ebx
mov rcx, qword [rsp + 0x40]
mov r9, rcx
imul r9, r8
xor edx, edx
mov rax, r9
div rcx
cmp rax, r8
je 0x18003bfee
mov dword [rsp + 0x24], 0x100ec2
lea rdx, [0x1800fcd20]
lea rcx, [rsp + 0x24]
call fcn.18006d158
int3
xor edi, edi
test r9, r9
je 0x18003c046
mov rcx, r9
call fcn.18006b9f0
mov rdi, rax
test rax, rax
jne 0x18003c025
mov dword [rsp + 0xe0], 0x100ec3
lea rdx, [0x1800fcd20]
lea rcx, [rsp + 0xe0]
call fcn.18006d158
int3
mov ecx, ebx
mov eax, dword [rsp + 0x34]
cmp eax, ebx
cmovl ecx, eax
movsxd r8, ecx
imul r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.18006c2d0
mov rcx, qword [rsp + 0x38]
call fcn.18006aaac
mov qword [rsp + 0x38], rdi
mov ecx, ebx
mov dword [rsp + 0x30], ebx
mov edx, dword [rsp + 0x34]
xor esi, esi
mov r13, r12
test r12d, r12d
jle 0x18003c19f
nop dword [rax]
mov rax, qword [rsp + 0xa0]
mov r12d, dword [rax + rsi*4]
cmp edx, ecx
jne 0x18003c11e
cmp ecx, 0x40
jl 0x18003c090
mov eax, ecx
shr eax, 2
jmp 0x18003c0a2
mov eax, 1
cmp ecx, 8
mov r8d, 8
cmovge eax, r8d
lea ebx, [rax + rcx]
cmp ebx, ecx
je 0x18003c11e
cmp ebx, r15d
jae 0x18003c17f
mov r9d, ebx
mov r8, qword [rsp + 0x40]
mov rcx, r8
imul rcx, r9
xor edx, edx
mov rax, rcx
div r8
cmp rax, r9
jne 0x18003c165
xor edi, edi
test rcx, rcx
je 0x18003c107
call fcn.18006b9f0
mov rdi, rax
test rax, rax
je 0x18003c145
mov ecx, ebx
mov eax, dword [rsp + 0x34]
cmp eax, ebx
cmovl ecx, eax
movsxd r8, ecx
imul r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.18006c2d0
mov rcx, qword [rsp + 0x38]
call fcn.18006aaac
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ebx
mov edx, dword [rsp + 0x34]
movsxd rcx, edx
mov rax, qword [rsp + 0x38]
mov dword [rax + rcx*4], r12d
mov edx, dword [rsp + 0x34]
inc edx
mov dword [rsp + 0x34], edx
inc rsi
cmp rsi, r13
jge 0x18003c19f
mov ecx, dword [rsp + 0x30]
jmp 0x18003c070
mov dword [rsp + 0xe8], 0x100ec3
lea rdx, [0x1800fcd20]
lea rcx, [rsp + 0xe8]
call fcn.18006d158
int3
mov dword [rsp + 0x58], 0x100ec2
lea rdx, [0x1800fcd20]
lea rcx, [rsp + 0x58]
call fcn.18006d158
int3
mov dword [rsp + 0x118], 0x100ec1
lea rdx, [0x1800fcd20]
lea rcx, [rsp + 0x118]
call fcn.18006d158
int3
mov rcx, qword [rsp + 0xb0]
call fcn.18006aaac
mov rcx, r14
call fcn.18006aaac
lea rcx, [rsp + 0x90]
call fcn.180033760
jmp 0x18003c54f
mov rcx, r14
call fcn.18006aaac
lea rcx, [rsp + 0x90]
call fcn.180033760
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, edi
jmp 0x18003cefa
mov r15, qword [rsp + 0x60]
lea rcx, [0x1800e3be0]
mov rdx, r15
nop
movzx eax, word [rdx]
add rdx, 2
movzx r8d, word [rcx]
add rcx, 2
cmp ax, r8w
jb 0x18003c232
cmp ax, r8w
ja 0x18003c232
test ax, ax
jne 0x18003c210
jmp 0x18003c276
movzx eax, word [r15]
lea r8, [r15 + 2]
mov edx, gethostbyname
lea rcx, [0x1800e3bea]
cmp ax, dx
jb 0x18003c54f
sub r8, rcx
cmp ax, dx
ja 0x18003c54f
test ax, ax
je 0x18003c276
mov ax, word [r8 + rcx]
mov dx, word [rcx]
add rcx, 2
cmp ax, dx
jae 0x18003c252
jmp 0x18003c54f
mov ebx, 0x400
mov rcx, rbx
call fcn.18006b9f0
mov r13, rax
mov qword [rsp + 0xb0], rax
xor ecx, ecx
call fcn.18006aaac
mov rcx, qword [rsp + 0x48]
mov r11, qword [rcx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [r11 + 0x20]
mov edi, eax
test eax, eax
je 0x18003c2da
mov rcx, r13
call fcn.18006aaac
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, r15
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, edi
jmp 0x18003cefa
mov r12, r13
xor esi, esi
mov r14d, 0x80000000
nop word [rax + rax]
mov r8d, r14d
cmp rbx, r14
cmovb r8d, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r9, [rsp + 0x118]
mov rdx, r12
call qword [rax + 0x18]
mov edi, eax
mov ecx, dword [rsp + 0x118]
add rsi, rcx
add r12, rcx
sub rbx, rcx
test eax, eax
jne 0x18003c524
test ecx, ecx
je 0x18003c333
test rbx, rbx
jne 0x18003c2f0
cmp rsi, 0x10
jb 0x18003c51a
mov byte [rsp + 0x118], 0x52
mov byte [rsp + 0x119], 0x61
mov byte [rsp + 0x11a], WSACleanup
mov byte [rsp + 0x11b], 0x21
mov byte [rsp + 0x11c], 0x1a
mov byte [rsp + 0x11d], 7
mov byte [rsp + 0x11e], 0
xor edx, edx
mov rcx, r13
lea r8, [rsp + 0x118]
sub r8, r13
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
jne 0x18003c51a
inc rdx
inc rcx
cmp rdx, 7
jb 0x18003c390
cmp byte [r13 + 9], 0x73
jne 0x18003c51a
test byte [r13 + 0xa], 1
je 0x18003c51a
xor r14d, r14d
cmp dword [rsp + 0x34], r14d
jle 0x18003c51a
xor r15d, r15d
mov rax, qword [rsp + 0x38]
movsxd rax, dword [r15 + rax]
mov dword [rsp + 0x118], eax
mov rcx, rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x60]
mov rdx, qword [rax + rcx*8]
lea rsi, [0x1800e3bf0]
mov r12, qword [rdx + 0x30]
nop dword [rax + rax]
movzx ebx, word [r12]
add r12, 2
movzx edi, word [rsi]
add rsi, 2
cmp bx, di
je 0x18003c436
movzx ecx, bx
call qword [sym.imp.USER32.dll_CharUpperW]
mov r13, rax
movzx ecx, di
call qword [sym.imp.USER32.dll_CharUpperW]
cmp r13w, ax
jb 0x18003c43d
cmp r13w, ax
ja 0x18003c43d
test bx, bx
je 0x18003c454
jmp 0x18003c400
inc r14d
add r15, 4
cmp r14d, dword [rsp + 0x34]
jge 0x18003c512
jmp 0x18003c3d0
mov ebx, 1
lea eax, [r14 + 1]
mov ecx, dword [rsp + 0x34]
cmp eax, ecx
jle 0x18003c46a
mov ebx, ecx
sub ebx, r14d
test ebx, ebx
jle 0x18003c4a8
lea eax, [rbx + r14]
sub ecx, eax
movsxd r8, ecx
mov r9, qword [rsp + 0x40]
imul r8, r9
movsxd rdx, eax
imul rdx, r9
mov rax, qword [rsp + 0x38]
add rdx, rax
movsxd rcx, r14d
imul rcx, r9
add rcx, rax
call fcn.18006c2d0
mov ecx, dword [rsp + 0x34]
sub ecx, ebx
mov dword [rsp + 0x34], ecx
mov edx, dword [rsp + 0x30]
cmp ecx, edx
jne 0x18003c4dc
cmp edx, 0x40
jl 0x18003c4bc
mov eax, edx
shr eax, 2
jmp 0x18003c4cc
mov eax, 1
cmp edx, 8
mov ecx, 8
cmovge eax, ecx
add edx, eax
lea rcx, [rsp + 0x28]
call fcn.18003a7a0
mov ecx, dword [rsp + 0x34]
movsxd r8, ecx
mov rax, qword [rsp + 0x40]
imul r8, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rax + rdx]
call fcn.18006c2d0
inc dword [rsp + 0x34]
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x118]
mov dword [rax], ecx
mov r13, qword [rsp + 0xb0]
jmp 0x18003c51a
mov r13, qword [rsp + 0xb0]
mov rcx, r13
call fcn.18006aaac
jmp 0x18003c54f
mov rcx, r13
call fcn.18006aaac
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, r15
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, edi
jmp 0x18003cefa
cmp dword [rsp + 0x34], 2
jl 0x18003c7bc
xor edi, edi
mov r15, rdi
mov ecx, edi
lea rbx, [0x1800e3bf8]
mov rax, rbx
nop dword [rax + rax]
inc ecx
add rax, 2
cmp word [rax], di
jne 0x18003c570
inc ecx
je 0x18003c5a3
movsxd rcx, ecx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18006b9f0
mov r15, rax
mov word [rax], di
mov rcx, r15
sub rbx, r15
nop dword [rax]
movzx eax, word [rbx + rcx]
mov word [rcx], ax
add rcx, 2
test ax, ax
jne 0x18003c5b0
mov dword [rsp + 0x24], edi
mov rsi, qword [rsp + 0x50]
cmp dword [rsi + 0x5c], edi
jle 0x18003c643
mov r14, rdi
mov rax, qword [rsi + 0x60]
mov rcx, qword [r14 + rax]
mov rdi, r15
mov rsi, qword [rcx + 0x30]
movzx ebx, word [rsi]
add rsi, 2
movzx r12d, word [rdi]
add rdi, 2
cmp bx, r12w
je 0x18003c617
movzx ecx, bx
call qword [sym.imp.USER32.dll_CharUpperW]
mov r13, rax
movzx ecx, r12w
call qword [sym.imp.USER32.dll_CharUpperW]
cmp r13w, ax
jb 0x18003c61e
cmp r13w, ax
ja 0x18003c61e
test bx, bx
je 0x18003c638
jmp 0x18003c5e0
mov edx, dword [rsp + 0x24]
inc edx
mov dword [rsp + 0x24], edx
add r14, 8
mov rsi, qword [rsp + 0x50]
cmp edx, dword [rsi + 0x5c]
jge 0x18003c643
jmp 0x18003c5d1
mov rsi, qword [rsp + 0x50]
or r12, 0xffffffffffffffff
jmp 0x18003c64c
or r12, 0xffffffffffffffff
mov dword [rsp + 0x24], r12d
mov rcx, r15
call fcn.18006aaac
xor edi, edi
mov rdx, rdi
mov qword [rsp + 0x118], rdx
mov ecx, edi
lea rbx, [0x1800e3c00]
mov rax, rbx
nop dword [rax]
inc ecx
add rax, 2
cmp word [rax], dx
jne 0x18003c670
inc ecx
je 0x18003c6a4
movsxd rcx, ecx
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.18006b9f0
mov rdx, rax
mov qword [rsp + 0x118], rax
mov word [rax], di
mov rcx, rdx
sub rbx, rdx
nop word [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rcx], ax
add rcx, 2
test ax, ax
jne 0x18003c6b0
mov r14d, edi
cmp dword [rsi + 0x5c], edi
jle 0x18003c740
mov r15, rdi
nop dword [rax + rax]
mov rax, qword [rsi + 0x60]
mov rcx, qword [r15 + rax]
mov rsi, rdx
mov r12, qword [rcx + 0x30]
nop
movzx ebx, word [r12]
add r12, 2
movzx edi, word [rsi]
add rsi, 2
cmp bx, di
je 0x18003c716
movzx ecx, bx
call qword [sym.imp.USER32.dll_CharUpperW]
mov r13, rax
movzx ecx, di
call qword [sym.imp.USER32.dll_CharUpperW]
cmp r13w, ax
jb 0x18003c71d
cmp r13w, ax
ja 0x18003c71d
test bx, bx
je 0x18003c739
jmp 0x18003c6e0
inc r14d
add r15, 8
mov rsi, qword [rsp + 0x50]
cmp r14d, dword [rsi + 0x5c]
jge 0x18003c740
mov rdx, qword [rsp + 0x118]
jmp 0x18003c6d0
mov rsi, qword [rsp + 0x50]
jmp 0x18003c744
or r14d, 0xffffffff
mov rcx, qword [rsp + 0x118]
call fcn.18006aaac
or rax, 0xffffffffffffffff
mov r11d, eax
mov edx, eax
xor r13d, r13d
mov ecx, r13d
cmp dword [rsp + 0x34], ecx
jle 0x18003c78e
mov r8, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x24]
mov eax, dword [r8]
cmp eax, r9d
cmove r11d, ecx
cmp eax, r14d
cmove edx, ecx
inc ecx
add r8, 4
cmp ecx, dword [rsp + 0x34]
jl 0x18003c770
jmp 0x18003c793
mov r9d, dword [rsp + 0x24]
cmp edx, r11d
jle 0x18003c7cb
test r11d, r11d
js 0x18003c7d2
movsxd rcx, edx
mov rax, qword [rsp + 0x38]
mov dword [rax + rcx*4], r9d
movsxd rcx, r11d
mov rax, qword [rsp + 0x38]
mov dword [rax + rcx*4], r14d
mov r15, qword [rsp + 0x48]
jmp 0x18003c7d7
xor r13d, r13d
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
jmp 0x18003c7d7
mov r15, qword [rsp + 0x48]
jmp 0x18003c7d7
mov r15, qword [rsp + 0x48]
mov edi, r13d
mov dword [rsp + 0x20], r13d
nop
cmp edi, dword [rsp + 0x34]
jge 0x18003ced7
test r15, r15
je 0x18003c82b
mov rax, qword [r15]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
je 0x18003c82b
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, ebx
jmp 0x18003cefa
mov qword [rsp + 0x118], r13
movsxd rcx, edi
mov rax, qword [rsp + 0x38]
movsxd rdx, dword [rax + rcx*4]
mov r12, qword [rsp + 0xc0]
mov dword [r12 + 0x28], edx
mov rax, qword [rsi + 0x60]
mov rdx, qword [rax + rdx*8]
movsxd rax, dword [rdx]
test eax, eax
jns 0x18003c88c
call qword [rdx + 0x20]
mov rbx, rax
test rax, rax
je 0x18003c86f
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003c882
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x118], rbx
jmp 0x18003c8f4
mov rcx, rax
mov rax, qword [rsi + 0x20]
mov r9, qword [rax + rcx*8]
lea rcx, [rdx + 8]
lea r8, [rsp + 0x118]
lea rdx, [0x1800e3038]
call qword [r9 + reloc.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
je 0x18003c8ec
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003c8c7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, ebx
jmp 0x18003cefa
mov rbx, qword [rsp + 0x118]
test rbx, rbx
je 0x18003cecc
mov qword [rsp + 0x48], r13
mov rax, qword [rbx]
lea r8, [rsp + 0x48]
lea rdx, [0x1800e3098]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18003c97c
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
je 0x18003c977
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18003c93f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003c952
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, ebx
jmp 0x18003cefa
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18003c987
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
movsxd rcx, dword [r12 + 0x28]
mov rax, qword [rsi + 0x60]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r14d, 1
mov dword [rsp + 0x80], r14d
test r15, r15
je 0x18003c9df
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x88]
lea r8, [0x1800ceb90]
mov rdx, r15
call qword [rax + 0x18]
mov ebx, eax
mov dword [rsp + 0x80], eax
jmp 0x18003ca69
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x1800e3048]
call qword [rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
jne 0x18003ca42
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003ca1a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, 0x80004001
jmp 0x18003cefa
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x100]
call qword [rax + 0x18]
mov ebx, eax
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18003ca69
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x18003caa2
cmp ebx, 1
jne 0x18003cac3
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003cecc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x18003cecc
test ebx, ebx
je 0x18003caff
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003cada
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, ebx
jmp 0x18003cefa
mov word [rsp + 0xc8], r13w
mov word [rsp + 0xca], r13w
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
lea r8, [rsp + 0xc8]
mov edx, 0x37
call qword [rax + 0x40]
movzx r11d, word [rsp + 0xc8]
test r11w, r11w
je 0x18003cbb1
lea rbx, str.Unknown_error
cmp r11w, 8
cmove rbx, qword [rsp + 0xd0]
mov dword [r12 + 0x48], r13d
mov rax, qword [r12 + 0x40]
mov word [rax], r13w
mov esi, r13d
cmp word [rbx], 0
je 0x18003cb7c
mov rax, rbx
nop word [rax + rax]
inc esi
add rax, 2
cmp word [rax], 0
jne 0x18003cb70
mov edx, esi
lea rcx, [r12 + 0x40]
call fcn.18003a260
mov rcx, qword [r12 + 0x40]
nop dword [rax]
movzx eax, word [rbx]
mov word [rcx], ax
add rcx, 2
add rbx, 2
test ax, ax
jne 0x18003cb90
mov dword [r12 + 0x48], esi
mov r11w, word [rsp + 0xc8]
movzx eax, r11w
add eax, 0xfffffffe
cmp eax, 0x3e
ja case.0x18003cbd8.3
cdqe
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3cf28]
mov ecx, dword [rdx + rax*4 + 0x3cf20]
add rcx, rdx
jmp rcx
lea rcx, [rsp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rbx, qword [rsp + 0x118]
test rbx, rbx
je 0x18003cbfe
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r12]
test rcx, rcx
je 0x18003cc0d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [r12], rbx
movsxd rcx, dword [r12 + 0x28]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x60]
mov r15, qword [rax + rcx*8]
mov eax, dword [r15 + 0x4c]
test eax, eax
jne 0x18003cd6c
mov eax, 2
mul r14
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.18006b9f0
mov r12, rax
mov qword [rsp + 0xc8], rax
mov word [rax], r13w
mov dword [rsp + 0xd4], r14d
mov rdx, rax
lea rbx, [0x1800e3db8]
mov r8, rbx
sub r8, rax
movzx ecx, word [r8 + rdx]
mov word [rdx], cx
add rdx, 2
test cx, cx
jne 0x18003cc71
mov dword [rsp + 0xd0], r13d
mov eax, 2
mul r14
cmovo rax, rdi
mov rcx, rax
call fcn.18006b9f0
mov rsi, rax
mov qword [rsp + 0xf0], rax
mov word [rax], r13w
mov dword [rsp + 0xfc], r14d
mov rdx, rax
sub rbx, rax
nop dword [rax + rax]
movzx ecx, word [rbx + rdx]
mov word [rdx], cx
add rdx, 2
test cx, cx
jne 0x18003ccc0
mov dword [rsp + 0xf8], r13d
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x108]
call fcn.180046050
mov rdi, rax
mov rbx, qword [rsp + 0xc0]
add rbx, 0x18
cmp rax, rbx
je 0x18003cd4a
mov dword [rbx + 8], r13d
mov rcx, qword [rbx]
mov word [rcx], r13w
mov edx, dword [rax + 8]
mov rcx, rbx
call fcn.18003a260
mov r11, qword [rdi]
mov rcx, qword [rbx]
nop word [rax + rax]
movzx eax, word [r11]
mov word [rcx], ax
add rcx, 2
add r11, 2
test ax, ax
jne 0x18003cd30
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov rcx, qword [rsp + 0x108]
call fcn.18006aaac
mov rcx, rsi
call fcn.18006aaac
mov rcx, r12
call fcn.18006aaac
jmp 0x18003ce97
mov r14d, r13d
test eax, eax
jle 0x18003ce0a
mov rcx, r13
mov qword [rsp + 0x88], rcx
nop word [rax + rax]
mov rax, qword [r15 + 0x50]
mov rcx, qword [rcx + rax]
mov rdi, qword [rcx]
mov rsi, qword [rsp + 0x60]
movzx ebx, word [rsi]
add rsi, 2
movzx r12d, word [rdi]
add rdi, 2
cmp bx, r12w
je 0x18003cdd7
movzx ecx, bx
call qword [sym.imp.USER32.dll_CharUpperW]
mov r13, rax
movzx ecx, r12w
call qword [sym.imp.USER32.dll_CharUpperW]
cmp r13w, ax
jb 0x18003cdde
cmp r13w, ax
ja 0x18003cdde
test bx, bx
je 0x18003cdfd
jmp 0x18003cda0
inc r14d
mov rcx, qword [rsp + 0x88]
add rcx, 8
mov qword [rsp + 0x88], rcx
cmp r14d, dword [r15 + 0x4c]
jge 0x18003ce07
jmp 0x18003cd90
test r14d, r14d
jns 0x18003ce0f
xor r13d, r13d
jmp 0x18003ce0a
xor r13d, r13d
mov r14d, r13d
jmp 0x18003ce12
xor r13d, r13d
movsxd rcx, r14d
mov rax, qword [r15 + 0x50]
mov r8, qword [rax + rcx*8]
lea r9, [r8 + 0x10]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc8]
call fcn.180046050
mov rdi, rax
mov rbx, qword [rsp + 0xc0]
add rbx, 0x18
cmp rax, rbx
je 0x18003ce8a
mov dword [rbx + 8], r13d
mov rcx, qword [rbx]
mov word [rcx], r13w
mov edx, dword [rax + 8]
mov rcx, rbx
call fcn.18003a260
mov r11, qword [rdi]
mov rcx, qword [rbx]
nop word [rax + rax]
movzx eax, word [r11]
mov word [rcx], ax
add rcx, 2
add r11, 2
test ax, ax
jne 0x18003ce70
mov eax, dword [rdi + 8]
mov dword [rbx + 8], eax
mov rcx, qword [rsp + 0xc8]
call fcn.18006aaac
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x18003ceaa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
xor eax, eax
jmp 0x18003cefa
inc edi
mov dword [rsp + 0x20], edi
jmp 0x18003c7e0
lea rcx, [rsp + 0x28]
call fcn.180033760
mov rcx, qword [rsp + 0x60]
call fcn.18006aaac
mov rcx, qword [rsp + 0x70]
call fcn.18006aaac
mov eax, 1
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.18006a4f0
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret