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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x288
mov edx, 1
lea rcx, [rsp + 0x2a0]
call fcn.14000f5a0
mov rdx, rax
lea rcx, [rsp + 0x250]
call fcn.140002e20
lea rcx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x2a8]
cmp qword [rax + 8], 0x40
jb 0x14003aebd
mov r8d, 0x2c
lea rdx, str.Microsoft_C_C_program_database_2.00_r_n
lea rcx, [rsp + 0x260]
call fcn.14000a070
lea rcx, [rsp + 0x1e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1f0]
lea rcx, [rsp + 0x1e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x200]
mov rdi, rax
mov rsi, qword [rsp + 0x2a8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 2
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x200]
call fcn.14000a440
test eax, eax
je 0x14003ae30
mov dword [rsp + 0x24], 2
jmp 0x14003aebd
mov r8d, 0x1f
lea rdx, str.Microsoft_C_C_MSF_7.00_r_n
lea rcx, [rsp + 0x270]
call fcn.14000a070
lea rcx, [rsp + 0x210]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x220]
lea rcx, [rsp + 0x210]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x230]
mov rdi, rax
mov rsi, qword [rsp + 0x2a8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r8d, 2
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x230]
call fcn.14000a440
test eax, eax
je 0x14003aebd
mov dword [rsp + 0x24], 4
cmp dword [rsp + 0x24], 2
je 0x14003aecf
cmp dword [rsp + 0x24], 4
jne 0x14003b90c
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x12c], 0
cmp dword [rsp + 0x24], 2
jne 0x14003af3f
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
add rax, 0x2c
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x138]
movzx eax, word [rax + 6]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x138]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
jmp 0x14003af9b
cmp dword [rsp + 0x24], 4
jne 0x14003af9b
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
add rax, 0x20
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xf0]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x2a8]
cmp rax, qword [rcx + 8]
jae 0x14003afbb
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x160], rax
jmp 0x14003afcf
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x2a8]
mov rcx, qword [rcx + 8]
lea rax, [rcx + rax - 1]
mov ecx, dword [rsp + 0x20]
xor edx, edx
div rcx
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
cmp dword [rsp + 0x3c], eax
jae 0x14003b019
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x98], eax
jmp 0x14003b027
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x2a8]
cmp rax, qword [rcx + 8]
jae 0x14003b052
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x168], rax
jmp 0x14003b066
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x168], rax
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx - 1]
xor edx, edx
div dword [rsp + 0x20]
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x128]
imul eax, dword [rsp + 0x24]
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x130]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx - 1]
xor edx, edx
div dword [rsp + 0x20]
mov dword [rsp + 0x110], eax
mov eax, dword [rsp + 0x28]
mov qword [rsp + 0x170], rax
mov ecx, dword [rsp + 0x28]
mov edx, ecx
mov rcx, qword [rsp + 0x1c0]
call fcn.140002cc0
mov rcx, qword [rsp + 0x170]
mov r8, rcx
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x120], 0
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x24], 2
jne 0x14003b13d
lea rax, [rsp + 0x120]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x5c], 0x3c
jmp 0x14003b164
mov qword [rsp + 0x178], 0x34
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
add rax, qword [rsp + 0x178]
mov qword [rsp + 0x140], rax
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
xor edx, edx
div dword [rsp + 0x24]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x58], 0
jmp 0x14003b1c5
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x148]
add rax, 4
mov qword [rsp + 0x148], rax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x58], eax
jae 0x14003b44e
mov rax, qword [rsp + 0x148]
mov eax, dword [rax]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x9c], eax
jb 0x14003b206
mov dword [rsp + 0x68], 0
jmp 0x14003b44e
mov eax, dword [rsp + 0x9c]
mov ecx, dword [rsp + 0x20]
imul rax, rcx
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
add rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
mov dword [rsp + 0xac], 0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xe8]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x114], eax
mov eax, dword [rsp + 0x114]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x118], eax
mov eax, dword [rsp + 0x118]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx - 1]
xor edx, edx
div dword [rsp + 0x20]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0xa0], eax
jae 0x14003b2b2
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0xa8], eax
jmp 0x14003b2c0
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x60], 0
jmp 0x14003b316
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0xac]
cmp dword [rsp + 0x60], eax
jae 0x14003b449
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x24], 4
jne 0x14003b346
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
jmp 0x14003b355
mov rax, qword [rsp + 0xf8]
movzx eax, word [rax]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x44], eax
jb 0x14003b371
mov dword [rsp + 0x68], 0
jmp 0x14003b44e
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
imul rax, rcx
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
add rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xe8]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x11c], eax
mov eax, dword [rsp + 0x11c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x20], eax
jae 0x14003b3f5
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0xb4], eax
jmp 0x14003b403
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov r8d, eax
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0xe8]
call fcn.140226460
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xe8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
jmp 0x14003b2f2
jmp 0x14003b1a7
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x84], 0
mov qword [rsp + 0x158], 0
cmp dword [rsp + 0x68], 0
je 0x14003b895
mov dword [rsp + 0x84], 1
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0x50], 4
cmp dword [rsp + 0x24], 2
jne 0x14003b4ab
mov dword [rsp + 0x50], 8
mov eax, dword [rsp + 0x28]
sub eax, 4
xor edx, edx
div dword [rsp + 0x50]
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0xe0], eax
jae 0x14003b4df
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0xbc], eax
jmp 0x14003b4ed
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0xc0], eax
mov dword [rsp + 0xc4], 4
mov eax, dword [rsp + 0xc0]
imul eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0xc4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x134], eax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x10
mov qword [rsp + 0x1a0], rax
mov ecx, dword [rsp + 0x34]
imul rcx, rcx, 0x10
mov rdx, rcx
mov rcx, qword [rsp + 0x2a0]
call fcn.140002cc0
mov rcx, qword [rsp + 0x1a0]
mov r8, rcx
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x6c], 0
jmp 0x14003b5b1
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x6c], eax
jae 0x14003b895
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x14003b5e1
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx - 1]
xor edx, edx
div dword [rsp + 0x20]
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
xor edx, edx
div dword [rsp + 0x24]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
cmp dword [rsp + 0xc8], eax
jae 0x14003b636
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0xd0], eax
jmp 0x14003b644
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
imul eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jae 0x14003b66b
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0xd4], eax
jmp 0x14003b67b
mov eax, dword [rsp + 0x70]
imul eax, dword [rsp + 0x20]
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov qword [rsp + 0x1a8], rax
mov ecx, dword [rsp + 0x4c]
mov edx, ecx
mov rcx, qword [rsp + 0x2a0]
call fcn.140002cc0
mov rcx, qword [rsp + 0x1a8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x150]
mov qword [rax], rcx
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x108]
mov qword [rcx + 8], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x74], 0
jmp 0x14003b724
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x74], eax
jae 0x14003b861
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x24], 4
jne 0x14003b756
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x48], eax
jmp 0x14003b76a
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rcx + rax]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x48], eax
jb 0x14003b789
mov dword [rsp + 0x84], 0
jmp 0x14003b895
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x20]
imul rax, rcx
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x2a8]
mov rax, qword [rax]
add rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x100]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x124]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x20], eax
jae 0x14003b80d
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0xdc], eax
jmp 0x14003b81b
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0xdc], eax
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov r8d, eax
mov rdx, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x100]
call fcn.140226460
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
jmp 0x14003b70a
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x108]
add rax, 0x10
mov qword [rsp + 0x108], rax
jmp 0x14003b5a7
cmp dword [rsp + 0x84], 0
je 0x14003b90c
mov edx, 0x20
mov rcx, qword [rsp + 0x2a0]
call fcn.140002cc0
mov r8d, 0x20
xor edx, edx
mov rcx, rax
call fcn.140226b00
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x158]
mov qword [rax], rcx
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 8], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x18], rax
lea rax, [rsp + 0x240]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x240]
call fcn.140002e80
mov rax, qword [rsp + 0x90]
add rsp, 0x288
pop rdi
pop rsi
ret