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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x3c], 0
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x88]
cmp eax, 1
jne 0x18028287b
mov dword [rsp + 0x24], 1
jmp 0x18028292c
mov dword [rsp + 0x24], 2
movzx eax, byte [rsp + 0x88]
mov ecx, 3
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x1802828a5
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
jge 0x1802828c6
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1802828c6
jmp 0x18028289a
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
jge 0x1802828dd
mov dword [rsp + 0x38], 1
jmp 0x1802828e5
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movzx ecx, byte [rsp + 0x88]
lea rax, [rax + rcx - 3]
mov qword [rsp + 0x30], rax
movzx eax, byte [rsp + 0x88]
and eax, 1
cdqe
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x70], rax
jae 0x180282969
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
lea rcx, [0x18031e4f0]
movzx eax, byte [rcx + rax]
and eax, 1
test eax, eax
je 0x180282969
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x18028292c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x70], rax
jae 0x1802829c3
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, 0x2d
jne 0x1802829a1
mov dword [rsp + 0x2c], 1
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1802829c3
mov rax, qword [rsp + 0x70]
movsx eax, byte [rax]
cmp eax, 0x2b
jne 0x1802829c3
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x70], rax
jae 0x180282a07
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movsx eax, byte [rcx + rax]
cmp eax, 0x30
jne 0x180282a07
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1802829cd
mov dword [rsp + 0x20], 0
jmp 0x180282a21
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x30]
jae 0x180282a72
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x30
jl 0x180282a72
cmp dword [rsp + 0x28], 0x39
jg 0x180282a72
mov rax, qword [rsp + 0x40]
imul rax, rax, 0xa
movsxd rcx, dword [rsp + 0x28]
lea rax, [rax + rcx - 0x30]
mov qword [rsp + 0x40], rax
jmp 0x180282a11
movabs rax, 0x7fffffffffffffff
cmp qword [rsp + 0x40], rax
jbe 0x180282a97
mov rax, qword [rsp + 0x78]
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x180282abd
cmp dword [rsp + 0x2c], 0
je 0x180282ab0
mov rax, qword [rsp + 0x40]
neg rax
mov rcx, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x180282abd
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
cmp dword [rsp + 0x28], 0
je 0x180282adb
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x30]
jb 0x180282b02
cmp dword [rsp + 0x20], 0
jne 0x180282aee
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x50], rax
je 0x180282b02
mov eax, dword [rsp + 0x24]
imul eax, eax, 0x13
cmp dword [rsp + 0x20], eax
jg 0x180282b02
cmp dword [rsp + 0x3c], 0
je 0x180282b0b
mov eax, 1
jmp 0x180282b6a
mov eax, dword [rsp + 0x24]
imul eax, eax, 0x13
cmp dword [rsp + 0x20], eax
jge 0x180282b1e
xor eax, eax
jmp 0x180282b6a
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
call fcn.180282b78
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jge 0x180282b3d
xor eax, eax
jmp 0x180282b6a
cmp dword [rsp + 0x28], 0
jle 0x180282b4d
mov eax, 1
jmp 0x180282b6a
cmp dword [rsp + 0x2c], 0
je 0x180282b5e
mov dword [rsp + 0x48], 0
jmp 0x180282b66
mov dword [rsp + 0x48], 2
mov eax, dword [rsp + 0x48]
add rsp, 0x68
ret