Function at 0x1400a5438
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rax
mov rsi, rcx
mov rdi, qword [rsi + 0x10]
mov rbx, rdi
cmp word [rbx], 0x5a4d
jne 0x1400a5483
mov eax, dword [rbx + 0x3c]
cdqe
xor r14d, r14d
cmp word [rdi + rax + 0x18], 0x20b
sete r14b
jmp 0x1400a5486
xor r14d, r14d
call fcn.1400010e6
mov r15, rax
mov qword [rbp - 0x68], r15
mov byte [r15], r14b
xor r14d, r14d
xor r12d, r12d
movzx eax, byte [r15]
test eax, eax
je 0x1400a54ae
mov edx, dword [rbx + 0x3c]
movsxd r12, edx
add r12, rdi
jmp 0x1400a54b7
mov edx, dword [rbx + 0x3c]
movsxd r14, edx
add r14, rdi
test eax, eax
jne 0x1400a54c0
mov eax, dword [r14]
jmp 0x1400a54c4
mov eax, dword [r12]
cmp eax, 0x4550
jne 0x1400a5b27
call fcn.14019ee4c
cmp eax, 8
je 0x1400a54e0
mov ecx, 0x40
jmp 0x1400a54e5
mov ecx, 0x60
call fcn.1400a5c64
mov rdi, rax
call fcn.14019ee4c
cmp eax, 8
je 0x1400a54fe
mov ecx, 0x10
jmp 0x1400a5503
mov ecx, 0x18
movsxd rcx, ecx
call fcn.14011f4f8
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rsi
mov rbx, qword [rsi + 8]
lea rcx, [0x14032db10]
call fcn.1400a455c
test rax, rax
jne 0x1400a5534
lea rcx, [0x14032db10]
call fcn.1400a4474
test rax, rax
jne 0x1400a553e
xor r13d, r13d
jmp 0x1400a5550
mov rcx, rax
lea rdx, [0x140321470]
call fcn.1400a47e0
mov r13, rax
test r13, r13
je 0x1400a586c
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdi
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r13
mov rcx, rbx
lea rdx, [0x140317008]
xor r8d, r8d
xor r9d, r9d
call fcn.140077e7c
test eax, eax
je 0x1400a586c
test rdi, 0xffffffffffff0000
je 0x1400a55d2
mov rcx, rdi
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa8]
call fcn.1400045b0
mov rcx, qword [rbp - 0x78]
call fcn.14006a4d1
lea rcx, [rbp - 0xa8]
call fcn.140004600
mov r15, qword [rbp - 0x68]
cmp byte [r15], 0
jne 0x1400a5a41
mov eax, dword [r14 + 0x34]
mov edi, eax
mov rax, qword [rbp - 0x40]
mov rbx, qword [rax]
mov r13, rax
call fcn.14019ee4c
cmp eax, 8
je 0x1400a5a4b
mov ecx, 4
movsxd rcx, ecx
mov r13, qword [rcx + r13]
mov rcx, rbx
mov rdx, rdi
call fcn.1400a5ebc
test rbx, rbx
je 0x1400a5a13
test r13, r13
je 0x1400a5a13
movzx ecx, byte [r15]
test ecx, ecx
jne 0x1400a5a55
mov r8d, dword [r14 + 0x50]
test ecx, ecx
jne 0x1400a5a5f
mov eax, dword [r14 + 0x54]
mov dword [rbp - 0x44], eax
test ecx, ecx
jne 0x1400a5a69
movzx edx, word [r14 + 6]
movzx r10d, dx
mov dword [rbp - 0x48], r10d
test ecx, ecx
jne 0x1400a5a74
mov r11d, dword [r14 + 0x28]
mov dword [rbp - 0x4c], r11d
mov dword [rsp + 0x20], 0x40
mov rcx, rbx
mov qword [rbp - 0x78], rcx
mov rdx, rdi
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x6c], r8d
mov r9d, 0x3000
mov dword [rbp - 0x70], r9d
lea rcx, [rbp - 0xa8]
call fcn.1400045b0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8d, dword [rbp - 0x6c]
mov r9d, dword [rbp - 0x70]
call fcn.14006a4d7
mov rsi, rax
lea rcx, [rbp - 0xa8]
call fcn.140004600
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], r8
mov rdi, qword [rbp + 0x10]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
mov rdx, rsi
mov r9d, dword [rbp - 0x44]
call fcn.1400a5d8c
test eax, eax
je 0x1400a59e5
mov r15, qword [rbp - 0x68]
cmp byte [r15], 0
jne 0x1400a5a7e
add r14, 0xf8
xor r12d, r12d
cmp dword [rbp - 0x48], 0
jle 0x1400a5746
lea r8, [rbp - 0x58]
mov qword [rsp + 0x20], r8
mov r8, qword [rdi + 0x10]
mov edx, dword [r14 + 0x14]
add r8, rdx
mov edx, dword [r14 + 0xc]
add rdx, rsi
mov r9d, dword [r14 + 0x10]
mov rcx, rbx
call fcn.1400a5d8c
test eax, eax
je 0x1400a59b7
add r14, 0x28
inc r12d
mov ecx, dword [rbp - 0x48]
cmp r12d, ecx
mov dword [rbp - 0x48], ecx
jl 0x1400a5705
cmp byte [r15], 0
jne 0x1400a5a8b
mov ecx, 0x2cc
movsxd rcx, ecx
call fcn.14011f4f8
mov rdi, rax
cmp byte [r15], 0
je 0x1400a5a95
mov dword [rdi + 0x30], 0x10001b
cmp byte [r15], 0
jne 0x1400a5aa0
mov rcx, r13
mov rdx, rdi
call fcn.1400a5d18
test eax, eax
je 0x1400a5989
mov r14d, dword [rdi + 0xa4]
mov r12, qword [rdi + 0x88]
mov rcx, rsi
call fcn.1400b73dc
cmp byte [r15], 0
jne 0x1400a5ab8
add r14d, 8
movsxd rdx, r14d
lea r9, [rbp - 0x58]
mov qword [rsp + 0x20], r9
mov r9d, dword [rax + 8]
mov rcx, rbx
mov r8, rax
call fcn.1400a5e14
test eax, eax
je 0x1400a58c8
cmp byte [r15], 0
je 0x1400a5ac2
mov r14d, dword [rbp - 0x4c]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0x80], rcx
cmp byte [r15], 0
jne 0x1400a5ad8
mov rcx, r13
mov rdx, rdi
call fcn.1400a4644
test eax, eax
je 0x1400a589a
mov rcx, r13
mov qword [rbp - 0x80], rcx
lea rcx, [rbp - 0xa8]
call fcn.1400045b0
mov rcx, qword [rbp - 0x80]
call fcn.14006a4dd
lea rcx, [rbp - 0xa8]
call fcn.140004600
mov qword [rbp - 0x60], rbx
jmp 0x1400a5b06
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x1403221b0]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x140321f30]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x1403221b0]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rsi, [0x14032f640]
lea rcx, [0x1402a6270]
mov edx, 0x37
call fcn.140004260
mov rcx, rax
xor r8d, r8d
mov eax, r8d
lea rdx, [0x14032f690]
movzx r9d, word [rdx + rax*2 + 0xc]
mov eax, r8d
cdq
idiv dword [rsi + 8]
cmp edx, dword [rsi + 8]
jae 0x1400a5956
mov eax, r8d
cdq
idiv dword [rsi + 8]
mov eax, edx
movzx eax, word [rsi + rax*2 + 0xc]
xor eax, r9d
mov edx, r8d
mov word [rcx + rdx*2 + 0x10], ax
inc r8d
cmp r8d, 0x37
jl 0x1400a58e6
call fcn.1400ad02c
mov rsi, rax
lea rcx, [0x14025b748]
call fcn.140004140
mov rdi, rax
mov dword [rdi + 0x48], 0x80131500
lea rcx, [rdi + 8]
mov rdx, rsi
call fcn.140004450
mov rcx, rdi
call fcn.140004c20
call fcn.1401406bc
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x140321fe0]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x140322050]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x140322268]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x140322200]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov dword [rsi + 0x48], 0x80131500
lea rcx, [rsi + 8]
lea rdx, [0x140321f78]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
mov rdi, qword [r12 + 0x30]
jmp 0x1400a55e6
mov ecx, 8
jmp 0x1400a5603
mov r8d, dword [r12 + 0x50]
jmp 0x1400a5637
mov eax, dword [r12 + 0x54]
jmp 0x1400a5643
movzx edx, word [r12 + 6]
jmp 0x1400a5653
mov r11d, dword [r12 + 0x28]
jmp 0x1400a5667
lea r14, [r12 + 0x108]
jmp 0x1400a56fc
mov ecx, 0x4d0
jmp 0x1400a5755
mov dword [rdi], 0x10002
jmp 0x1400a5771
mov rcx, r13
mov rdx, rdi
call fcn.1400a5cbc
test eax, eax
je 0x1400a595b
jmp 0x1400a578e
lea rdx, [r12 + 0x10]
jmp 0x1400a57b5
mov r14d, dword [rbp - 0x4c]
mov ecx, r14d
add rcx, rsi
mov qword [rdi + 0xb0], rcx
jmp 0x1400a57f0
mov rcx, r13
mov rdx, rdi
call fcn.1400a46a8
test eax, eax
je 0x1400a583e
jmp 0x1400a580d
mov rcx, rsp
call fcn.1400a5bb4
nop
mov rax, qword [rbp - 0x60]
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14025b748]
call fcn.140004140
mov rsi, rax
mov rcx, rsi
call fcn.1400b31b4
lea rcx, [rsi + 8]
lea rdx, [0x140323a10]
call fcn.140004450
mov rcx, rsi
call fcn.140004c20
xor eax, eax
jmp 0x1400a5b13