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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1260
call fcn.1400083b0
sub rsp, rax
mov rax, qword [0x140009110]
xor rax, rsp
mov qword [rsp + 0x1250], rax
mov r15, rcx
mov rsi, rdx
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x248
call sub.msvcrt.dll_memset
mov ecx, 0x1000
mov dword [rsp + 0x68], 0xa
mov dword [rsp + 0x60], 0x400
call qword [sym.imp.msvcrt.dll_malloc]
xor ebp, ebp
mov qword [rsp + 0x70], rax
cmp rax, rbp
je 0x1400047a7
mov ecx, 0x2c000
mov dword [rsp + 0x78], 0x800
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsp + 0x80], rax
cmp rax, rbp
je 0x1400047a7
cmp dword [rsi + 0x10], 0x1745d17
ja 0x140004545
mov ecx, dword [rsi + 0x10]
lea edx, [rbp + 0x58]
call qword [sym.imp.msvcrt.dll_calloc]
jmp 0x140004548
mov rax, rbp
mov qword [rsp + 0x88], rax
cmp rax, rbp
je 0x1400047a7
lea rcx, [rsp + 0x60]
call fcn.140004104
cmp eax, ebp
jl 0x1400047c7
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0xa80]
mov r8d, 0x3e8
mov rcx, r15
mov dword [rsp + 0x28], 3
lea r13, [rsp + 0xa80]
lea r14, [rsp + 0x2b0]
mov word [rsp + 0x2b0], bp
mov qword [rsp + 0x20], rax
call fcn.140003090
cmp eax, ebp
jle 0x140004788
mov r12d, dword [rsp + 0x94]
mov rbx, qword [rsp + 0x88]
movzx eax, word [r13]
mov rdi, r13
mov rcx, r14
cmp word [r14], ax
jne 0x1400045e9
add rdi, 2
add rcx, 2
movzx eax, word [rdi]
cmp word [rcx], ax
je 0x1400045d9
lea rdx, [rsp + 0x30]
call fcn.140003040
mov ebp, dword [rsp + 0x30]
test ebp, ebp
jle 0x14000466d
dec ebp
je 0x140004626
lea rcx, [rsp + 0x60]
call fcn.140004364
test eax, eax
js 0x1400047c7
sub ebp, 1
jne 0x1400045ff
mov r12d, dword [rsp + 0x94]
mov rbx, qword [rsp + 0x88]
movzx eax, word [rdi]
movsxd rcx, r12d
xor ebp, ebp
imul rcx, rcx, 0x58
mov dword [rcx + rbx], eax
movsxd rax, dword [rsp + 0x90]
inc dword [rsp + rax*4 + 0x94]
mov r12d, dword [rsp + 0x94]
mov dword [rcx + rbx + 0x10], ebp
mov dword [rcx + rbx + 4], ebp
mov rbx, qword [rsp + 0x88]
inc r12d
add rdi, 2
mov dword [rsp + 0x94], r12d
jmp 0x14000466f
xor ebp, ebp
movzx eax, word [rdi]
cmp ax, bp
je 0x1400046a4
movzx eax, ax
movsxd rcx, r12d
imul rcx, rcx, 0x58
mov dword [rcx + rbx], eax
movsxd rax, dword [rsp + 0x90]
mov dword [rcx + rbx + 0x14], ebp
mov dword [rsp + rax*4 + 0x98], 1
inc dword [rsp + 0x90]
jmp 0x140004644
lea eax, [r12 - 1]
movsxd rdi, r12d
mov r11d, ebp
movsxd rcx, eax
lea r8, [rdi - 1]
mov r10d, ebp
lea r9, [rsi + 0x5c]
imul rcx, rcx, 0x58
imul r8, r8, 0x58
or dword [r8 + rbx + 4], 1
xor eax, eax
mov dword [rcx + rbx + 0x38], eax
mov dword [rcx + rbx + 0x3c], eax
lea edx, [rax + 1]
cmp dword [r9 + 8], ebp
je 0x14000470c
cmp dword [rsp + rdx*4 + 0x38], ebp
je 0x14000470c
mov eax, dword [rsp + rdx*4 + 0x48]
lea rcx, [rdi - 1]
mov r11d, 1
imul rcx, rcx, 0x16
add rcx, rdx
mov dword [rbx + rcx*4 + 0x34], eax
mov ecx, r10d
mov eax, 0x10000
shl eax, cl
or dword [r8 + rbx + 4], eax
cmp dword [r9], ebp
je 0x14000472c
cmp dword [rsp + rdx*4 + 0x38], ebp
je 0x14000472c
mov ecx, r10d
mov eax, 0x10000
mov r11d, 1
shl eax, cl
or dword [r8 + rbx + 4], eax
inc rdx
inc r10d
add r9, 4
cmp rdx, 2
jle 0x1400046d8
cmp r11d, ebp
je 0x140004747
or dword [r8 + rbx + 4], 8
mov rdx, r14
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x48]
mov r8d, 0x3e8
mov rcx, r15
mov r14, r13
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rax
mov r13, rdx
call fcn.140003090
cmp eax, ebp
jg 0x1400045c8
jmp 0x140004788
call fcn.140004364
cmp eax, ebp
jl 0x1400047c7
lea rcx, [rsp + 0x60]
cmp dword [rsp + 0x90], ebp
jne 0x14000477f
call fcn.1400041ac
mov qword [rsi + 0x180], rax
cmp rax, rbp
jne 0x1400047ae
mov eax, 0x8007000e
jmp 0x1400047c7
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rsp + 0x64]
mov dword [rsi + 0x18], ecx
mov dword [rsi + 0x1c], eax
imul ecx, ecx, 0x58
mov dword [rsi + 0x178], ecx
xor eax, eax
mov rcx, qword [rsp + 0x1250]
xor rcx, rsp
call fcn.140007e60
mov rbx, qword [rsp + 0x12b0]
add rsp, 0x1260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret