Function at 0x140006b30
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.1400089bb
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 0x140006c35
jmp 0x140007159
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xcd9b2a0f
je 0x140006c52
jmp 0x140006c63
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.1400080a0
jmp 0x140006c72
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.140007d50
cmp dword [rsp + 0x24], 0x1e
jbe 0x140006cb0
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, [0x14001acec]
mov rcx, rax
call fcn.140001060
jmp 0x140007159
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
call fcn.1400077f0
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 0x140006d05
jmp 0x140007159
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 0x140006d2d
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x40], eax
jae 0x140006d7c
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x740], 0
je 0x140006d7a
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 0x140006d23
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 0x140006dc8
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x48], eax
jmp 0x140006dd0
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 0x140006e0f
jmp 0x140007159
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 0x140006e3a
jmp 0x140007159
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 0x140006e6e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jae 0x140006ed8
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x740], 0
je 0x140006ed6
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp qword [rcx + rax + 0x528], 0
je 0x140006ed6
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 0x140006ed8
jmp 0x140006e64
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.140007410
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.140007290
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.140007290
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.140007290
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x40], rax
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x3c], 0
jmp 0x1400070c2
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x3c], eax
jae 0x140007151
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x760
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x740], 0
je 0x14000714c
cmp dword [rsp + 0x58], 0
je 0x14000711c
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 0x140007144
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 0x1400070b8
mov dword [rsp + 0x44], 1
cmp dword [rsp + 0x44], 0
jne 0x14000717e
cmp qword [rsp + 0x60], 0
je 0x14000717e
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 0x1400071a3
cmp qword [rsp + 0x68], 0
je 0x1400071a3
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 0x1400071c8
cmp qword [rsp + 0x50], 0
je 0x1400071c8
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 0x1400071e6
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