Function at 0x14004f270
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x528
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rsp + 0x510], rax
cmp qword [rsp + 0x548], 0
jne 0x14004f2ac
xor eax, eax
jmp 0x14004fb03
lea rax, [rsp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov r9d, 0x40
lea r8, [rsp + 0x2c0]
mov rdx, qword [rsp + 0x548]
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f2f1
xor eax, eax
jmp 0x14004fb03
movzx eax, word [rsp + 0x2c0]
cmp eax, 0x5a4d
je 0x14004f307
xor eax, eax
jmp 0x14004fb03
mov byte [rsp + 0x38], 1
lea rax, [rsp + 0x300]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x2fc]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov r9d, 0x108
lea r8, [rsp + 0x300]
mov rdx, rax
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f362
xor eax, eax
jmp 0x14004fb03
cmp dword [rsp + 0x300], 0x4550
je 0x14004f376
xor eax, eax
jmp 0x14004fb03
lea rax, [rsp + 0x270]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x388]
mov dword [rsp + 0x58], eax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x38c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov r9d, 0x28
lea r8, [rsp + 0x270]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f40e
xor eax, eax
jmp 0x14004fb03
mov eax, dword [rsp + 0x28c]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x294]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x34], 0
jmp 0x14004f476
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x284]
cmp dword [rsp + 0x34], eax
jae 0x14004fb01
mov dword [rsp + 0x204], 0
mov dword [rsp + 0x208], 0
xor eax, eax
mov word [rsp + 0x200], ax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax*4]
mov r9d, 4
lea r8, [rsp + 0x204]
mov rdx, rax
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f4dc
jmp 0x14004f46c
lea rcx, [rsp + 0x210]
call fcn.140027ad0
nop
mov rcx, qword [rsp + 0x550]
call fcn.14001d8b0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x210]
call fcn.14002cdc0
nop
lea rcx, [rsp + 0x210]
call fcn.1400034d0
mov qword [rsp + 0x70], rax
xor edx, edx
lea rcx, [rsp + 0x210]
call fcn.1400274d0
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x204]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f58d
lea rcx, [rsp + 0x210]
call fcn.140003500
nop
jmp 0x14004f46c
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x210]
call fcn.140027480
lea rcx, [rsp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
mov rdi, rax
mov rsi, qword [rsp + 0x550]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x160]
call fcn.14004e810
movzx eax, al
test eax, eax
je 0x14004faee
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
lea rax, [rcx + rax*2]
mov r9d, 2
lea r8, [rsp + 0x200]
mov rdx, rax
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f687
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x210]
call fcn.140003500
mov rax, qword [rsp + 0xa0]
jmp 0x14004fb03
movzx eax, word [rsp + 0x200]
mov rcx, qword [rsp + 0xa8]
lea rax, [rcx + rax*4]
mov r9d, 4
lea r8, [rsp + 0x208]
mov rdx, rax
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
movzx eax, al
test eax, eax
jne 0x14004f6e6
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0x210]
call fcn.140003500
mov rax, qword [rsp + 0xb0]
jmp 0x14004fb03
mov eax, dword [rsp + 0x208]
mov rcx, qword [rsp + 0x548]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rax
jb 0x14004faca
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x40], rax
jae 0x14004faca
lea rcx, [rsp + 0x410]
call fcn.140051220
mov qword [rsp + 0xc0], rax
xor edx, edx
lea rcx, [rsp + 0x410]
call fcn.140026fe0
mov qword [rsp + 0xc8], rax
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x540]
call fcn.14004cb10
lea rcx, [rsp + 0x410]
call fcn.140001890
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.140003570
nop
xor r8d, r8d
mov dl, 0x2e
lea rcx, [rsp + 0x250]
call fcn.140051830
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x14004f7e2
mov qword [rsp + 0xd0], 0
lea rcx, [rsp + 0x250]
call fcn.140003500
nop
lea rcx, [rsp + 0x210]
call fcn.140003500
mov rax, qword [rsp + 0xd0]
jmp 0x14004fb03
mov rax, qword [rsp + 0x50]
inc rax
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x250]
call fcn.140051770
nop
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x39]
lea rcx, [rsp + 0x1c0]
call fcn.14004fb20
mov rcx, rax
call fcn.14004d870
mov rdx, rax
lea rcx, [rsp + 0x230]
call fcn.140034540
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x230]
call fcn.1400275b0
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x230]
call fcn.140027500
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf8], rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x230]
call fcn.1400275b0
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x100], rax
lea rax, [fcn.14012e174]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x128]
call fcn.14004e850
nop
mov rax, qword [rsp + 0x50]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0x250]
call fcn.140051770
nop
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x230]
call fcn.140027480
lea rcx, [rsp + 0x170]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x540]
call fcn.14004fb50
cmp rax, qword [rsp + 0x548]
jne 0x14004f9e2
mov qword [rsp + 0x108], 0
lea rcx, [rsp + 0x298]
call fcn.140003500
nop
lea rcx, [rsp + 0x230]
call fcn.140003500
nop
lea rcx, [rsp + 0x250]
call fcn.140003500
nop
lea rcx, [rsp + 0x210]
call fcn.140003500
mov rax, qword [rsp + 0x108]
jmp 0x14004fb03
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x298]
call fcn.140027480
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x230]
call fcn.140027480
lea rcx, [rsp + 0x180]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x540]
call fcn.14004fb50
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x1a0]
lea rcx, [rsp + 0x190]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1a0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x540]
call fcn.14004f270
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x298]
call fcn.140003500
nop
lea rcx, [rsp + 0x230]
call fcn.140003500
nop
lea rcx, [rsp + 0x250]
call fcn.140003500
nop
lea rcx, [rsp + 0x210]
call fcn.140003500
mov rax, qword [rsp + 0x68]
jmp 0x14004fb03
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x210]
call fcn.140003500
mov rax, qword [rsp + 0x80]
jmp 0x14004fb03
lea rcx, [rsp + 0x210]
call fcn.140003500
nop
jmp 0x14004f46c
xor eax, eax
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1401209e0
add rsp, 0x528
pop rdi
pop rsi
ret