Function at 0x140008c80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r12d, edx
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov esi, r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
call fcn.14000c2d0
mov r14, rax
mov qword [rsp + 0x38], rax
cmp qword [0x140488e50], r13
je 0x140008d06
mov rcx, qword [reloc.WS2_32.dll_recv]
mov rdi, qword [0x140488e68]
mov rdi, qword [rdi + rcx*8]
jmp 0x140008d09
mov rdi, r13
test rdi, rdi
je 0x140008e7d
nop dword [rax]
nop word [rax + rax]
lea r11, [r14 + 8]
mov r9, qword [r11]
mov rcx, r9
mov rax, r14
mov r8, r14
cmp byte [r9 + 0x19], 0
jne 0x140008d69
mov r10, qword [rdi + 0x60]
nop dword [rax + rax]
mov rdx, qword [rcx + 0x28]
cmp rdx, r10
jae 0x140008d4f
mov rcx, qword [rcx + 0x10]
jmp 0x140008d63
cmp byte [r8 + 0x19], 0
je 0x140008d5d
cmp r10, rdx
cmovb r8, rcx
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140008d40
cmp byte [r8 + 0x19], 0
cmove r11, r8
mov rcx, qword [r11]
cmp byte [rcx + 0x19], 0
jne 0x140008d98
mov rdx, qword [rdi + 0x60]
nop
cmp rdx, qword [rcx + 0x28]
jae 0x140008d8e
mov r8, rcx
mov rcx, qword [rcx]
jmp 0x140008d92
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140008d80
mov r10, r13
cmp rax, r8
je 0x140008df9
inc r10
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140008dcf
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x140008dca
cmp rax, qword [rcx + 0x10]
jne 0x140008dca
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x140008db7
mov rax, rcx
jmp 0x140008def
mov rax, rcx
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], 0
jne 0x140008def
nop dword [rax + rax]
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x140008de0
cmp rax, r8
jne 0x140008da0
test r10, r10
jne 0x140008e6e
lea rcx, [rdi + 0x58]
mov rbx, r14
cmp byte [r9 + 0x19], 0
jne 0x140008e34
mov rax, qword [rcx + 8]
nop dword [rax + rax]
cmp qword [r9 + 0x28], rax
jae 0x140008e1c
mov r9, qword [r9 + 0x10]
jmp 0x140008e22
mov rbx, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140008e10
cmp rbx, r14
je 0x140008e34
cmp rax, qword [rbx + 0x28]
jae 0x140008e64
mov qword [rbp + 0x40], rcx
lea r8, [rbp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.14000f2d0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14000f330
mov rbx, qword [rbp + 0x48]
mov dword [rbx + 0x30], esi
inc esi
mov r14, qword [rsp + 0x38]
mov rax, qword [rdi]
mov rdi, rax
test rax, rax
jne 0x140008d20
lea rax, vtable.artemis::CPng.0
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x38], 0
mov rbx, qword [r14]
mov esi, 0xffffffff
cmp rbx, r14
je 0x1400090fa
lea rax, [rbp + 0x10]
mov qword [rbp + 0x88], rax
nop dword [rax + rax]
mov ecx, 0x19000
call fcn.14023ed88
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x19000
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x10], rax
mov rcx, qword [rbx + 0x28]
mov qword [rbp + 0x18], rcx
test rcx, rcx
je 0x140008ee5
mov eax, 1
lock xadd dword [rcx + 8], eax
mov qword [rbp], r13
mov qword [rbp + 8], r13
call fcn.1400aec00
mov qword [rbp], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x70], xmm0
psrldq xmm0, 8
movq rcx, xmm0
test rcx, rcx
je 0x140008f18
mov eax, 1
lock xadd dword [rcx + 8], eax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x30]
call qword [rax + 0x20]
nop
lea rcx, [rbp]
call fcn.1400ae2c0
mov edx, 0x60
mov rcx, qword [rbp]
call fcn.14023ed44
nop
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x140008f84
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140008f84
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140008f84
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov qword [rbp - 0x10], r13
mov eax, dword [rbx + 0x30]
mov dword [rbp - 0x40], eax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xf8]
call fcn.14000c4a0
mov edi, dword [rsp + 0x30]
or edi, 1
mov r8, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140008fb2
mov r8, qword [r15]
mov r9, qword [r15 + 0x10]
lea rcx, [rbp + 0xf8]
call fcn.14000d4a0
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xd0], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 4
lea rdx, str..png
lea rcx, [rbp + 0xb8]
call fcn.14000b980
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 6
mov dword [rsp + 0x30], edi
mov r8d, r12d
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xd8]
call fcn.1401784d0
nop
lea rcx, [rbp + 0xd8]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xb8]
call fcn.14000b5d0
nop
lea rcx, [rbp + 0xf8]
call fcn.14000b5d0
mov rdi, qword [rbp - 0x10]
test rdi, rdi
je 0x140009098
mov r8d, dword [rbp - 0x14]
mov r9, rdi
mov edx, 1
mov rcx, qword [rbp - 0x20]
call fcn.140267024
mov rcx, rdi
call fcn.140266d44
mov rcx, qword [rbp - 0x20]
call fcn.14023ed44
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400090cd
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400090c8
cmp rbx, qword [rax + 0x10]
jne 0x1400090c8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400090b5
mov rbx, rax
jmp 0x1400090ef
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1400090ef
nop dword [rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400090e0
cmp rbx, qword [rsp + 0x38]
jne 0x140008eb0
lea rcx, [rsp + 0x50]
call fcn.1400084d0
nop
mov eax, dword [0x140488e50]
mov dword [rbp - 0x38], eax
cmp byte [rsp + 0x68], 0
jne 0x140009124
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbp - 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp qword [0x140488e50], 0
je 0x140009156
mov rax, qword [reloc.WS2_32.dll_recv]
mov rbx, qword [0x140488e68]
mov rbx, qword [rbx + rax*8]
jmp 0x140009159
mov rbx, r13
test rbx, rbx
je 0x140009516
lea rdi, [rbx + 0x10]
cmp byte [rsp + 0x68], 0
jne 0x14000917c
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov rax, qword [rdi + 0x10]
mov dword [rsp + 0x34], eax
mov r8d, 4
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
mov r8d, dword [rsp + 0x34]
test r8d, r8d
je 0x1400091ba
cmp qword [rdi + 0x18], 0x10
jb 0x1400091ad
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400091d0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400091fa
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x34]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x140009224
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x14000924e
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x3c]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x140009278
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x40]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400092a2
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x44]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400092cc
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x48]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400092f6
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x4c]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
lea r8, [rbx + 0x58]
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140009347
mov rcx, qword [r8 + 8]
cmp qword [rax + 0x28], rcx
jae 0x140009330
mov rax, qword [rax + 0x10]
jmp 0x140009336
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140009324
cmp rdi, rdx
je 0x140009347
cmp rcx, qword [rdi + 0x28]
jae 0x140009377
mov qword [rbp + 0x50], r8
lea r8, [rbp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000f2d0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rdi
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14000f330
mov rdi, qword [rbp + 0x58]
cmp byte [rsp + 0x68], 0
jne 0x14000938d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
lea rdx, [rdi + 0x30]
mov r8d, 4
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400093b7
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400093e1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x6c]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x14000940b
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbx + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
mov rax, qword [rbx + 0x78]
lea rcx, [rbx + 0x78]
call qword [rax + reloc.WS2_32.dll_htonl]
movss dword [rbp - 0x34], xmm0
mov rax, qword [rbx + 0x78]
lea rcx, [rbx + 0x78]
call qword [rax + reloc.WS2_32.dll_recv]
movss dword [rbp - 0x30], xmm0
mov rax, qword [rbx + 0x78]
lea rcx, [rbx + 0x78]
call qword [rax + 0x28]
movss dword [rbp - 0x2c], xmm0
mov rax, qword [rbx + 0x78]
lea rcx, [rbx + 0x78]
call qword [rax + 0x30]
movss dword [rbp - 0x28], xmm0
cmp byte [rsp + 0x68], 0
jne 0x140009475
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbp - 0x34]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x14000949f
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400094c9
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbp - 0x2c]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
cmp byte [rsp + 0x68], 0
jne 0x1400094f3
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbp - 0x28]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
mov rax, qword [rbx]
mov rbx, rax
test rax, rax
jne 0x140009162
cmp qword [rbp - 0x70], 0
je 0x14000956a
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0x2c]
mov dword [rbp - 0x24], ecx
lea rcx, [rsp + 0x50]
call fcn.1400b4070
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.1401a09d0
cmp byte [rsp + 0x68], 0
jne 0x140009556
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400089c0
mov r8d, 4
lea rdx, [rbp - 0x24]
mov rcx, qword [rsp + 0x58]
call fcn.140169500
lea rdx, [rbp + 0x20]
mov rcx, qword [rsp + 0x58]
call fcn.1401696a0
or dword [rsp + 0x30], 8
mov qword [rbp - 8], r13
movdqa xmm0, xmmword [0x1404107f0]
movdqu xmmword [rbp + 0xa8], xmm0
mov byte [rbp + 0x98], 0
or dword [rsp + 0x30], 0x10
lea rbx, [r15 + 0x10]
mov rdx, qword [rbx]
add rdx, 9
lea rcx, [rbp + 0x98]
call fcn.14000aee0
cmp qword [r15 + 0x18], 0x10
jb 0x1400095be
mov r15, qword [r15]
mov r8, qword [rbx]
mov rdx, r15
lea rcx, [rbp + 0x98]
call fcn.14000b980
mov r8d, 9
lea rdx, str.index.dat
lea rcx, [rbp + 0x98]
call fcn.14000b980
mov r8d, r12d
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x98]
call fcn.1401784d0
nop
lea rcx, [rbp + 0x98]
call fcn.14000b5d0
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x140009638
mov rax, qword [rbp + 0x20]
mov r8d, dword [rax + 0x1c]
movsxd rcx, dword [rax + 0x18]
add rcx, qword [rax + 8]
mov r9, rbx
mov edx, 1
call fcn.140267024
mov rcx, rbx
call fcn.140266d44
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140009671
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140009671
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140009671
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp - 0x68]
call fcn.14000b2f0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rbp - 0x68]
call fcn.14023ed44
mov qword [rbp - 0x68], r13
lea rcx, [rsp + 0x70]
call fcn.14000b2f0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x70]
call fcn.14023ed44
mov qword [rsp + 0x70], r13
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x1400096dd
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400096dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400096dd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rax, vtable.artemis::IImageLoader.0
mov qword [rbp + 0x30], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [r9]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x38]
call fcn.14000bba0
mov edx, gethostname
mov rcx, qword [rsp + 0x38]
call fcn.14023ed44
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.14023ed20
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret