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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r12, r9
mov qword [rsp + 0x98], r9
mov r13, r8
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0xb0], r9
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0xc0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x58], rbx
mov r14d, ebx
mov dword [rsp + 0x88], ebx
lea r15, str._0_n_
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004ce85
test byte [rcx + 0x1c], 4
je 0x14004ce85
cmp byte [rcx + 0x19], 5
jb 0x14004ce85
lea edx, [rbx + 0x6e]
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
mov dword [r12], ebx
movabs r10, 0xff702edc50dd5070
mov eax, 0x80000002
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400a7688]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
mov rax, qword [r13 + 0x8b0]
call qword [0x1400913f0]
test eax, eax
jne 0x14004cf26
lea edi, [rax + 1]
mov r14d, edi
mov dword [rsp + 0x88], edi
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004cf1e
test byte [rax + 0x1c], 4
je 0x14004cf1e
cmp byte [rax + 0x19], 2
jb 0x14004cf1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r10d, eax
mov rax, qword [str._0_n_]
lea r9, [r13 + 0x40]
lea edx, [rdi + 0x6e]
mov dword [rsp + 0x20], r10d
lea r8, [0x140094500]
mov rcx, qword [rax + 0x10]
call fcn.140004880
mov r13, rbx
jmp 0x14004d709
jmp 0x14004cf78
mov r9d, dword [rsp + 0x50]
test r9d, r9d
je 0x14004d6d1
cmp r9d, 0x100
jbe 0x14004cfcd
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004cfc3
test byte [rcx + 0x1c], 4
je 0x14004cfc3
cmp byte [rcx + 0x19], 5
jb 0x14004cfc3
mov edx, 0x70
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.140004900
mov rcx, qword [str._0_n_]
mov dword [rsp + 0x50], 0x100
jmp 0x14004cfd4
mov rcx, qword [str._0_n_]
mov r8d, dword [rsp + 0x60]
lea eax, [r8 - 1]
cmp eax, 0xfffe
ja 0x14004d69a
mov rdx, qword [0x1400a7678]
lea r9, [0x1400a7678]
cmp rdx, r9
je 0x14004d092
lea rsi, [rdx]
mov rdx, qword [rdx]
cmp dword [rsi + 0x18], r8d
jb 0x14004cff6
mov ecx, dword [rsp + 0x50]
add ecx, r8d
cmp dword [rsi + 0x18], ecx
ja 0x14004cff6
mov edi, 1
mov r14d, edi
lea r12, [r13 + 0x40]
mov rax, qword [rsi + 0x28]
add rax, 0x40
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0xc0007d61
lea r8d, [rdi + 1]
mov edx, edi
mov ecx, edi
call fcn.14006a378
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004d704
test byte [rcx + 0x1c], 4
je 0x14004d704
cmp byte [rcx + 0x19], 2
jb 0x14004d704
mov rax, qword [rsi + 0x28]
add rax, 0x40
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.140051f50
jmp 0x14004d704
mov ecx, dword [rsp + 0x50]
shl rcx, 3
call fcn.14006a264
mov r13, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14004d10d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004d103
test byte [rax + 0x1c], 4
je 0x14004d103
cmp byte [rax + 0x19], 2
jb 0x14004d103
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea edx, [r13 + 0x73]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x50]
lea r8, [0x140094500]
mov rcx, qword [str._0_n_]
mov rcx, qword [rcx + 0x10]
call fcn.140023bdc
mov edi, 1
jmp 0x14004d709
mov r8d, dword [rsp + 0x50]
shl r8, 3
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov r12d, ebx
cmp dword [rsp + 0x50], ebx
jbe 0x14004d4bf
mov edi, 1
lea rcx, [rsp + 0xc0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x14004d13e
lea eax, [rax*2 + 0x12]
mov esi, eax
mov ecx, eax
call fcn.14006a264
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14004d64d
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0xc0]
lea r8, str._s_d
mov edx, esi
mov rcx, rax
call fcn.140026fcc
mov esi, eax
test eax, eax
js 0x14004d5f9
mov r8d, ebx
mov r13, rbx
mov rax, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x90]
cmp dword [rax + 0x28], ebx
jbe 0x14004d205
mov r11, qword [rax + 0x20]
mov eax, r8d
imul rdx, rax, 0x58
add rdx, r11
cmp dword [rdx + 0x3c], edi
jne 0x14004d1ef
lea r10, [rsi + 0x658]
mov rax, qword [rdx + 0x48]
sub r10, rax
movzx r9d, word [rax]
movzx ecx, word [rax + r10]
sub r9d, ecx
jne 0x14004d1df
add rax, 2
test ecx, ecx
jne 0x14004d1c9
test r9d, r9d
jne 0x14004d1ef
mov ecx, dword [rsp + 0x60]
add ecx, r12d
cmp dword [rdx], ecx
je 0x14004d202
add r8d, edi
mov rax, qword [rsp + 0xa0]
cmp r8d, dword [rax + 0x28]
jae 0x14004d205
jmp 0x14004d1ac
mov r13, rdx
test r13, r13
jne 0x14004d287
mov r8d, dword [rsp + 0x60]
add r8d, r12d
mov dword [rsp + 0x68], r8d
mov r10, qword [rsp + 0x78]
lea r9, [r10 + 8]
mov qword [rsp + 0x80], r9
mov eax, dword [r10 + 0x1c]
or eax, 4
lea rdx, [rsi + 0x658]
mov rcx, qword [0x1400a76e8]
add rcx, 0x70
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r8d
mov rax, qword [r9]
mov qword [rsp + 0x30], rax
mov rax, qword [r10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x68]
call fcn.140084dc4
mov r14d, eax
test eax, eax
jne 0x14004d507
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x68], eax
jmp 0x14004d2a3
mov eax, dword [r13 + 0x40]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xb8]
add rax, 8
mov qword [rsp + 0x80], rax
mov ecx, 0xc0
call fcn.14006a264
mov rsi, rax
test rax, rax
je 0x14004d5b3
xor edx, edx
mov r8d, 0xc0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rsi
mov dword [rsi + 0x10], 0x454e494c
mov dword [rsi + 0x14], r12d
mov ecx, dword [rsp + 0x60]
add ecx, r12d
mov dword [rsi + 0x1c], ecx
mov eax, dword [rsp + 0x68]
mov dword [rsi + 0x18], eax
mov dword [rsi + 0x20], ebx
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x38], rax
mov dword [rsi + 0x68], ebx
mov dword [rsi + 0x48], 0x20100000
test r13, r13
je 0x14004d38c
mov rcx, qword [r13 + 0x18]
call fcn.14006bd20
mov qword [rsi + 0x58], rax
mov rcx, qword [r13 + 0x20]
call fcn.14006bd20
mov qword [rsi + 0x60], rax
mov rcx, qword [r13 + 0x30]
call fcn.14006bd20
mov qword [rsi + 0x40], rax
cmp qword [r13 + 0x18], rbx
je 0x14004d356
cmp qword [rsi + 0x58], rbx
je 0x14004d548
cmp qword [r13 + 0x20], rbx
je 0x14004d366
cmp qword [rsi + 0x60], rbx
je 0x14004d548
cmp qword [r13 + 0x30], rbx
je 0x14004d375
test rax, rax
je 0x14004d548
mov rdx, qword [rsp + 0x78]
test r13, r13
je 0x14004d423
mov eax, dword [r13 + 0x14]
jmp 0x14004d425
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
call fcn.14006bd20
mov qword [rsi + 0x58], rax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
call fcn.14006bd20
mov rcx, rax
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x40], rbx
mov rdx, qword [rsp + 0x78]
cmp qword [rdx], rbx
je 0x14004d3c8
cmp qword [rsi + 0x58], rbx
je 0x14004d3da
mov rax, qword [rsp + 0x80]
cmp qword [rax], rbx
je 0x14004d37a
test rcx, rcx
jne 0x14004d37a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004d704
test byte [rax + 0x1c], 4
je 0x14004d704
cmp byte [rax + 0x19], 2
jb 0x14004d704
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x79
jmp 0x14004d58c
mov eax, edi
mov dword [rsi + 0x6c], eax
mov dword [rsi + 0x70], ebx
mov dword [rsi + 0xa4], ebx
and qword [rsi + 0x50], 0
mov qword [rsi + 0xb0], rbx
mov rax, r13
neg rax
sbb ecx, ecx
and ecx, 3
add ecx, edi
mov dword [rsi + 0xb8], ecx
test r13, r13
je 0x14004d45b
mov eax, dword [r13 + 0x10]
jmp 0x14004d461
mov eax, dword [rdx + 0x1c]
or eax, 4
mov dword [rsi + 0x4c], eax
mov rax, qword [0x1400a7680]
lea rcx, [0x1400a7678]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rax], rsi
mov qword [0x1400a7680], rsi
mov rax, qword [rsp + 0x98]
add dword [rax], edi
test byte [rsi + 0x4c], 3
jne 0x14004d4a0
mov eax, dword [0x1400a7674]
cmp dword [rsi + 0x18], eax
mov eax, ebx
jne 0x14004d4a2
mov eax, edi
cmp eax, edi
jne 0x14004d4ac
add dword [0x1400a7670], edi
add r12d, edi
cmp r12d, dword [rsp + 0x50]
jb 0x14004d132
mov r13, qword [rsp + 0x58]
mov rcx, r13
call fcn.14006a328
test r14d, r14d
je 0x14004d4de
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test r14d, r14d
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140001b10
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004d704
test byte [rcx + 0x1c], 4
je 0x14004d704
cmp byte [rcx + 0x19], 2
jb 0x14004d704
mov edx, 0x76
mov r9d, eax
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.140004900
jmp 0x14004d704
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004d704
test byte [rax + 0x1c], 4
je 0x14004d704
cmp byte [rax + 0x19], 2
jb 0x14004d704
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x78
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9d, eax
mov rcx, qword [str._0_n_]
mov rcx, qword [rcx + 0x10]
call fcn.1400520bc
jmp 0x14004d704
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov rax, qword [str._0_n_]
cmp rax, r15
je 0x14004d704
test byte [rax + 0x1c], 4
je 0x14004d704
cmp byte [rax + 0x19], 2
jb 0x14004d704
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x77
jmp 0x14004d58c
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004d629
test byte [rcx + 0x1c], 4
je 0x14004d629
cmp byte [rcx + 0x19], 2
jb 0x14004d629
mov edx, 0x75
mov r9d, esi
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.1400045c8
mov eax, esi
and eax, 0x1fff0000
mov r13, qword [rsp + 0x58]
cmp eax, 0x70000
jne 0x14004d645
movzx r14d, si
jmp 0x14004d709
mov r14d, esi
jmp 0x14004d709
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14d, eax
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004d704
test byte [rcx + 0x1c], 4
je 0x14004d704
cmp byte [rcx + 0x19], 2
jb 0x14004d704
mov edx, 0x74
mov r9d, eax
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x14004d704
mov edi, 1
mov r14d, edi
cmp rcx, r15
je 0x14004d704
test byte [rcx + 0x1c], 4
je 0x14004d704
cmp byte [rcx + 0x19], 2
jb 0x14004d704
lea r9, [r13 + 0x40]
lea edx, [rdi + 0x70]
mov dword [rsp + 0x20], r8d
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.140004880
jmp 0x14004d704
mov edi, 1
mov r14d, edi
mov rcx, qword [str._0_n_]
cmp rcx, r15
je 0x14004d704
test byte [rcx + 0x1c], 4
je 0x14004d704
cmp byte [rcx + 0x19], 2
jb 0x14004d704
lea edx, [rdi + 0x79]
lea r8, [0x140094500]
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
mov r13, qword [rsp + 0x58]
test r13, r13
je 0x14004d772
mov esi, ebx
cmp dword [rsp + 0x50], ebx
jbe 0x14004d772
mov edx, esi
mov rax, qword [r13 + rdx*8]
test rax, rax
je 0x14004d76a
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov rax, qword [r13 + rdx*8]
mov qword [rax], rbx
mov rax, qword [r13 + rdx*8]
mov qword [rax + 8], rbx
mov rcx, qword [r13 + rdx*8]
test byte [rcx + 0x4c], 3
jne 0x14004d759
mov eax, dword [0x1400a7674]
cmp dword [rcx + 0x18], eax
mov eax, ebx
jne 0x14004d75b
mov eax, edi
cmp eax, edi
jne 0x14004d765
dec dword [0x1400a7670]
call fcn.14004dadc
add esi, edi
cmp esi, dword [rsp + 0x50]
jb 0x14004d716
mov rax, qword [rsp + 0x98]
mov dword [rax], ebx
jmp 0x14004d4bf