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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400b9260
mov dword [rsp + 0x50], eax
mov eax, 1
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jb 0x1400ba4b6
mov ecx, 0x122a6
call fcn.140050030
jmp 0x1400bafbb
cmp dword [rsp + 0x54], 0
jbe 0x1400bad40
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 1
jne 0x1400ba529
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xd8], eax
ja 0x1400ba527
xor r9d, r9d
lea r8, [rsp + 0x38]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b6600
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba518
mov eax, dword [rsp + 0x20]
jmp 0x1400bafbb
movzx eax, byte [rsp + 0x38]
cmp eax, 2
jne 0x1400ba527
mov byte [rsp + 0x24], 1
jmp 0x1400ba53b
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1400ba53b
mov byte [rsp + 0x24], 1
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba55d
mov eax, dword [rsp + 0x20]
jmp 0x1400bafbb
mov eax, dword [rsp + 0x54]
dec eax
mov ecx, 1
imul rcx, rcx, 0x24
mov rdx, qword [rsp + 0x60]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.14008c300
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400ba5ae
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x3c], eax
jmp 0x1400ba5cc
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x3c], eax
ja 0x1400ba606
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x94], eax
jbe 0x1400ba616
mov ecx, 0x122de
call fcn.140050030
mov dword [rsp + 0x20], eax
jmp 0x1400ba633
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b93e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba648
mov qword [rsp + 0x30], 0
jmp 0x1400bafa3
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jne 0x1400ba6f6
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1400ba6f6
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba698
jmp 0x1400bafa3
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x60]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call fcn.140155350
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x30], 0
jmp 0x1400bad1b
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x38]
mov ecx, 4
div ecx
sub eax, 2
cmp dword [rsp + 0x2c], eax
jbe 0x1400ba72b
mov ecx, 0x122fb
call fcn.140050030
mov dword [rsp + 0x20], eax
jmp 0x1400bafa3
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400ba9ec
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0xd8], eax
je 0x1400ba767
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x3c], eax
jae 0x1400ba9ec
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1400ba9ec
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov byte [rsp + 0x24], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba7a8
jmp 0x1400bafa3
cmp dword [rsp + 0x2c], 0
jne 0x1400ba844
cmp qword [rsp + 0x48], 0
jne 0x1400ba7ef
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x60]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call fcn.140155350
jmp 0x1400ba83f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba80d
jmp 0x1400bafa3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call fcn.140155350
jmp 0x1400ba9de
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x58], eax
jbe 0x1400ba87f
mov ecx, 0x1231d
call fcn.140050030
mov dword [rsp + 0x20], eax
jmp 0x1400bafa3
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b93e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba8a8
jmp 0x1400bafa3
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba8d0
mov rcx, qword [rsp + 0x70]
call fcn.1400b5bf0
jmp 0x1400bafa3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call fcn.140155350
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.14008c300
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 - 4]
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x50]
mov edx, 1
imul rdx, rdx, 8
mov r8, qword [rsp + 0x70]
add rdx, qword [r8 + 0x50]
mov qword [rsp + 0xa8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140155350
mov rcx, qword [rsp + 0x70]
call fcn.1400b5bf0
cmp qword [rsp + 0x48], 0
jne 0x1400ba9a2
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.14008c300
jmp 0x1400ba9de
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400ba9c0
jmp 0x1400bafa3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.14008c300
mov qword [rsp + 0x30], 0
jmp 0x1400bad1b
cmp dword [rsp + 0x2c], 0
jbe 0x1400bad1b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x68], rax
cmp dword [rsp + 0xd8], 0
jbe 0x1400bab24
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1400baa88
mov dword [rsp + 0x28], 0
jmp 0x1400baa3c
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x1400baa83
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
ja 0x1400baa81
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
jmp 0x1400baa83
jmp 0x1400baa32
jmp 0x1400bab22
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14008c2d0
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.14007faa0
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x28], 1
jmp 0x1400baaca
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jae 0x1400bab22
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14008c2d0
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.14007faa0
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x78], eax
jge 0x1400bab20
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x7c], eax
jmp 0x1400baac0
jmp 0x1400bab2c
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14008c2d0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
ja 0x1400bab61
cmp dword [rsp + 0x40], 2
jae 0x1400bab74
mov ecx, 0x1235e
call fcn.140050030
mov dword [rsp + 0x20], eax
jmp 0x1400bafa3
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400babac
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
je 0x1400babac
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
jae 0x1400bad1b
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x1400bad1b
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400babd8
jmp 0x1400bafa3
mov eax, dword [rsp + 0x2c]
dec eax
cmp dword [rsp + 0x44], eax
jae 0x1400bac22
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 + 4]
mov eax, eax
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x44]
lea ecx, [rcx*4 + 8]
mov ecx, ecx
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov r8d, 4
mov rdx, rax
call fcn.140155350
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x68]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.14008c300
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b5e00
test eax, eax
jne 0x1400bac6b
mov dword [rsp + 0x80], 1
jmp 0x1400bac76
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
je 0x1400bac8d
mov dword [rsp + 0x84], 1
jmp 0x1400bac98
mov dword [rsp + 0x84], 0
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x98], eax
mov r9d, dword [rsp + 0x98]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b93e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400bad16
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400bad16
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.1400b5bf0
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x48]
call fcn.1400b5bf0
mov qword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1400ba57c
jmp 0x1400bafa3
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x1400bad5d
mov dword [rsp + 0x88], 1
jmp 0x1400bad68
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400bad9f
mov eax, dword [rsp + 0x20]
jmp 0x1400bafbb
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
xor edx, edx
mov eax, dword [0x1401a6270]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x34]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x40], eax
jne 0x1400badf1
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x1400baef1
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b63e0
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 0x40]
jne 0x1400baef1
mov qword [rsp + 0xa0], 0
mov r9d, dword [rsp + 0x8c]
lea r8, [rsp + 0xa0]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b93e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400bae8f
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0xa0]
call fcn.1400b5bf0
cmp dword [rsp + 0x20], 0
je 0x1400bae9f
mov eax, dword [rsp + 0x20]
jmp 0x1400bafbb
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
xor edx, edx
mov eax, dword [0x1401a6270]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x34]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x40], eax
jne 0x1400baef1
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x40]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x50]
add rax, 0x1c
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rcx + 0x40]
mov rcx, rax
call fcn.14008c300
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x40]
mov dword [rax], ecx
mov r9d, dword [rsp + 0x8c]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.1400b93e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400baf65
mov eax, dword [rsp + 0x20]
jmp 0x1400bafbb
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.140041320
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400bafa3
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.1400b5bf0
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.1400b5bf0
mov rcx, qword [rsp + 0x48]
call fcn.1400b5bf0
mov eax, dword [rsp + 0x20]
add rsp, 0xb8
ret