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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180191008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rbx, rcx
mov edi, ebp
cmp qword [rcx + 0x128], rdi
jne 0x18003c50c
cmp byte [rcx + 0x15], dil
jne 0x18003c50c
mov esi, 1
mov dword [rsp + 0x38], esi
nop word [rax + rax]
movzx eax, byte [rbx + 0x16]
mov edi, ebp
cmp al, sil
jb 0x18003c17f
cmp al, 5
jne 0x18003c1b7
cmp byte [rbx + 0x11], dil
jne 0x18003c197
mov rcx, qword [rbx + 0x48]
mov edx, esi
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x18003c1a1
cmp byte [rbx + 0x16], 5
je 0x18003c1b7
mov byte [rbx + 0x16], sil
cmp edi, 5
jne 0x18003c1b7
mov rcx, qword [rbx + 0xf0]
call qword [rbx + 0xe8]
test eax, eax
jne 0x18003c170
test edi, edi
jne 0x18003c5a8
cmp byte [rbx + 0x16], sil
ja 0x18003c1e0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18003bee0
mov edi, eax
test eax, eax
jne 0x18003c5a8
mov esi, dword [rsp + 0x38]
test esi, esi
je 0x18003c38c
cmp byte [rbx + 0x12], bpl
je 0x18003c200
mov rcx, rbx
mov edi, 0x308
call fcn.1800393b0
jmp 0x18003c5ba
movzx eax, byte [rbx + 0x16]
mov edi, ebp
cmp al, 4
jb 0x18003c20e
cmp al, 5
jne 0x18003c22f
cmp byte [rbx + 0x11], dil
jne 0x18003c229
mov rcx, qword [rbx + 0x48]
mov edx, 4
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x18003c22f
mov byte [rbx + 0x16], 4
jmp 0x18003c237
test edi, edi
jne 0x18003c5a8
mov rax, qword [rbx + 0x50]
cmp qword [rax], rbp
jne 0x18003c2e5
cmp byte [rbx + 9], 2
je 0x18003c2e5
mov rsi, qword [rbx]
lea r9, [rsp + 0x30]
mov rdx, qword [rbx + 0xe0]
xor r8d, r8d
mov rcx, rsi
call qword [rsi + 0x38]
mov edi, eax
test eax, eax
jne 0x18003c2e5
cmp dword [rsp + 0x30], ebp
je 0x18003c2e5
mov r8, qword [rbx + 0x50]
lea rax, [rsp + 0x38]
mov rdx, qword [rbx + 0xe0]
mov r9d, 0x802
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], ebp
call qword [rsi + 0x28]
mov edi, eax
test eax, eax
jne 0x18003c2e5
test byte [rsp + 0x38], 1
je 0x18003c2e5
lea rax, [0x18016efc4]
mov edi, 0xe
mov ecx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0xf12d
lea r8, str.cannot_open_file
lea rdx, str._s_at_line__d_of___.10s_
call fcn.18002d3c0
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x18003c2e5
mov rcx, rsi
call qword [rax + 8]
mov qword [rsi], rbp
mov rcx, qword [rbx + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x18003c331
cmp byte [rbx + 0xb], bpl
jne 0x18003c305
mov edx, 2
call qword [rax + 0x28]
mov edi, eax
test eax, eax
jne 0x18003c315
mov rcx, qword [rbx + 0x50]
lea rdx, [rbx + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov edi, eax
test edi, edi
jne 0x18003c366
mov edx, ebp
mov rcx, rbx
cmp byte [rbx + 0x10], dl
sete dl
call fcn.18003a140
mov edi, eax
mov byte [rbx + 0x15], bpl
jmp 0x18003c362
cmp byte [rbx + 8], bpl
jne 0x18003c362
mov rcx, qword [rbx + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x18003c35b
cmp byte [rbx + 0x11], bpl
jne 0x18003c351
mov edx, 1
call qword [rax + 0x40]
cmp byte [rbx + 0x16], 5
je 0x18003c35b
mov byte [rbx + 0x16], 1
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
test edi, edi
je 0x18003c38c
movzx eax, dil
cmp eax, 0xd
je 0x18003c378
cmp eax, 0xa
jne 0x18003c5a4
mov rcx, rbx
mov dword [rbx + 0x30], edi
mov byte [rbx + 0x15], 6
call fcn.180038a40
jmp 0x18003c5a4
cmp byte [rbx + 0x10], bpl
jne 0x18003c436
cmp byte [rbx + 0x1c], bpl
je 0x18003c436
mov rcx, qword [rbx + 0x48]
lea rdx, [rsp + 0x38]
mov r9d, 0x18
mov rax, qword [rcx]
lea r8d, [r9 - 8]
call qword [rax + 0x10]
mov edi, eax
test eax, eax
je 0x18003c3d2
cmp eax, 0x20a
jne 0x18003c5a8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [rbx + 0x88]
cmp rax, qword [rsp + 0x38]
jne 0x18003c3ee
mov rax, qword [rbx + 0x90]
cmp rax, qword [rsp + 0x40]
je 0x18003c436
inc dword [rbx + 0x84]
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x18003c410
nop dword [rax]
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x18003c400
mov rcx, qword [rbx + 0x120]
xor edx, edx
call fcn.180037060
cmp byte [rbx + 0x1b], bpl
je 0x18003c436
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
mov edi, ebp
cmp byte [rbx + 0x10], dil
jne 0x18003c50c
mov rax, qword [rbx]
lea r9, [rsp + 0x30]
mov rdx, qword [rbx + 0x130]
xor r8d, r8d
mov rcx, rax
call qword [rax + 0x38]
mov edi, eax
test eax, eax
jne 0x18003c50c
cmp dword [rsp + 0x30], ebp
je 0x18003c502
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x18003c489
cmp word [rax + 0x3c], bp
jl 0x18003c489
mov eax, dword [rax + 0x5c]
test eax, eax
jne 0x18003c4c2
jmp 0x18003c48b
mov eax, ebp
mov rcx, qword [rbx + 0x48]
mov r8, qword [rcx]
test r8, r8
je 0x18003c4c2
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rbp
call qword [r8 + 0x30]
mov edi, eax
test eax, eax
jne 0x18003c50c
mov rcx, qword [rbx + 0xc8]
mov rax, qword [rsp + 0x38]
dec rax
add rax, rcx
cqo
idiv rcx
cmp eax, dword [rbx + 0xbc]
jbe 0x18003c4d0
mov dword [rbx + 0xbc], eax
test eax, eax
jne 0x18003c4f4
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x18003c4f0
mov rdx, qword [rbx + 0x130]
xor r8d, r8d
call rax
mov edi, eax
jmp 0x18003c50c
mov edi, ebp
jmp 0x18003c50c
xor edx, edx
mov rcx, rbx
call fcn.18003e260
mov edi, eax
jmp 0x18003c50c
cmp byte [rbx + 9], 5
jne 0x18003c50c
mov byte [rbx + 9], bpl
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x18003c586
mov dword [rsp + 0x38], ebp
call fcn.180040e70
mov rcx, qword [rbx + 0x128]
lea rdx, [rsp + 0x38]
call fcn.180040e10
mov edi, eax
test eax, eax
jne 0x18003c53e
cmp dword [rsp + 0x38], ebp
je 0x18003c586
inc dword [rbx + 0x84]
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x18003c560
nop dword [rax]
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x18003c550
mov rcx, qword [rbx + 0x120]
xor edx, edx
call fcn.180037060
cmp byte [rbx + 0x1b], bpl
je 0x18003c586
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x90]
cmp byte [rbx + 0x10], bpl
jne 0x18003c5a4
cmp byte [rbx + 0x15], bpl
jne 0x18003c5a4
test edi, edi
jne 0x18003c5a8
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.18003a800
mov edi, eax
test edi, edi
je 0x18003c5b2
mov rcx, rbx
call fcn.1800393b0
jmp 0x18003c5ba
mov byte [rbx + 0x15], 1
mov byte [rbx + 0x1c], 1
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18013b850
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret