Function at 0x404060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
jmp 0x4069f7
mov rdx, qword [rsp + 0x88]
mov rcx, rax
call fcn.0040403f
jmp 0x406563
jmp 0x403527
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
jmp 0x40667d
sbb eax, eax
or eax, 1
jmp 0x4069f7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.00402022
jmp 0x4019e8
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jb 0x405495
jmp 0x40667d
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 4]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x38], rax
ja 0x405fd1
jmp 0x405680
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
je 0x406cd3
jmp 0x4026fc
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x20]
mov ecx, 0x2e
mov word [rsp + rax*2 + 0x90], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x4072b3
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jb 0x405495
jmp 0x40667d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and al, 0x50
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
jmp 0x405173
movsxd rax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
movsx ax, byte [rdx + rax]
mov word [rsp + rcx*2 + 0x90], ax
jmp 0x405fde
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov ecx, 0x6c
mov word [rsp + rax*2 + 0x90], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
xor ecx, ecx
mov word [rsp + rax*2 + 0x90], cx
jmp 0x4028ab
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x1a0]
jmp 0x4054fa
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
jmp 0x406d5d
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x28], ax
jmp 0x406189
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x1a0]
jmp 0x40527a
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
jmp 0x405fa8
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
jne 0x404209
jmp 0x403435
mov rax, qword [rsp + 0x38]
add rsp, 0x198
ret
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
cmp eax, 0x2e
je 0x403435
jmp 0x404209
movzx eax, word [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x1a0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x1a8]
sub rcx, rax
jmp 0x4032a4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rsp, 0x198
ret
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x405fd1
jmp 0x40311e
test eax, eax
je 0x402455
jmp 0x401ac0
inc rax
test dl, dl
jne 0x4032a4
jmp 0x4018d8
jmp 0x402adf
movsxd rax, dword [rsp + 0x20]
mov ecx, 0x64
mov word [rsp + rax*2 + 0x90], cx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov ecx, 0x6c
mov word [rsp + rax*2 + 0x90], cx
mov eax, dword [rsp + 0x20]
jmp 0x404d5a