Function at 0x405f49
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, 0xc1
call qword [0x0047c297]
xor eax, eax
jmp 0x402467
xor eax, eax
jmp 0x402467
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov edx, 0x40
mov rcx, qword [rsp + 0x108]
call fcn.00404924
jmp 0x404ce8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
jmp 0x4033ad
lea rcx, [rsp + 0xb0]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x60]
jmp 0x407409
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x10], 0
je 0x4039fc
jmp 0x4035e9
mov ecx, 0xc1
call qword [0x0047d05a]
xor eax, eax
jmp 0x402467
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x404c67
mov ecx, 0xc1
call qword [0x0047d3a8]
xor eax, eax
jmp 0x402467
cmp qword [rsp + 0x30], 0
jne 0x4021a4
jmp 0x403c99
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x4077c8
jmp 0x401728
cmp qword [rsp + 0x30], 0
je 0x40476b
jmp 0x402695
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
add rax, 0x28
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jb 0x40264b
jmp 0x402cfd
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add eax, dword [rcx + 0x10]
mov eax, eax
mov qword [rsp + 0x80], rax
jmp 0x4060fc
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rax
jmp 0x4060fc
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x48], 0
jmp 0x405788
lea rcx, [rsp + 0xb0]
call qword [0x0047e5ea]
jmp 0x407409
mov ecx, 0xc1
call qword [0x0047f27e]
xor eax, eax
jmp 0x402467
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x30]
call qword [0x0047f02c]
mov qword [rsp + 0x28], rax
jmp 0x4033ad
xor eax, eax
jmp 0x402467
test eax, eax
jne 0x406646
jmp 0x404c05
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
je 0x403a32
jmp 0x405934
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x48], eax
jb 0x40264b
jmp 0x402cfd
mov ecx, 0xc1
call qword [0x00480460]
xor eax, eax
jmp 0x402467
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb4]
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.004034d7
jmp 0x406ae3
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x58], 0
jmp 0x401b30
test eax, eax
je 0x401849
jmp 0x402d14
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x80], rax
ja 0x40211d
jmp 0x404b1f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x40716f
jmp 0x4027d4
cmp qword [rsp + 0x40], rax
je 0x4032fe
jmp 0x40265f
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.00404924
jmp 0x405fc4
mov eax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x50]
mov edx, eax
call fcn.004034d7
jmp 0x405d89
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 4]
cmp eax, 0x8664
jne 0x404731
jmp 0x4056f1