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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x84], 7
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x20], 8
movabs rax, 0xdeadbeefcafebabe
mov qword [rsp + 0xa0], rax
call fcn.14000898b
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0xdd40
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140006c05
jmp 0x140007129
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xcd9b2a0f
je 0x140006c22
jmp 0x140006c33
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.140008070
jmp 0x140006c42
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.140007d20
cmp dword [rsp + 0x24], 0x1e
jbe 0x140006c80
mov ecx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, str.too_many_frames_
mov rcx, rax
call fcn.140001060
mov ecx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, [0x140019b04]
mov rcx, rax
call fcn.140001060
jmp 0x140007129
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.1400077c0
mov eax, dword [rsp + 0x20]
imul eax, dword [rsp + 0x84]
mov eax, eax
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140006cd5
jmp 0x140007129
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0
jmp 0x140006cfd
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x40], eax
jae 0x140006d4c
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x740], 0
je 0x140006d4a
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 0x51c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x140006cf3
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
and rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
cmp rax, rcx
jne 0x140006d98
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x48], eax
jmp 0x140006da0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140006ddf
jmp 0x140007129
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x78]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140006e0a
jmp 0x140007129
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
sub rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x38], 0
jmp 0x140006e3e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jae 0x140006ea8
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x740], 0
je 0x140006ea6
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp qword [rcx + rax + 0x528], 0
je 0x140006ea6
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x28]
mov rax, qword [rdx + rax + 0x528]
mov qword [rcx + 0x48], rax
jmp 0x140006ea8
jmp 0x140006e34
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x88]
mov qword [rax], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0xc0]
add rax, qword [rcx + 0x20]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x50], rcx
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x30], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x30]
mov rcx, qword [rsp + 0xa0]
mov qword [rax], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x40], rcx
mov r8, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.1400073e0
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.140007260
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x38]
mov rcx, qword [rsp + 0xc0]
call fcn.140007260
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x40]
mov rcx, qword [rsp + 0xc0]
call fcn.140007260
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x40], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x3c], 0
jmp 0x140007092
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x3c], eax
jae 0x140007121
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x740], 0
je 0x14000711c
cmp dword [rsp + 0x58], 0
je 0x1400070ec
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movsx eax, byte [rax + rcx + 0x414]
jmp 0x140007114
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 1
imul rcx, rcx, 0
movsx eax, byte [rax + rcx + 0x414]
mov dword [rsp + 0x58], 0
jmp 0x140007088
mov dword [rsp + 0x44], 1
cmp dword [rsp + 0x44], 0
jne 0x14000714e
cmp qword [rsp + 0x60], 0
je 0x14000714e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [rsp + 0x44], 0
jne 0x140007173
cmp qword [rsp + 0x68], 0
je 0x140007173
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [rsp + 0x44], 0
jne 0x140007198
cmp qword [rsp + 0x50], 0
je 0x140007198
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x28], 0
je 0x1400071b6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x28]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x44]
add rsp, 0xb8
ret