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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov eax, dword [rsp + 0xd8]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
je 0x18001197e
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x34], 0x10
cmp dword [rsp + 0x34], 0
jle 0x180011804
mov eax, dword [rsp + 0x34]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x1800117ef
mov dword [rsp + 0x40], 4
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x1800117bc
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x34]
sub eax, 2
mov dword [rsp + 0x34], eax
jmp 0x1800117bc
mov dword [rsp + 0x24], 3
mov dword [rsp + 0x28], 0xa
mov eax, dword [rsp + 0x28]
test eax, eax
jle 0x180011863
mov eax, dword [rsp + 0x28]
cmp eax, 1
jle 0x18001183f
mov eax, dword [rsp + 0x24]
and eax, 0x107d
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
sub eax, 2
mov dword [rsp + 0x28], eax
jmp 0x180011814
mov eax, dword [rsp + 0x24]
cmp eax, 0x80c
jle 0x180011857
mov eax, dword [rsp + 0x24]
and eax, 0x85
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
jmp 0x180011814
mov dword [rsp + 0x3c], 5
mov dword [rsp + 0x30], 5
mov eax, dword [rsp + 0x30]
test eax, eax
jle 0x1800118c2
mov eax, dword [rsp + 0x30]
cmp eax, 1
jle 0x18001189e
mov eax, dword [rsp + 0x3c]
and eax, 0x152b
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
sub eax, 2
mov dword [rsp + 0x30], eax
jmp 0x180011873
mov eax, dword [rsp + 0x3c]
cmp eax, 0x807
jle 0x1800118b6
mov eax, dword [rsp + 0x3c]
and eax, 0x80
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
jmp 0x180011873
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0xe
cmp dword [rsp + 0x44], 0
jle 0x18001191a
mov eax, dword [rsp + 0x44]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011906
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x44]
sub eax, 2
mov dword [rsp + 0x44], eax
jmp 0x1800118d2
mov dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x44]
dec eax
mov dword [rsp + 0x44], eax
jmp 0x1800118d2
mov dword [rsp + 0x2c], 4
mov dword [rsp + 0x38], 3
mov eax, dword [rsp + 0x38]
test eax, eax
jle 0x180011977
mov eax, dword [rsp + 0x38]
cmp eax, 1
jle 0x180011955
mov eax, dword [rsp + 0x2c]
and eax, 0x1494
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
sub eax, 2
mov dword [rsp + 0x38], eax
jmp 0x18001192a
mov eax, dword [rsp + 0x2c]
cmp eax, 0x805
jle 0x18001196b
mov eax, dword [rsp + 0x2c]
and eax, 0x7e
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
jmp 0x18001192a
xor eax, eax
jmp 0x180011fdd
mov dword [rsp + 0x20], 0
jmp 0x180011993
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x20], eax
jge 0x180011dcf
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xd0]
movzx ecx, byte [rcx + rax]
call fcn.180010f40
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x68], 6
mov dword [rsp + 0x54], 7
mov eax, dword [rsp + 0x54]
test eax, eax
jle 0x180011a1d
mov eax, dword [rsp + 0x54]
cmp eax, 1
jle 0x1800119f9
mov eax, dword [rsp + 0x68]
and eax, 0x169a
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
sub eax, 2
mov dword [rsp + 0x54], eax
jmp 0x1800119ce
mov eax, dword [rsp + 0x68]
cmp eax, 0x809
jle 0x180011a11
mov eax, dword [rsp + 0x68]
and eax, 0x82
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
jmp 0x1800119ce
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x70], 3
mov eax, dword [rsp + 0x70]
test eax, eax
jle 0x180011a7a
mov eax, dword [rsp + 0x70]
cmp eax, 1
jle 0x180011a58
mov eax, dword [rsp + 0x64]
and eax, 0x1907
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x70]
sub eax, 2
mov dword [rsp + 0x70], eax
jmp 0x180011a2d
mov eax, dword [rsp + 0x64]
cmp eax, 0x805
jle 0x180011a6e
mov eax, dword [rsp + 0x64]
and eax, 0x7e
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x70]
dec eax
mov dword [rsp + 0x70], eax
jmp 0x180011a2d
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0xd
cmp dword [rsp + 0x58], 0
jle 0x180011ad2
mov eax, dword [rsp + 0x58]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011abd
mov dword [rsp + 0x60], 4
mov eax, dword [rsp + 0x58]
dec eax
mov dword [rsp + 0x58], eax
jmp 0x180011a8a
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x58]
sub eax, 2
mov dword [rsp + 0x58], eax
jmp 0x180011a8a
mov dword [rsp + 0x5c], 8
mov dword [rsp + 0x6c], 0x11
cmp dword [rsp + 0x6c], 0
jle 0x180011b2a
mov eax, dword [rsp + 0x6c]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011b15
mov dword [rsp + 0x5c], 4
mov eax, dword [rsp + 0x6c]
dec eax
mov dword [rsp + 0x6c], eax
jmp 0x180011ae2
mov dword [rsp + 0x5c], 4
mov eax, dword [rsp + 0x6c]
sub eax, 2
mov dword [rsp + 0x6c], eax
jmp 0x180011ae2
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rcx, qword [rsp + 0xd0]
movzx ecx, byte [rcx + rax]
call fcn.180010f40
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x50], 0
jl 0x180011b67
cmp dword [rsp + 0x4c], 0
jl 0x180011b67
cmp dword [rsp + 0x50], 0xf
jg 0x180011b67
cmp dword [rsp + 0x4c], 0xf
jle 0x180011d9b
mov dword [rsp + 0x84], 7
mov dword [rsp + 0x74], 4
mov eax, dword [rsp + 0x74]
test eax, eax
jle 0x180011bd6
mov eax, dword [rsp + 0x74]
cmp eax, 1
jle 0x180011bab
mov eax, dword [rsp + 0x84]
and eax, 0x21f3
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x74]
sub eax, 2
mov dword [rsp + 0x74], eax
jmp 0x180011b7a
mov eax, dword [rsp + 0x84]
cmp eax, 0x806
jle 0x180011bca
mov eax, dword [rsp + 0x84]
and eax, 0x7f
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x74]
dec eax
mov dword [rsp + 0x74], eax
jmp 0x180011b7a
mov dword [rsp + 0x8c], 3
mov dword [rsp + 0x90], 0xc
cmp dword [rsp + 0x90], 0
jle 0x180011c4d
mov eax, dword [rsp + 0x90]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011c2f
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x90]
sub eax, 2
mov dword [rsp + 0x90], eax
jmp 0x180011bec
mov dword [rsp + 0x8c], 4
mov eax, dword [rsp + 0x90]
sub eax, 2
mov dword [rsp + 0x90], eax
jmp 0x180011bec
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x94], 3
mov eax, dword [rsp + 0x94]
test eax, eax
jle 0x180011cd1
mov eax, dword [rsp + 0x94]
cmp eax, 1
jle 0x180011ca0
mov eax, dword [rsp + 0x80]
and eax, 0x1907
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x94]
sub eax, 2
mov dword [rsp + 0x94], eax
jmp 0x180011c63
mov eax, dword [rsp + 0x80]
cmp eax, 0x805
jle 0x180011cbf
mov eax, dword [rsp + 0x80]
and eax, 0x7e
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x94]
dec eax
mov dword [rsp + 0x94], eax
jmp 0x180011c63
mov dword [rsp + 0x98], 2
mov dword [rsp + 0x7c], 0x13
cmp dword [rsp + 0x7c], 0
jle 0x180011d33
mov eax, dword [rsp + 0x7c]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011d1b
mov dword [rsp + 0x98], 4
mov eax, dword [rsp + 0x7c]
sub eax, 2
mov dword [rsp + 0x7c], eax
jmp 0x180011ce4
mov dword [rsp + 0x98], 4
mov eax, dword [rsp + 0x7c]
sub eax, 2
mov dword [rsp + 0x7c], eax
jmp 0x180011ce4
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x78], 0x15
cmp dword [rsp + 0x78], 0
jle 0x180011d94
mov eax, dword [rsp + 0x78]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011d7c
mov dword [rsp + 0x88], 4
mov eax, dword [rsp + 0x78]
dec eax
mov dword [rsp + 0x78], eax
jmp 0x180011d46
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x78]
sub eax, 2
mov dword [rsp + 0x78], eax
jmp 0x180011d46
xor eax, eax
jmp 0x180011fdd
mov eax, dword [rsp + 0x50]
imul eax, eax, 0x10
add eax, dword [rsp + 0x4c]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x20]
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rsp + 0xbc]
mov byte [rcx + rax], dl
jmp 0x180011988
mov dword [rsp + 0xa8], 4
mov dword [rsp + 0xa0], 0x15
cmp dword [rsp + 0xa0], 0
jle 0x180011e46
mov eax, dword [rsp + 0xa0]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cdqe
add rax, 4
cmp rax, 4
jbe 0x180011e28
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa0]
sub eax, 2
mov dword [rsp + 0xa0], eax
jmp 0x180011de5
mov dword [rsp + 0xa8], 0
mov eax, dword [rsp + 0xa0]
sub eax, 2
mov dword [rsp + 0xa0], eax
jmp 0x180011de5
mov dword [rsp + 0x9c], 2
mov dword [rsp + 0xa4], 0xa
mov eax, dword [rsp + 0xa4]
test eax, eax
jle 0x180011ecc
mov eax, dword [rsp + 0xa4]
cmp eax, 1
jle 0x180011e99
mov eax, dword [rsp + 0x9c]
and eax, 0x2106
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0xa4]
sub eax, 2
mov dword [rsp + 0xa4], eax
jmp 0x180011e5c
mov eax, dword [rsp + 0x9c]
cmp eax, 0x80c
jle 0x180011eba
mov eax, dword [rsp + 0x9c]
and eax, 0x85
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0xa4]
dec eax
mov dword [rsp + 0xa4], eax
jmp 0x180011e5c
mov dword [rsp + 0xb8], 5
mov dword [rsp + 0xac], 8
mov eax, dword [rsp + 0xac]
test eax, eax
jle 0x180011f52
mov eax, dword [rsp + 0xac]
cmp eax, 1
jle 0x180011f1f
mov eax, dword [rsp + 0xb8]
and eax, 0xc22
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xac]
sub eax, 2
mov dword [rsp + 0xac], eax
jmp 0x180011ee2
mov eax, dword [rsp + 0xb8]
cmp eax, 0x80a
jle 0x180011f40
mov eax, dword [rsp + 0xb8]
and eax, 0x83
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xac]
dec eax
mov dword [rsp + 0xac], eax
jmp 0x180011ee2
mov dword [rsp + 0xb0], 7
mov dword [rsp + 0xb4], 9
mov eax, dword [rsp + 0xb4]
test eax, eax
jle 0x180011fd8
mov eax, dword [rsp + 0xb4]
cmp eax, 1
jle 0x180011fa5
mov eax, dword [rsp + 0xb0]
and eax, 0x19b6
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb4]
sub eax, 2
mov dword [rsp + 0xb4], eax
jmp 0x180011f68
mov eax, dword [rsp + 0xb0]
cmp eax, 0x80b
jle 0x180011fc6
mov eax, dword [rsp + 0xb0]
and eax, 0x84
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb4]
dec eax
mov dword [rsp + 0xb4], eax
jmp 0x180011f68
mov eax, 1
add rsp, 0xc8
ret