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

Disassembly:
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
mov rcx, qword [rsp + 0x2a8]
xor edx, edx
call rax
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0
jne 0x409df7
mov byte [rsp + 0x47], 0
jmp 0x40a91b
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x34]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x40]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x38]
mov esi, dword [rsi + 0x54]
mov dword [rsp + 0x1ec], eax
mov dword [rsp + 0x1e8], ecx
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0x1e4], esi
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x420]
mov edx, dword [rsp + 0x1e4]
mov ecx, dword [rcx + rdx*8 + 0x88]
add rax, rcx
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x180]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x418], rax
mov dword [rsp + 0x418], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x180]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x180]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x408], rax
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x180]
cmp eax, dword [rcx + 0x18]
jae 0x40a07a
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x410]
mov edx, dword [rsp + 0x6c]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x400], rax
mov rax, qword [rsp + 0x400]
mov ecx, dword [rsp + 0x1ec]
mov qword [rsp + 0x328], rax
mov dword [rsp + 0x244], ecx
mov dword [rsp + 0x10c], 0
mov rcx, qword [rsp + 0x328]
call fcn.004090c3
mov dword [rsp + 0x240], eax
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
cmp eax, dword [rsp + 0x240]
jae 0x40a02a
mov rax, qword [rsp + 0x328]
movsxd rcx, dword [rsp + 0xa4]
mov al, byte [rax + rcx]
or byte [rax - 0x74a2dbbc], cl
test byte [rsp + rax*2], ah
add al, byte [rax]
add byte [rbx + 0x10c248c], cl
add byte [rax], al
mov dword [rsp + 0x26c], eax
mov dword [rsp + 0x268], ecx
mov dword [rsp + 0x12c], 0
mov dword [rsp + 0x128], 0
mov eax, dword [rsp + 0x128]
cmp eax, dword [rsp + 0x26c]
jae 0x409fff
mov eax, dword [rsp + 0x268]
add eax, dword [rsp + 0x12c]
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x128]
add eax, 1
mov dword [rsp + 0x128], eax
jmp 0x409fc7
mov eax, dword [rsp + 0x12c]
movzx ecx, byte [rsp + 0x5d]
add eax, ecx
mov dword [rsp + 0x10c], eax
mov eax, dword [rsp + 0xa4]
add eax, 1
mov dword [rsp + 0xa4], eax
jmp 0x409f6a
mov eax, dword [rsp + 0x10c]
cmp eax, dword [rsp + 0x1e8]
jne 0x40a06a
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x408]
mov rdx, qword [rsp + 0x418]
mov esi, dword [rsp + 0x6c]
movzx edx, word [rdx + rsi*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x2e0], rax
jmp 0x40a086
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
jmp 0x409eeb
mov qword [rsp + 0x2e0], 0
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x368], rax
mov dword [rsp + 0x160], 0
mov rax, qword [rsp + 0x368]
mov r8d, dword [rsp + 0x164]
add byte [rax - 0x75], cl
push rsp
and al, 0x48
mov rcx, qword [rsp + 0x2a8]
lea r9, [rsp + 0x160]
mov qword [rsp + 0x20], 0
call rax
cmp eax, 0
jne 0x40a0d8
jmp 0x40a0d8
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x160]
add rax, rcx
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x30]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x1c0], eax
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x1bc], eax
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov dword [rsp + 0xf8], 0
mov eax, dword [rsp + 0xf8]
cmp eax, dword [rsp + 0x1c0]
jae 0x40a1b2
mov eax, dword [rsp + 0x1bc]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx]
mov dword [rcx], eax
mov eax, dword [rsp + 0xf8]
add byte [rax], al
add eax, 1
mov dword [rsp + 0xf8], eax
mov rax, qword [rsp + 0x80]
add byte [rax], 0
add byte [rax - 0x7d], cl
rol byte [rax + rcx*2], 0x89
test byte [rax + rax*4], ah
add byte [rax], al
add bl, ch
invalid
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x48]
mov eax, eax
add rcx, rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x34]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rcx + 0x44]
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0x38]
mov esi, dword [rsi + 0x54]
mov dword [rsp + 0x1e0], eax
mov dword [rsp + 0x1dc], ecx
mov qword [rsp + 0xb8], rdx
mov dword [rsp + 0x1d8], esi
mov ah, 0x24
fadd dword [rcx]
add byte [rax], al
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x3f8]
mov edx, dword [rsp + 0x1d8]
mov ecx, dword [rcx + rdx*8 + 0x88]
add rax, rcx
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x178]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x3f0], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x178]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x178]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x3e0], rax
mov dword [rsp + 0x68], 0