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

Disassembly:
mov dword [rsp + 0x20], r9d
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14035d4f0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x88]
call fcn.1400e2be0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0xffffffff
mov dword [rsp + 0x50], 0xffffffff
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 0
jmp 0x1401c5ed5
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x80]
call fcn.1400d2c20
cmp dword [rsp + 0x34], eax
jge 0x1401c5ff9
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x20], eax
jg 0x1401c5ff9
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x80]
call fcn.140147d70
mov word [rsp + 0x24], ax
movzx eax, word [rsp + 0x24]
movzx ecx, word [rsp + 0x90]
cmp eax, ecx
jne 0x1401c5f67
cmp dword [rsp + 0x20], 0
jne 0x1401c5f42
mov eax, 4
imul rax, rax, 0
cmp dword [rsp + rax + 0x48], 0
jne 0x1401c5f40
jmp 0x1401c5ff9
jmp 0x1401c5f60
movsxd rax, dword [rsp + 0x20]
cmp dword [rsp + rax*4 + 0x48], 0xffffffff
je 0x1401c5f53
jmp 0x1401c5ff9
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x48], 0
jmp 0x1401c5ecb
movsxd rax, dword [rsp + 0x20]
cmp dword [rsp + rax*4 + 0x48], 0xffffffff
jne 0x1401c5f78
jmp 0x1401c5ff9
movzx eax, word [rsp + 0x24]
cmp eax, 0x30
jl 0x1401c5f9a
movzx eax, word [rsp + 0x24]
cmp eax, 0x39
jg 0x1401c5f9a
movzx eax, word [rsp + 0x24]
sub eax, 0x30
mov dword [rsp + 0x40], eax
jmp 0x1401c5fa2
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x1401c5fb3
jmp 0x1401c5ff9
movsxd rax, dword [rsp + 0x20]
imul eax, dword [rsp + rax*4 + 0x58], 0xa
add eax, dword [rsp + 0x3c]
movsxd rcx, dword [rsp + 0x20]
mov dword [rsp + rcx*4 + 0x58], eax
movsxd rax, dword [rsp + 0x20]
mov eax, dword [rsp + rax*4 + 0x48]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov dword [rsp + rcx*4 + 0x48], eax
movsxd rax, dword [rsp + 0x20]
cmp dword [rsp + rax*4 + 0x48], 2
jl 0x1401c5ff4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x1401c5ecb
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0xffffffff
mov eax, 4
imul rax, rax, 0
cmp dword [rsp + rax + 0x48], 0
jne 0x1401c6026
jmp 0x1401c6165
mov eax, 4
imul rax, rax, 0
cmp dword [rsp + rax + 0x58], 0x17
jle 0x1401c606a
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x58]
cdq
mov ecx, 0xa
idiv ecx
imul eax, eax, 0x36ee80
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
jmp 0x1401c6165
mov eax, 4
imul rax, rax, 0
imul eax, dword [rsp + rax + 0x58], 0x36ee80
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 0
mov eax, 4
imul rax, rax, 1
cmp dword [rsp + rax + 0x48], 2
jne 0x1401c60b8
mov eax, 4
imul rax, rax, 1
cmp dword [rsp + rax + 0x58], 0x3b
jle 0x1401c60bd
jmp 0x1401c6165
mov eax, 4
imul rax, rax, 1
imul eax, dword [rsp + rax + 0x58], 0xea60
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 1
mov eax, dword [rsp + rax + 0x48]
mov ecx, dword [rsp + 0x28]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 1
mov eax, 4
imul rax, rax, 2
cmp dword [rsp + rax + 0x48], 2
jne 0x1401c611b
mov eax, 4
imul rax, rax, 2
cmp dword [rsp + rax + 0x58], 0x3b
jle 0x1401c611d
jmp 0x1401c6165
mov eax, 4
imul rax, rax, 2
imul eax, dword [rsp + rax + 0x58], 0x3e8
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 2
mov eax, dword [rsp + rax + 0x48]
mov ecx, dword [rsp + 0x28]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 2
xor eax, eax
test eax, eax
jne 0x1401c6011
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x30], eax
jge 0x1401c6187
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
call fcn.1401adbb0
xor eax, eax
jmp 0x1401c61a6
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x88]
call fcn.140147e20
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140236770
add rsp, 0x78
ret