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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x40], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 3
mov dword [rsp + 0x44], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x44]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x18001fe42
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x50], 0
jne 0x18001fcf0
mov qword [rsp + 0xa0], 1
jmp 0x18001fcfc
mov qword [rsp + 0xa0], 0
cvtsi2sd xmm0, qword [rsp + 0xa0]
call fcn.18001c340
mov dword [rsp + 0x58], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x4c], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x54], eax
call fcn.180003490
movsx eax, al
shl eax, 2
mov dword [rsp + 0x50], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x58]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x18001fe42
xor eax, eax
cmp eax, 9
je 0x18001fe42
mov dword [rsp + 0x28], 0
jmp 0x18001fda3
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x5c], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x64], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x60], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x60]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x64]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x28], eax
jge 0x18001fe42
mov dword [rsp + 0x2c], 0
jmp 0x18001fe2d
cmp dword [rsp + 0x2c], 0x2c
jae 0x18001fe3d
xor al, al
jmp 0x180020242
jmp 0x18001fd99
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x78bd9c
lea rcx, [0x18012c3c0]
call fcn.180007f50
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x20]
call fcn.180020250
mov rcx, rax
call fcn.180026c60
mov byte [rsp + 0x21], al
movzx edx, byte [rsp + 0x21]
mov rcx, qword [rsp + 0xb0]
call fcn.18000d2e0
mov qword [rsp + 0xb8], rax
lea rdx, [0x18000d6d0]
mov rcx, qword [rsp + 0xb8]
call fcn.1800081c0
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x22]
call fcn.180020330
mov rcx, rax
call fcn.180026c40
mov rdx, rax
mov rcx, qword [rsp + 0xc0]
call fcn.180008640
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.18001c550
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0x138]
call fcn.180027470
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0xd8], rax
xor r9d, r9d
movzx r8d, word [rsp + 0x140]
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x130]
mov qword [rcx + 0x58], rax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x68], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 5
mov dword [rsp + 0x6c], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x6c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x180020180
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x58], 0
jne 0x180020016
mov qword [rsp + 0xa8], 1
jmp 0x180020022
mov qword [rsp + 0xa8], 0
cvtsi2sd xmm0, qword [rsp + 0xa8]
call fcn.18001c340
mov dword [rsp + 0x80], eax
movzx ecx, byte [0x18012ac4a]
movsx ecx, cl
mov dword [rsp + 0x74], ecx
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x7c], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x78], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x78]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x80]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x180020180
xor eax, eax
cmp eax, 1
je 0x180020180
mov dword [rsp + 0x30], 0
jmp 0x1800200cf
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x84], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x8c], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x88], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x88]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x30], eax
jge 0x180020180
mov dword [rsp + 0x34], 0
jmp 0x18002016b
cmp dword [rsp + 0x34], 0x56
jae 0x18002017b
xor al, al
jmp 0x180020242
jmp 0x1800200c5
mov dword [rsp + 0x38], 0
jmp 0x180020194
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, byte [0x18012ac4a]
movsx eax, al
mov dword [rsp + 0x90], eax
call fcn.1800034c0
movsx eax, al
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x98], eax
call fcn.180003490
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x94], eax
call fcn.180003480
movsx eax, al
mov ecx, dword [rsp + 0x94]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x98]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x18012ac49]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [0x18012ac4c]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.18001c340
cmp dword [rsp + 0x38], eax
jge 0x180020242
mov dword [rsp + 0x24], 0
jmp 0x180020230
cmp dword [rsp + 0x24], 0xc
jae 0x18002023d
mov al, 1
jmp 0x180020242
jmp 0x18002018a
add rsp, 0x120
pop rdi
ret