Function at 0x140039c60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0xb0], r9
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rcx
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x250], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x240], xmm0
mov rax, qword [rsp + 0x250]
mov rcx, qword [r9]
mov r8, qword [r9 + 8]
mov r9, qword [r9 + 0x10]
mov qword [rax + 0x58], r9
mov qword [rax + 0x50], r8
mov qword [rax + 0x48], rcx
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x80], rax
mov cl, byte [rbp]
mov r8b, byte [rbp + 1]
mov r9b, byte [rbp + 2]
mov r10b, byte [rbp + 3]
mov r11b, byte [rbp + 4]
mov bl, byte [rbp + 5]
mov sil, byte [rbp + 6]
mov dil, byte [rbp + 7]
mov r14, qword [rbp + 8]
mov r15, qword [rbp + 0x10]
mov r12, qword [rbp + 0x18]
mov r13, qword [rbp + 0x20]
mov rbp, qword [rbp + 0x28]
mov qword [rax + 0x28], rbp
mov qword [rax + 0x20], r13
mov qword [rax + 0x18], r12
mov qword [rax + 0x10], r15
mov qword [rax + 8], r14
mov byte [rax + 7], dil
mov byte [rax + 6], sil
mov byte [rax + 5], bl
mov byte [rax + 4], r11b
mov byte [rax + 3], r10b
mov byte [rax + 2], r9b
mov byte [rax + 1], r8b
mov byte [rax], cl
mov rax, qword [rsp + 0x250]
mov rcx, qword [rdx]
mov rdx, qword [rdx + 8]
mov qword [rax + 0x40], rdx
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x88], rax
call fcn.1400528d0
mov r8, qword [rsp + 0xd8]
mov rcx, rax
mov rax, qword [rsp + 0x88]
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 0x20]
mov qword [0x1400cb7a0], rax
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 0x28]
mov qword [0x1400c8e48], rax
mov eax, dword [0x1400cea0c]
mov ecx, eax
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
lea rcx, [rax + 0x78]
mov qword [rsp + 0xa0], rcx
mov rdx, r8
call fcn.140053d90
mov r9, qword [rsp + 0xd8]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
test rax, rax
sete cl
lea rdx, [0x1400b6d18]
lea r8, str.C:_Users_Jshaw_Odin_odin_http_server.odin
call fcn.14003d400
movaps xmm0, xmmword [rsp + 0x90]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x230], 0
movaps xmmword [rsp + 0x220], xmm0
mov rax, rsp
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0x220]
lea r9, [rsp + 0x230]
call fcn.140054350
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x228]
mov r8, qword [rsp + 0x230]
mov qword [rdx + 0x30], r8
mov qword [rsp + 0x248], rcx
mov qword [rsp + 0x240], rax
cmp qword [rsp + 0x248], 0
setne al
and al, 1
cmp al, 0
je 0x140039f58
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.14003c4e0
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
mov qword [rsp + 0x248], r8
mov qword [rsp + 0x240], rdx
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [rcx], xmm0
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 0x18]
dec rax
xor ecx, ecx
test rax, rax
cmovs rax, rcx
mov qword [rsp + 0x200], rax
mov rcx, qword [rsp + 0x250]
sub rcx, 0xffffffffffffff80
mov rdx, qword [rsp + 0x200]
call fcn.1400527d0
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x250]
mov qword [rsp + 0x78], rdx
mov rcx, qword [rsp + 0x200]
add rdx, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1f0], xmm0
mov rax, rsp
mov qword [rax + 0x20], r8
lea r8, str.C:_Users_Jshaw_Odin_odin_http_server.odin
lea r9, [rsp + 0x1f0]
call fcn.140073110
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1f0]
mov rdx, qword [rsp + 0x1f8]
mov qword [rax + 0x70], rdx
mov qword [rax + 0x68], rcx
mov qword [rsp + 0x1d0], 0
mov qword [rsp + 0x1c8], 0
mov rax, qword [rsp + 0x200]
cmp qword [rsp + 0x1d0], rax
jge 0x14003a14e
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 0x68]
mov qword [rsp + 0x70], rcx
mov r9, qword [rsp + 0x1c0]
mov qword [rsp + 0x68], r9
mov rax, qword [rax + 0x70]
lea rcx, str.C:_Users_Jshaw_Odin_odin_http_server.odin
mov edx, 0x99
mov r8d, reloc.WS2_32.dll_listen
mov qword [rsp + 0x20], rax
call fcn.140003990
lea rcx, [rsp + 0x150]
xor edx, edx
mov r8d, 0x68
call fcn.14009bf90
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xd8]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movups xmm4, xmmword [rax + 0x40]
movups xmm5, xmmword [rax + 0x50]
movaps xmmword [rsp + 0x1a0], xmm5
movaps xmmword [rsp + 0x190], xmm4
movaps xmmword [rsp + 0x180], xmm3
movaps xmmword [rsp + 0x170], xmm2
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x1b0], 1
lea rdx, [fcn.14003bef0]
lea r8, [rsp + 0x150]
xor r9d, r9d
xor r10d, r10d
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call fcn.1400745a0
mov rcx, qword [rsp + 0x68]
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
mov rax, qword [rsp + 0x1d0]
add rax, 1
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1c8]
add rax, 1
mov qword [rsp + 0x1c8], rax
jmp 0x14003a00d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.14003f810
mov rcx, qword [rsp + 0x250]
sub rcx, 0xffffffffffffff80
mov edx, 1
call fcn.1400527d0
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xd8]
call fcn.14003bef0
mov rcx, qword [rsp + 0x250]
sub rcx, 0xffffffffffffff80
call fcn.1400528f0
mov r9, qword [rsp + 0xd8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
lea rax, str.threads_are_shut_down__shutting_down_main_thread
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], 0x30
lea rax, [rsp + 0x120]
mov qword [rsp + 0x110], rax
movabs rax, 0x600000000000014
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 1
lea rcx, [rsp + 0x140]
lea rdx, [0x1400b6dc8]
lea r8, str.C:_Users_Jshaw_Odin_odin_http_server.odin
call fcn.140011cd0
mov rdx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x250]
mov rax, qword [rax + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], 1
lea rcx, [rsp + 0x100]
call fcn.14001d000
mov rax, qword [rsp + 0x250]
mov rcx, rax
add rcx, 0x68
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 0x70]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0xf0], 0xffffffffffffffff
mov rax, qword [rsp + 0xf0]
add rax, 1
mov qword [rsp + 0xf0], rax
cmp rax, qword [rsp + 0xf8]
jge 0x14003a3a9
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x250]
add rcx, 0x38
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x270], rax
cmp rax, 0
sete al
test al, 1
jne 0x14003a33b
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
sete al
test al, 1
jne 0x14003a33b
jmp 0x14003a33d
jmp 0x14003a3a4
mov r10, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x260], xmm0
mov edx, 1
xor r8d, r8d
mov r9d, r8d
lea rsi, str.C:_Users_Jshaw_Odin_odin_http_server.odin
lea r11, [rsp + 0x260]
mov r8, r9
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x40], r10
call rax
mov byte [rsp + 0x25f], al
jmp 0x14003a2ba
mov r9, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x250]
add rcx, 0x68
lea r8, str.C:_Users_Jshaw_Odin_odin_http_server.odin
mov rdx, r9
call fcn.1400746e0
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x248], 0
mov qword [rsp + 0x240], 0
mov qword [rcx + 8], 0
mov qword [rcx], 0
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret