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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14009562e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x78], rax
jae 0x14009562e
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x40], eax
jne 0x1400954f7
mov dword [rsp + 0x28], 1
jmp 0x1400954ff
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14009557e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x48], eax
jne 0x140095560
mov dword [rsp + 0x2c], 1
jmp 0x140095568
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14009562e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov dword [rcx], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
dec rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rcx, qword [rsp + 0x88]
mov qword [rax], rcx
mov dword [rsp + 0x4c], 0xffffffff
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xb8], eax
je 0x1400955ef
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x34], eax
jmp 0x140095618
mov dword [rsp + 0x50], 0xffffffff
cmp dword [rsp + 0x50], 0
jne 0x140095608
mov dword [rsp + 0x30], 1
jmp 0x140095610
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
jmp 0x14009576e
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x80], 0
je 0x140095679
mov dword [rsp + 0x58], 0xffffffff
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0x58], eax
jne 0x14009565f
mov dword [rsp + 0x38], 1
jmp 0x140095667
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x14009568f
mov dword [rsp + 0x5c], 0xffffffff
mov eax, dword [rsp + 0x5c]
jmp 0x14009576e
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
jne 0x140095701
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x23], al
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x90], rax
movzx eax, byte [rsp + 0x23]
mov rdx, qword [rsp + 0x90]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ungetc]
cmp eax, 0xffffffff
je 0x1400956e5
mov dword [rsp + 0x3c], 1
jmp 0x1400956ed
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x140095701
mov eax, dword [rsp + 0xb8]
jmp 0x14009576e
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
add rax, 0x70
cmp qword [rsp + 0x98], rax
je 0x140095762
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0xb0]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x70], cl
mov rcx, qword [rsp + 0xb0]
call fcn.140096ce0
mov eax, dword [rsp + 0xb8]
jmp 0x14009576e
mov dword [rsp + 0x60], 0xffffffff
mov eax, dword [rsp + 0x60]
add rsp, 0xa8
ret