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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1a8
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x1b8]
call fcn.18004c6f0
mov rcx, qword [rsp + 0x1c0]
mov ecx, dword [rcx]
or ecx, eax
mov dword [rsp + 0x48], ecx
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x1b0]
call fcn.18004c530
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, 0x15
div rcx
mov rax, rdx
mov dword [rsp + 0x74], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x74]
lea r8, [0x180087f80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087f80]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x1b0]
call fcn.18004c420
and eax, 0x80
test eax, eax
je 0x180045c94
mov rcx, qword [rsp + 0x1b8]
call fcn.18004c420
and eax, 3
mov rcx, qword [rsp + 0x1c0]
mov r8d, dword [rcx]
mov edx, eax
mov rcx, qword [rsp + 0x1b0]
call fcn.18004c650
jmp 0x180045ccf
mov rcx, qword [rsp + 0x1b0]
call fcn.180024cc0
cmp qword [rax], 0
je 0x180045cb8
mov rcx, qword [rsp + 0x1b0]
call fcn.18004c6f0
test eax, eax
jne 0x180045ccf
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0x1b0]
call fcn.18004c6b0
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
and eax, 0x800000
test eax, eax
je 0x180045d12
mov rax, qword [rsp + 0x1c0]
add rax, 4
mov rdx, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.1800444d0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180045d12
mov eax, dword [rsp + 0x50]
jmp 0x1800466eb
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
and eax, 0x800000
test eax, eax
je 0x180045d2f
mov dword [rsp + 0x44], 0x800001
jmp 0x180045d37
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x88], eax
xor r9d, r9d
mov r8, qword [rsp + 0x1b0]
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.18004be20
xor r9d, r9d
mov r8, qword [rsp + 0x1b8]
mov edx, dword [rsp + 0x88]
lea rcx, [rsp + 0x140]
call fcn.18004be20
lea rcx, [rsp + 0x140]
call fcn.18004c440
mov r8d, 0xc
mov rdx, qword [rsp + 0x1c0]
mov rcx, rax
call fcn.18004cb60
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180045dd6
xor r9d, r9d
lea r8, [0x180077a54]
lea rdx, [0x180077a5c]
xor ecx, ecx
call qword [0x18006a508]
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
and eax, 0x20000
test eax, eax
je 0x180045f96
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
and eax, 0x200000
test eax, eax
je 0x180045e87
call fcn.18004c5a0
and eax, 0x3f
mov r8d, eax
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
call fcn.18004c5a0
and eax, 0x3f
mov r8d, eax
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
jmp 0x180045f73
mov eax, 8
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180045ec6
movsx rax, word [rsp + 0x34]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x34]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
xor r8d, r8d
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
xor r8d, r8d
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
mov eax, 1
mov word [rsp + 0x3c], ax
movsx rax, word [rsp + 0x3c]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180045f73
movsx rax, word [rsp + 0x3c]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x3c]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov edx, 0x10
mov ecx, dword [rsp + 0x1c8]
call fcn.18004c620
mov ecx, dword [rsp + 0x1c8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x1c8], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x140]
call fcn.18004c350
test rax, rax
je 0x180046645
mov dword [rsp + 0x60], 1
mov eax, dword [rsp + 0x60]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180045fec
xor r9d, r9d
lea r8, [0x180077a6c]
lea rdx, [0x180077a74]
xor ecx, ecx
call qword [0x18006a508]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x84], 1
mov eax, dword [rsp + 0x84]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180046029
xor r9d, r9d
lea r8, [0x180077a78]
lea rdx, [0x180077a80]
xor ecx, ecx
call qword [0x18006a508]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x140]
call fcn.180044f30
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x140]
call fcn.180044f30
mov byte [rsp + 0x21], al
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x140]
call fcn.180044f30
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x22]
and eax, 0xfc
sar eax, 2
mov r8d, eax
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
movzx eax, byte [rsp + 0x22]
and eax, 3
shl eax, 4
movzx ecx, byte [rsp + 0x21]
and ecx, 0xf0
sar ecx, 4
add eax, ecx
mov r8d, eax
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
cmp dword [rsp + 0x28], 1
jle 0x180046158
movzx eax, byte [rsp + 0x21]
and eax, 0xf
movzx ecx, byte [rsp + 0x20]
and ecx, 0xc0
sar ecx, 6
lea eax, [rcx + rax*4]
mov r8d, eax
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
cmp dword [rsp + 0x28], 2
jle 0x18004619e
movzx eax, byte [rsp + 0x20]
and eax, 0x3f
mov r8d, eax
mov rax, qword [rsp + 0x1c0]
mov edx, dword [rax]
lea rcx, [rsp + 0x1c8]
call fcn.18004c290
mov eax, eax
mov rcx, qword [rsp + 0x1d0]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, 0x15
div rcx
mov rax, rdx
mov dword [rsp + 0x7c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x7c]
lea r8, [0x180087f80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087f80]
mov dword [rdx + rcx], eax
movzx eax, byte [rsp + 0x20]
and eax, 0xaa
test eax, eax
je 0x180046225
mov dword [rsp + 0x4c], 1
jmp 0x18004622d
mov dword [rsp + 0x4c], 0
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
xor eax, 0x420000
and eax, 0x420000
test eax, eax
jne 0x1800464a1
mov rax, qword [0x180087eb8]
cmp qword [rsp + 0x58], rax
jbe 0x1800464a1
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, 0x15
div rcx
mov rax, rdx
mov dword [rsp + 0x8c], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x8c]
lea r8, [0x180087f80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087f80]
mov dword [rdx + rcx], eax
cmp qword [0x1800d4070], 0
jne 0x18004635b
mov ecx, 0x38
call fcn.18004c974
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
je 0x180046330
mov r8d, 0x16
lea rdx, [0x180087ea0]
mov rcx, qword [rsp + 0x98]
call fcn.180042a00
mov qword [rsp + 0xa0], rax
jmp 0x18004633c
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [0x1800d4070], rax
mov qword [rsp + 0x58], 0
call fcn.18004c5a0
movzx ecx, byte [rsp + 0x21]
add eax, ecx
movzx ecx, byte [0x180087eb6]
xor edx, edx
div ecx
mov eax, edx
add eax, 0x3e8
mov eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x68], 0
jmp 0x1800463a4
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xb8]
cmp qword [rsp + 0x68], rax
jae 0x1800464a1
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, 0x15
div rcx
mov rax, rdx
mov dword [rsp + 0x70], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x70]
lea r8, [0x180087f80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087f80]
mov dword [rdx + rcx], eax
mov rcx, qword [0x1800d4070]
call fcn.180013dc0
mov qword [rsp + 0xb0], rax
call fcn.18004c5a0
mov eax, eax
mov qword [rsp + 0xc0], rax
mov rcx, qword [0x1800d4070]
call fcn.180024cc0
mov qword [rsp + 0xa8], rax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
mov rcx, qword [rsp + 0xa8]
div qword [rcx]
mov rax, rdx
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
jmp 0x180046397
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
xor eax, 0x60000
and eax, 0x60000
test eax, eax
jne 0x180046640
movzx eax, byte [rsp + 0x20]
and eax, 7
cmp eax, 7
jne 0x180046640
movzx eax, byte [rsp + 0x20]
and eax, 0xa0
cmp eax, 0xa0
jne 0x180046578
mov eax, 8
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180046522
movsx rax, word [rsp + 0x38]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x38]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov edx, 0x20
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
mov eax, 2
mov word [rsp + 0x24], ax
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180046573
movsx rax, word [rsp + 0x24]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x24]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
jmp 0x180046640
mov edx, 0xd
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
mov dword [rsp + 0x78], 1
mov eax, dword [rsp + 0x78]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800465b9
xor r9d, r9d
lea r8, [0x180077a84]
lea rdx, [0x180077a8c]
xor ecx, ecx
call qword [0x18006a508]
mov edx, 0xa
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
xor edx, edx
mov ecx, 0x15
div rcx
mov rax, rdx
mov dword [rsp + 0x80], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x80]
lea r8, [0x180087f80]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx*4], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0
lea rdx, [0x180087f80]
mov dword [rdx + rcx], eax
jmp 0x180045fa7
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax]
and eax, 0x10000
test eax, eax
je 0x1800466ce
mov eax, 1
mov word [rsp + 0x2c], ax
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180046697
movsx rax, word [rsp + 0x2c]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x2c]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x40], 0
jmp 0x1800466ab
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, 3
sub eax, dword [rsp + 0x28]
cmp dword [rsp + 0x40], eax
jge 0x1800466ce
mov edx, 0x3d
lea rcx, [rsp + 0xd0]
call fcn.1800453b0
jmp 0x1800466a1
lea rcx, [rsp + 0xd0]
call fcn.1800458b0
movzx eax, al
test eax, eax
jne 0x1800466e9
mov eax, 0xfffffffc
jmp 0x1800466eb
xor eax, eax
add rsp, 0x1a8
ret