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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rcx + 0x10]
mov r13d, r9d
xor ebp, ebp
mov dword [rsp + 0x34], r9d
cmp r8d, r13d
mov dword [rsp + 0x30], r8d
mov r14d, r8d
mov dword [rsp + 0x5c], ebp
lea r9, [rsp + 0x5c]
mov rsi, rdx
cmove r9, rbp
lea r8d, [rbp + 3]
mov rbx, rcx
call fcn.18003bc60
mov rcx, rsi
mov r15d, eax
call fcn.180039bb0
movzx ecx, byte [rbx + 0x1f]
inc dword [rbx + 0x70]
mov byte [rsp + 0x58], al
test cl, cl
jne 0x18003ca08
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x18003ca15
dec cl
movzx eax, cl
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0x24]
mov rdx, qword [rsi + 0x10]
mov r8d, r12d
mov rcx, rbx
call fcn.18003f120
cmp r15d, 5
jne 0x18003cd4c
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r13, qword [rsi + 0x20]
call fcn.180039a20
mov rsi, qword [rdi + 0x30]
mov qword [rsp + 0x50], rax
mov edx, dword [rsi + 0x78]
mov dword [rsp + 0x38], edx
lea ecx, [rdx + 1]
mov dword [rsi + 0x78], ecx
lea ecx, [rdx - 1]
test edx, ecx
jne 0x18003ca83
mov rcx, qword [rsi]
lea eax, [rdx*2 + 1]
mov rdx, qword [rsi + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005c70
mov edx, dword [rsp + 0x38]
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x18003ca99
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov eax, edx
mov esi, ebp
not eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x34], r14d
je 0x18003cadd
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x18003caba
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x18003cac6
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0x24]
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, 0x55
mov rcx, rdi
call fcn.180025cb0
mov r15d, ebp
cmp dword [r13], ebp
jle 0x18003ccab
mov rax, rbp
mov qword [rsp + 0x48], rax
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, qword [rdx + rax]
call fcn.18003ef80
mov r14d, eax
test esi, esi
je 0x18003cba1
mov rcx, qword [r13 + 8]
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + rcx]
nop dword [rax]
movzx edx, byte [r8]
lea ecx, [rdx + 0x63]
cmp cl, 1
ja 0x18003cb42
mov r8, qword [r8 + 0x10]
jmp 0x18003cb30
cmp dl, 0x9f
jne 0x18003cb4c
movzx edx, byte [r8 + 0x36]
cmp dl, 0x61
je 0x18003cba1
cmp dl, 0x83
jbe 0x18003cb8a
cmp dl, 0x86
jbe 0x18003cba1
cmp dl, 0x9a
jne 0x18003cb8a
test dword [r8 + 4], 0x100000
jne 0x18003cb8a
movsx rax, word [r8 + 0x30]
test ax, ax
js 0x18003cba1
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x40]
add rdx, rdx
mov rcx, qword [rax + 8]
cmp byte [rcx + rdx*8 + 0x28], bpl
jne 0x18003cba1
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, esi
mov edx, 0x55
mov rcx, rdi
call fcn.180025cb0
mov eax, dword [r13]
dec eax
cmp r15d, eax
jl 0x18003cc08
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x30]
jne 0x18003cc08
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov r14d, dword [rsp + 0x30]
mov edx, 0x4e
mov r9d, r14d
mov rcx, rdi
call fcn.180025cb0
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180026290
mov r8, qword [rdi + 8]
test r8, r8
je 0x18003cc56
movsxd rax, dword [rdi + 0x3c]
movzx edx, byte [rsp + 0x58]
or dl, 0x10
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
jmp 0x18003cc56
mov r9d, dword [rsp + 0x3c]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.180025cb0
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180026290
mov rdx, qword [rdi + 8]
mov r14d, dword [rsp + 0x30]
test rdx, rdx
je 0x18003cc56
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsp + 0x58]
mov byte [rdx + rcx*8 - 0x15], al
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x18003cc90
movzx r8d, byte [rbx + 0x1f]
cmp r8b, 8
jae 0x18003cc90
mov ecx, ebp
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edx
je 0x18003cc8c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003cc72
mov dword [rbx + r8*4 + 0x24], edx
inc byte [rbx + 0x1f]
jmp 0x18003cc90
mov byte [rax + 6], 1
mov rax, qword [rsp + 0x48]
inc r15d
add rax, 0x28
mov qword [rsp + 0x48], rax
cmp r15d, dword [r13]
jl 0x18003cb00
test esi, esi
je 0x18003ccde
mov r9d, dword [rsp + 0x34]
mov r8d, esi
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180025cb0
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180025cb0
movsxd rax, dword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
test eax, eax
js 0x18003cd01
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18003cd01
mov rcx, rax
mov eax, dword [rdi + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rdi + 0x3c]
dec eax
mov dword [rdx + 0x64], eax
test esi, esi
je 0x18003cf3c
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x18003cf3c
mov ecx, ebp
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], esi
je 0x18003cd43
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003cd27
mov dword [rbx + rdx*4 + 0x24], esi
inc byte [rbx + 0x1f]
jmp 0x18003cf3c
mov byte [rax + 6], 1
jmp 0x18003cf3c
mov rcx, qword [rsi + 0x10]
movzx edx, byte [rcx]
lea eax, [rdx + 0x63]
cmp al, 1
ja 0x18003cd60
mov rcx, qword [rcx + 0x10]
jmp 0x18003cd50
cmp dl, 0x9f
jne 0x18003cd69
movzx edx, byte [rcx + 0x36]
cmp dl, 0x61
je 0x18003ce39
cmp dl, 0x83
jbe 0x18003cdb6
cmp dl, 0x86
jbe 0x18003ce39
cmp dl, 0x9a
jne 0x18003cdb6
test dword [rcx + 4], 0x100000
jne 0x18003cdb6
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x18003ce39
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x40]
add rdx, rdx
mov rcx, qword [rax + 8]
cmp byte [rcx + rdx*8 + 0x28], bpl
jne 0x18003ce39
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rdi
cmp r13d, r14d
jne 0x18003cdd4
mov r9d, r13d
mov edx, 0x4c
call fcn.180025cb0
jmp 0x18003ce39
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180025cb0
mov r9d, dword [rsp + 0x30]
mov edx, 0x6c
mov r8d, dword [rsi + 0x2c]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x20], ebp
call fcn.180025cb0
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r13d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180025cb0
mov edx, dword [rdi + 0x3c]
cmp edx, r14d
jbe 0x18003ce2a
mov rax, qword [rdi + 8]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov r14d, dword [rsp + 0x30]
mov dword [rax + 0x64], ecx
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rdi
cmp r15d, 1
jne 0x18003ce72
mov r9d, r14d
lea edx, [r15 + 0x25]
call fcn.180025cb0
mov r8d, dword [rsi + 0x2c]
lea edx, [r15 + 0x45]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.180025cb0
jmp 0x18003cf3c
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180025cb0
mov r9d, 1
lea r8, [rsp + 0x58]
mov edx, eax
mov rcx, rdi
call fcn.180026290
mov rcx, rdi
mov r8d, dword [rsi + 0x2c]
mov dword [rsp + 0x20], r12d
cmp dword [rsp + 0x5c], ebp
jne 0x18003cecb
mov r9d, r14d
mov edx, 0x44
call fcn.180025cb0
mov r9d, 0xfffffff2
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180026290
jmp 0x18003cf3c
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180025cb0
mov r9d, 0xfffffff2
mov esi, eax
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180026290
mov r8d, dword [rsp + 0x5c]
mov r9d, r13d
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180025cb0
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180025cb0
mov edx, dword [rdi + 0x3c]
cmp edx, esi
jbe 0x18003cf32
mov rax, qword [rdi + 8]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r12d, r12d
je 0x18003cf70
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x18003cf70
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r12d
je 0x18003cf6c
inc ebp
add rax, 0x14
cmp ebp, 0xa
jl 0x18003cf51
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x18003cf70
mov byte [rax + 6], 1
mov rcx, rbx
call fcn.18003d6c0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800ccd60
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret