Function at 0x140120440
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x8b0], rbx
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov rax, rdx
mov qword [rbp - 0x28], rdx
mov r13, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
cmp qword [rcx + 0x18], r15
je 0x14012049b
mov al, 1
jmp 0x140121af3
add rcx, 0x28
call fcn.1400c9f70
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0x380], xmm0
mov byte [rbp + 0x370], r15b
mov r8d, 3
lea rdx, [0x14038350c]
lea rcx, [rbp + 0x370]
call fcn.14000b830
nop
lea rdx, [rbp + 0x370]
lea rcx, [r13 + 0x50]
call fcn.1401013b0
mov rdx, rax
lea rcx, [rbp + 0x580]
call fcn.14011f7c0
nop
lea rcx, [rbp + 0x370]
call fcn.14000b5d0
lea rsi, [0x1402c797a]
cmp byte [r13 + 0x10], 0
jne 0x1401205e5
cmp qword [rbp + 0x600], 0
je 0x140120540
lea rcx, [rbp + 0x5f0]
cmp qword [rbp + 0x608], 0x10
cmovae rcx, qword [rbp + 0x5f0]
call fcn.140277aa8
mov word [rsp + 0x44], ax
jmp 0x140120546
mov word [rsp + 0x44], r15w
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x390]
call fcn.14000b200
mov esi, 2
mov dword [rsp + 0x40], esi
lea rax, [rbp + 0x390]
cmp qword [rbp + 0x3a8], 0x10
cmovae rax, qword [rbp + 0x390]
mov qword [rbp + 0x18], rax
lea r8, [rsp + 0x44]
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x30]
call fcn.140122060
mov rdx, rax
lea rcx, [r13 + 0x18]
call fcn.140014fc0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x1401205d9
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401205d5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401205d5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov esi, dword [rsp + 0x40]
lea rcx, [rbp + 0x390]
jmp 0x1401207e6
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x3b0]
call fcn.14000b200
nop
lea rbx, [rbp + 0x3b0]
cmp qword [rbp + 0x3c8], 0x10
cmovae rbx, qword [rbp + 0x3b0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov edi, eax
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
jne 0x140120658
lea rdx, str.255.255.255.255
mov rcx, rbx
call fcn.140297cb0
test eax, eax
je 0x140120658
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
xor r8d, r8d
mov rdx, rsi
jmp 0x1401206c1
movzx eax, byte [rsp + 0x43]
movzx ecx, byte [rsp + 0x42]
movzx r9d, byte [rsp + 0x41]
movzx r8d, dil
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str.64:ff9b::_02x_02x:_02x_02x
lea rcx, [rbp + 0x710]
call fcn.1400475b0
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
lea rax, [rbp + 0x710]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1401206b0
lea rdx, [rbp + 0x710]
lea rcx, [rbp + 0xb0]
call fcn.14000b830
nop
lea rcx, [rbp + 0x3b0]
call fcn.14000b5d0
cmp qword [rbp + 0x600], 0
je 0x140120707
lea rcx, [rbp + 0x5f0]
cmp qword [rbp + 0x608], 0x10
cmovae rcx, qword [rbp + 0x5f0]
call fcn.140277aa8
mov word [rsp + 0x46], ax
jmp 0x14012070d
mov word [rsp + 0x46], r15w
cmp qword [rbp + 0xc0], 0
jne 0x140120749
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x3d0]
call fcn.14000b200
nop
mov esi, 0x1d
lea rax, [rbp + 0x3d0]
cmp qword [rbp + 0x3e8], 0x10
cmovae rax, qword [rbp + 0x3d0]
jmp 0x140120765
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rax, qword [rbp + 0xb0]
mov esi, reloc.WS2_32.dll_inet_ntoa
mov dword [rsp + 0x40], esi
mov qword [rbp - 0x10], rax
lea r8, [rsp + 0x46]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x40]
call fcn.140122060
mov rdx, rax
lea rcx, [r13 + 0x18]
call fcn.140014fc0
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x1401207c9
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401207c5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401207c5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov esi, dword [rsp + 0x40]
test sil, 1
je 0x1401207df
and esi, 0xfffffffe
lea rcx, [rbp + 0x3d0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xb0]
call fcn.14000b5d0
mov rax, qword [r13 + 0x18]
mov byte [rax + 0x65], 1
movsxd rcx, dword [rax + 0x58]
cmp ecx, 0xffffffff
je 0x140120812
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x70]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
call fcn.1400aec00
mov qword [rsp + 0x60], rax
mov edi, r15d
nop dword [rax + rax]
mov dword [rbp - 0x68], edi
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x110]
call fcn.14000c4a0
nop
mov qword [rbp + 0x1e0], r15
mov qword [rbp + 0x1e8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1d0], 0
mov r8d, 0xa
lea rdx, str.header_key
lea rcx, [rbp + 0x1d0]
call fcn.14000b830
nop
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdx, qword [rbp + 0x110]
mov r8, qword [rbp + 0x120]
lea rcx, [rbp + 0x1d0]
call fcn.14000b980
mov qword [rbp + 0x1a0], r15
mov qword [rbp + 0x1a8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x1d0]
call fcn.14000b5d0
mov qword [rbp + 0x200], r15
mov qword [rbp + 0x208], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f0], 0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.header_value
lea rcx, [rbp + 0x1f0]
call fcn.14000b830
nop
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0x10
cmovae rdx, qword [rbp + 0x110]
mov r8, qword [rbp + 0x120]
lea rcx, [rbp + 0x1f0]
call fcn.14000b980
mov qword [rbp + 0x180], r15
mov qword [rbp + 0x188], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 0xe0
lea rcx, [rbp + 0x1f0]
call fcn.14000b5d0
lea rdx, [rbp + 0x190]
lea rcx, [r13 + 0x50]
call fcn.1400ae190
test rax, rax
je 0x140120a2a
lea rdx, [rbp + 0x170]
lea rcx, [r13 + 0x50]
call fcn.1400ae190
test rax, rax
je 0x140120a2a
lea rdx, [rbp + 0x170]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rbx, rax
lea rdx, [rbp + 0x190]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400ae330
cmp rax, rbx
je 0x1401209fd
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401209f0
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000b830
nop
lea rcx, [rbp + 0x170]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x190]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x110]
call fcn.14000b5d0
inc edi
jmp 0x140120830
lea rcx, [rbp + 0x170]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x190]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x110]
call fcn.14000b5d0
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0x400], xmm0
mov byte [rbp + 0x3f0], 0
mov r8d, 8
lea rdx, [0x140386cc0]
lea rcx, [rbp + 0x3f0]
call fcn.14000b830
lea rdx, [rbp + 0x3f0]
lea rcx, [r13 + 0x50]
call fcn.1400ae190
mov rbx, rax
lea rcx, [rbp + 0x3f0]
call fcn.14000b5d0
test rbx, rbx
je 0x140120b02
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0x420], xmm0
mov byte [rbp + 0x410], 0
mov r8d, 8
lea rdx, [0x140386cc0]
lea rcx, [rbp + 0x410]
call fcn.14000b830
nop
mov rbx, qword [r13 + 0x18]
mov rdi, qword [rbx]
lea rdx, [rbp + 0x410]
lea rcx, [r13 + 0x50]
call fcn.1401013b0
mov rdx, rax
mov rcx, rbx
call qword [rdi + 0x70]
nop
lea rcx, [rbp + 0x410]
call fcn.14000b5d0
lea rbx, [r13 + 0x30]
mov rcx, rbx
mov rdi, qword [rbx + 0x18]
cmp rdi, 0x10
jb 0x140120b16
mov rcx, qword [rbx]
mov r15, qword [rbx + 0x10]
cmp r15, 7
jne 0x140120bac
mov r8, r15
lea rdx, str.httpget
call fcn.14025e680
test eax, eax
jne 0x140120bac
mov rcx, qword [r13 + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x60]
mov rbx, qword [r13 + 0x18]
lea rdx, [rbp + 0x650]
lea rcx, [rbp + 0x580]
call fcn.140120100
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140120b6a
mov rdx, qword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
movzx ebx, al
lea rcx, [rbp + 0x650]
call fcn.14000b5d0
test bl, bl
je 0x140121ada
lea r8, [0x140386c98]
mov edx, 0xffffffff
mov rcx, r13
call fcn.140121b20
lea rcx, [r13 + 0x18]
call fcn.1400173e0
jmp 0x140121ada
cmp rdi, 0x10
jb 0x140120bb5
mov rbx, qword [rbx]
cmp r15, 8
jne 0x140121ada
mov r8, r15
lea rdx, str.httppost
mov rcx, rbx
call fcn.14025e680
test eax, eax
jne 0x140121ada
xor edi, edi
mov qword [rbp + 0x160], rdi
mov qword [rbp + 0x168], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x150], dil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rbp - 0x50], rdi
movdqu xmmword [rbp - 0x48], xmm0
mov r12d, edi
lea rbx, vtable.artemis::CArtemisPackFile.0
nop word [rax + rax]
mov dword [rbp - 0x60], r12d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14000c4a0
nop
mov qword [rbp + 0x220], rdi
mov qword [rbp + 0x228], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x210], 0
mov r8d, 3
lea rdx, [0x140383edc]
lea rcx, [rbp + 0x210]
call fcn.14000b830
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
lea rcx, [rbp + 0x210]
call fcn.14000b980
mov qword [rbp + 0xe0], rdi
mov qword [rbp + 0xe8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x210]
call fcn.14000b5d0
mov qword [rbp + 0x240], rdi
mov qword [rbp + 0x248], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x230], 0
mov r8d, 5
lea rdx, str.value
lea rcx, [rbp + 0x230]
call fcn.14000b830
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
lea rcx, [rbp + 0x230]
call fcn.14000b980
mov qword [rbp + 0x100], rdi
mov qword [rbp + 0x108], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x230]
call fcn.14000b5d0
mov qword [rbp + 0x260], rdi
mov qword [rbp + 0x268], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x250], 0
mov r8d, 4
lea rdx, [0x14037db7c]
lea rcx, [rbp + 0x250]
call fcn.14000b830
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
lea rcx, [rbp + 0x250]
call fcn.14000b980
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 0xf00
mov dword [rsp + 0x40], esi
mov r15d, esi
lea rcx, [rbp + 0x250]
call fcn.14000b5d0
lea rdx, [rbp + 0xd0]
lea rcx, [r13 + 0x50]
call fcn.1400ae190
test rax, rax
je 0x1401217a6
lea rdx, [rbp + 0xf0]
lea rcx, [r13 + 0x50]
call fcn.1400ae190
test rax, rax
je 0x140121284
lea rdx, [0x140377d2c]
cmp qword [rbp + 0x160], 0
lea rax, [0x1402c797a]
cmove rdx, rax
mov qword [rbp + 0x2c0], rdi
mov qword [rbp + 0x2c8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2b0], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140120e80
lea rcx, [rbp + 0x2b0]
call fcn.14000b830
nop
lea rdx, [rbp + 0xd0]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140120eb4
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x2b0]
call fcn.14000b980
mov qword [rbp + 0x2a0], rdi
mov qword [rbp + 0x2a8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x290], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140376944]
lea rcx, [rbp + 0x290]
call fcn.14000b980
mov qword [rbp + 0x280], rdi
mov qword [rbp + 0x288], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x270], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x280], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0xf0]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140120f5e
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x270]
call fcn.14000b980
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x500], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x510], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x500]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x150]
call fcn.14000b980
nop
lea rcx, [rbp + 0x500]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x270]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x290]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x2b0]
call fcn.14000b5d0
mov qword [rbp + 0x300], rdi
mov qword [rbp + 0x308], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2f0], 0
mov r8d, 0x26
lea rdx, str.Content_Disposition:_form_data__name_
lea rcx, [rbp + 0x2f0]
call fcn.14000b830
nop
lea rdx, [rbp + 0xd0]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140121049
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x2f0]
call fcn.14000b980
mov qword [rbp + 0x2e0], rdi
mov qword [rbp + 0x2e8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2e0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x14037ccb8]
lea rcx, [rbp + 0x2d0]
call fcn.14000b980
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x520], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x530], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 0x1f000
mov dword [rsp + 0x40], esi
lea rdx, [rbp + 0xf0]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rsi, rax
mov qword [rbp - 0x38], rdi
lea rcx, [rbp - 0x30]
call fcn.140122750
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call fcn.140007e30
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140121115
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, rax
jmp 0x140121118
mov rbx, rdi
lea rdi, [rbx + 8]
mov qword [rbp + 0x20], rdi
lea rax, vtable.artemis::CMimeMultiPart.0
mov qword [rdi], rax
lea rcx, [rdi + 8]
lea rdx, [rbp + 0x520]
call fcn.14000b200
nop
lea rcx, [rdi + 0x28]
mov rdx, rsi
call fcn.14000b200
xor eax, eax
mov qword [rdi + 0x48], rax
mov qword [rdi + 0x50], rax
mov byte [rbx], 1
mov r8, rdi
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140007e30
mov qword [rbp - 0x80], rdi
mov rbx, qword [rbp - 0x30]
mov qword [rbp - 0x78], rbx
test rbx, rbx
je 0x140121182
mov eax, 1
lock xadd dword [rbx + 8], eax
mov rbx, qword [rbp - 0x30]
mov esi, r15d
or esi, 0x3f000
mov dword [rsp + 0x40], esi
test rbx, rbx
je 0x1401211c8
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401211c4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401211c4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov esi, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rdx
je 0x1401211f3
mov qword [rdx], rdi
xor edi, edi
mov rax, qword [rbp - 0x78]
mov ecx, edi
mov qword [rbp - 0x78], rcx
mov qword [rdx + 8], rax
mov qword [rbp - 0x80], rdi
add qword [rsp + 0x50], 0x10
jmp 0x14012120c
lea r8, [rbp - 0x80]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140021040
mov rcx, qword [rbp - 0x78]
xor edi, edi
btr esi, 0x11
mov dword [rsp + 0x40], esi
test rcx, rcx
je 0x140121252
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14012124e
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14012124e
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov esi, dword [rsp + 0x40]
lea rcx, [rbp + 0x520]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x2d0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x2f0]
call fcn.14000b5d0
lea rbx, vtable.artemis::CArtemisPackFile.0
jmp 0x14012176e
lea rdx, [rbp + 0x70]
lea rcx, [r13 + 0x50]
call fcn.1400ae190
test rax, rax
je 0x140121706
mov eax, dword [0x1404a2d74]
mov dword [rbp + 0x438], eax
mov qword [rbp + 0x440], rdi
mov qword [rbp + 0x458], rdi
mov qword [rbp + 0x460], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x448], 0
mov qword [rbp + 0x478], rdi
mov qword [rbp + 0x480], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x468], 0
lea rax, vtable.artemis::CPackFile::CFileInfo.0
mov qword [rbp + 0x488], rax
mov qword [rbp + 0x4a0], rdi
mov qword [rbp + 0x4a8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x490], 0
mov qword [rbp + 0x4b0], 0
mov qword [rbp + 0x4b8], rdi
mov qword [rbp + 0x4c0], rdi
mov byte [rbp + 0x4c8], 0
mov qword [rbp + 0x430], rbx
lea rdx, [rbp + 0x70]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
cmp qword [rax + 0x18], 0x10
jb 0x140121344
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x430]
call fcn.140129ec0
test al, al
jne 0x1401216c1
mov eax, dword [rbp + 0x4b4]
mov dword [rbp - 0x58], eax
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000cb60
nop
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rbp + 0x4b4]
movsxd rdx, dword [rax + 0x18]
add rdx, qword [rax + 8]
lea rcx, [rbp + 0x430]
call fcn.140191fb0
lea rdx, [rbp + 0x70]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
lea r15, vtable.artemis::CFileName.0
mov qword [rbp + 0x4d0], r15
mov rdx, rax
lea rcx, [rbp + 0x4d8]
call fcn.14000b200
mov eax, dword [0x1404a2d74]
mov dword [rbp + 0x4fc], eax
mov byte [rbp + 0x4f8], 0x5c
lea rdx, [rbp + 0x6f0]
lea rcx, [rbp + 0x4d0]
call fcn.14011f220
mov rbx, rax
mov qword [rbp + 0x360], rdi
mov qword [rbp + 0x368], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x350], 0
mov r8d, 0x26
lea rdx, str.Content_Disposition:_form_data__name_
lea rcx, [rbp + 0x350]
call fcn.14000b830
nop
lea rdx, [rbp + 0xd0]
lea rcx, [r13 + 0x50]
call fcn.1400ae330
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140121436
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x350]
call fcn.14000b980
mov qword [rbp + 0x340], rdi
mov qword [rbp + 0x348], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x330], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x340], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.___filename_
lea rcx, [rbp + 0x330]
call fcn.14000b980
mov qword [rbp + 0x140], rdi
mov qword [rbp + 0x148], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x140], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbp + 0x148]
mov rax, rcx
mov r9, qword [rbp + 0x140]
sub rax, r9
cmp r8, rax
jbe 0x140121509
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x140121509
lea r8, [rbp + 0x130]
cmp rcx, 0x10
cmovae r8, qword [rbp + 0x130]
mov rcx, rbx
call fcn.14000d4a0
jmp 0x140121522
cmp qword [rbx + 0x18], 0x10
jb 0x140121513
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0x130]
call fcn.14000b980
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
movups xmmword [rbp + 0x320], xmm1
movups xmmword [rbp + 0x310], xmm0
or esi, 0x1c0000
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x50]
call fcn.1401222e0
nop
mov rdx, qword [rsp + 0x50]
cmp qword [rsp + 0x58], rdx
je 0x14012158f
mov rcx, qword [rax]
mov qword [rdx], rcx
mov qword [rdx + 8], rdi
mov rcx, qword [rax + 8]
mov qword [rax + 8], rdi
mov qword [rdx + 8], rcx
mov qword [rax], rdi
add qword [rsp + 0x50], 0x10
jmp 0x1401215a2
mov r8, rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140021040
nop
mov rbx, qword [rbp + 0x58]
test rbx, rbx
je 0x1401215dc
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401215dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401215dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp + 0x310]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x130]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x330]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x350]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x6f0]
call fcn.14000b5d0
nop
mov qword [rbp + 0x4d0], r15
lea rcx, [rbp + 0x4d8]
call fcn.14000b5d0
mov rcx, qword [rbp - 0x48]
cmp qword [rbp - 0x40], rcx
je 0x14012166b
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x78]
mov qword [rcx + 8], rax
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x140121664
mov eax, 1
lock xadd dword [rbx + 8], eax
mov rbx, qword [rsp + 0x78]
add qword [rbp - 0x48], 0x10
jmp 0x140121682
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140122490
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1401216b8
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1401216b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401216b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rbx, vtable.artemis::CArtemisPackFile.0
jmp 0x1401216f1
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rax, qword [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x140386d00]
mov r8, qword [rbp - 0x28]
mov edx, 1
mov rcx, qword [r13 + 8]
call fcn.1400d9040
nop
mov qword [rbp + 0x430], rbx
lea rcx, [rbp + 0x430]
call fcn.1400a9640
jmp 0x14012176e
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rcx, qword [rbp + 0xf0]
lea rax, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0x10
cmovae rax, qword [rbp + 0xd0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [0x140386d70]
mov r8, qword [rbp - 0x28]
mov edx, 1
mov rcx, qword [r13 + 8]
call fcn.1400d9040
nop
lea rcx, [rbp + 0x70]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xf0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xd0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x90]
call fcn.14000b5d0
inc r12d
jmp 0x140120c20
lea rcx, [rbp + 0x70]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xf0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xd0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x90]
call fcn.14000b5d0
mov rax, qword [rbp - 0x48]
cmp qword [rbp - 0x50], rax
jne 0x140121958
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0x1c0], xmm0
mov byte [rbp + 0x1b0], 0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.Content_Type
lea rcx, [rbp + 0x1b0]
call fcn.14000b830
nop
mov rsi, qword [rsp + 0x60]
mov rbx, rsi
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x140121875
nop word [rax + rax]
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x1b0]
call fcn.14000ae70
shr eax, 0x1f
test al, al
je 0x14012184d
mov rdi, qword [rdi + 0x10]
jmp 0x140121853
mov rbx, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x140121830
cmp rbx, rsi
je 0x140121875
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x1b0]
call fcn.14000ae70
shr eax, 0x1f
test al, al
je 0x1401218ac
lea rax, [rbp + 0x1b0]
mov qword [rbp - 8], rax
lea r8, [rbp - 8]
lea rcx, [rsp + 0x60]
call fcn.140118dc0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp]
lea rcx, [rsp + 0x60]
call fcn.1400b0c60
mov rbx, qword [rbp]
lea rcx, [rbx + 0x40]
lea rdx, str.application_x_www_form_urlencoded
call fcn.14000b810
nop
lea rcx, [rbp + 0x1b0]
call fcn.14000b5d0
mov rcx, qword [r13 + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x60]
mov r14, qword [r13 + 0x18]
lea rdx, [rbp + 0x670]
lea rcx, [rbp + 0x580]
call fcn.140120100
mov rdi, rax
mov rsi, qword [r14]
lea rcx, [rbp + 0x150]
call fcn.14000b0b0
mov rbx, rax
mov rcx, rdi
call fcn.14000b0b0
mov rdx, rax
mov r9, qword [rbp + 0x160]
mov r8, rbx
mov rcx, r14
call qword [rsi + 0x40]
movzx ebx, al
lea rcx, [rbp + 0x670]
call fcn.14000b5d0
test bl, bl
je 0x140121ab8
lea r8, [0x140386c98]
mov edx, 0xffffffff
mov rcx, r13
call fcn.140121b20
lea rcx, [r13 + 0x18]
call fcn.1400173e0
jmp 0x140121ab8
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x60]
call fcn.14000ab80
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x540]
call fcn.14011ef40
nop
lea rdx, str.Content_Type
lea rcx, [rbp + 0x560]
call fcn.14000b1a0
nop
lea rdx, str.multipart_form_data__boundary
lea rcx, [rbp + 0x6b0]
call fcn.14000b1a0
nop
lea r8, [rbp + 0x540]
mov rdx, rax
lea rcx, [rbp + 0x690]
call fcn.1400af1e0
mov rbx, rax
lea rdx, [rbp + 0x560]
lea rcx, [rsp + 0x60]
call fcn.1401013b0
mov rcx, rax
mov rdx, rbx
call fcn.14000b120
nop
lea rcx, [rbp + 0x690]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x6b0]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0x560]
call fcn.14000b5d0
mov rcx, qword [r13 + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x60]
lea rdx, [rbp + 8]
mov rcx, qword [rbp - 0x20]
call fcn.1401696a0
nop
mov r14, qword [r13 + 0x18]
lea rdx, [rbp + 0x6d0]
lea rcx, [rbp + 0x580]
call fcn.140120100
nop
mov rdx, qword [rbp + 8]
movsxd rsi, dword [rdx + 0x18]
add rsi, qword [rdx + 8]
mov rdi, qword [r14]
mov ebx, dword [rdx + 0x1c]
mov rcx, rax
call fcn.14000b0b0
mov rdx, rax
mov r9d, ebx
mov r8, rsi
mov rcx, r14
call qword [rdi + 0x40]
movzx ebx, al
lea rcx, [rbp + 0x6d0]
call fcn.14000b5d0
test bl, bl
je 0x140121a97
lea r8, [0x140386c98]
mov edx, 0xffffffff
mov rcx, r13
call fcn.140121b20
lea rcx, [r13 + 0x18]
call fcn.1400173e0
nop
lea rcx, [rbp + 0x10]
call fcn.140007dd0
nop
lea rcx, [rbp + 0x540]
call fcn.14000b5d0
nop
lea rcx, [rbp - 0x18]
call fcn.140007dd0
nop
lea rcx, [rbp - 0x50]
call fcn.140121e20
nop
lea rcx, [rsp + 0x48]
call fcn.14001ff10
nop
lea rcx, [rbp + 0x150]
call fcn.14000b5d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400a94b0
nop
lea rcx, [rbp + 0x580]
call fcn.140120060
xor al, al
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.14023ed20
mov rbx, qword [rsp + 0x8b0]
add rsp, 0x860
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret