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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov dword [rsp + 0x20], 0
jmp 0x18004890a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x39000]
cmp dword [rsp + 0x20], eax
jge 0x180048b18
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 + 0x88], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x88]
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 rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x39000]
mov ecx, dword [rsp + 0x1d0]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x20]
cmp eax, 3
jge 0x180048a1c
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x64], eax
jmp 0x1800489cd
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x39000]
cmp dword [rsp + 0x64], eax
jge 0x180048a17
movsxd rax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x64]
sub edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x1c0]
mov r8, qword [rsp + 0x1c0]
movzx eax, byte [r8 + rax + 0x38ff6]
mov byte [rdx + rcx + 0x38ff6], al
jmp 0x1800489c3
jmp 0x180048b18
mov dword [rsp + 0x44], 0
jmp 0x180048a30
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 3
jge 0x180048ab6
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x1c0]
cmp eax, dword [rcx + 0x39000]
jge 0x180048a77
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0x38ff6]
mov byte [rsp + 0x27], al
jmp 0x180048aa3
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x1c0]
sub eax, dword [rcx + 0x39000]
cdqe
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x27], al
movsxd rax, dword [rsp + 0x44]
movzx ecx, byte [rsp + 0x27]
mov byte [rsp + rax + 0x74], cl
jmp 0x180048a26
lea rcx, [rsp + 0x74]
call fcn.180048120
mov ecx, 1
imul rcx, rcx, 0
mov r8d, eax
movzx edx, byte [rsp + rcx + 0x74]
mov rcx, qword [rsp + 0x1c0]
call fcn.1800486b0
mov dword [rsp + 0x9c], 1
mov eax, dword [rsp + 0x9c]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180048b13
xor r9d, r9d
lea r8, [0x18007794c]
lea rdx, [0x180077954]
xor ecx, ecx
call qword [0x18006a508]
jmp 0x180048900
mov rax, qword [rsp + 0x1c0]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 0x39000]
sub eax, ecx
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x39000], eax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x1d0], 0
jle 0x18004953c
cmp dword [rsp + 0x1d0], 3
jl 0x180048dd3
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x1c8]
call fcn.180048120
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x1c0]
movsx eax, word [rcx + rax*2 + 0x30008]
mov dword [rsp + 0x6c], eax
jmp 0x180048bbc
movsxd rax, dword [rsp + 0x6c]
imul rax, rax, 6
mov rcx, qword [rsp + 0x1c0]
movsx eax, word [rcx + rax + 8]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0xffffffff
je 0x180048dd1
mov eax, dword [rsp + 0x6c]
add eax, 0x8000
mov rcx, qword [rsp + 0x1c0]
sub eax, dword [rcx + 0x38ffc]
cdq
and edx, 0x7fff
add eax, edx
and eax, 0x7fff
sub eax, edx
mov ecx, 0x8000
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov eax, 1
mov word [rsp + 0x50], ax
movsx rax, word [rsp + 0x50]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180048c3a
movsx rax, word [rsp + 0x50]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x50]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x20], 0
jmp 0x180048c4e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 3
jge 0x180048d1a
cmp dword [rsp + 0x20], 0
jge 0x180048c8f
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x38ffc]
add eax, dword [rsp + 0x20]
and eax, 0x7fff
cdqe
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0x30ff6]
mov byte [rsp + 0x26], al
jmp 0x180048ca4
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x26], al
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
test eax, eax
jge 0x180048ce7
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x38ffc]
add eax, dword [rsp + 0x20]
sub eax, dword [rsp + 0x68]
and eax, 0x7fff
cdqe
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0x30ff6]
mov byte [rsp + 0x28], al
jmp 0x180048d05
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x26]
movzx ecx, byte [rsp + 0x28]
cmp eax, ecx
je 0x180048d15
jmp 0x180048d1a
jmp 0x180048c44
cmp dword [rsp + 0x20], 3
jne 0x180048dcc
mov eax, 8
mov word [rsp + 0x38], ax
movsx rax, word [rsp + 0x38]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180048d64
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
movsxd rax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x68]
mov dword [rsp + rax*8 + 0xb0], ecx
mov dword [rsp + 0xa0], 1
mov eax, dword [rsp + 0xa0]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x180048da9
xor r9d, r9d
lea r8, [0x180077958]
lea rdx, [0x180077960]
xor ecx, ecx
call qword [0x18006a508]
movsxd rax, dword [rsp + 0x30]
mov dword [rsp + rax*8 + 0xb4], 3
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x20
jl 0x180048dcc
jmp 0x180048dd1
jmp 0x180048ba2
jmp 0x180048e52
mov dword [rsp + 0x30], 0
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
mov dword [rsp + 0x78], 0xffffffff
cmp dword [rsp + 0x30], 0
jle 0x180049370
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 + 0x98], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x98]
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 eax, 7
mov word [rsp + 0x3c], ax
movsx rax, word [rsp + 0x3c]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180048f11
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 dword [rsp + 0x2c], 3
mov eax, dword [rsp + 0x1d0]
cmp dword [rsp + 0x2c], eax
jge 0x180049162
mov eax, 8
mov word [rsp + 0x34], ax
movsx rax, word [rsp + 0x34]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180048f69
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
mov eax, 0xd
mov word [rsp + 0x48], ax
movsx rax, word [rsp + 0x48]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180048fa8
movsx rax, word [rsp + 0x48]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x48]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
jmp 0x180048fc4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jge 0x180049142
cmp dword [rsp + 0x2c], 0
jge 0x180049008
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x38ffc]
add eax, dword [rsp + 0x2c]
and eax, 0x7fff
cdqe
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0x30ff6]
mov byte [rsp + 0x24], al
jmp 0x18004901d
movsxd rax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x24], al
movsxd rax, dword [rsp + 0x20]
mov eax, dword [rsp + rax*8 + 0xb0]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
test eax, eax
jge 0x180049070
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x38ffc]
add eax, dword [rsp + 0x2c]
movsxd rcx, dword [rsp + 0x20]
sub eax, dword [rsp + rcx*8 + 0xb0]
and eax, 0x7fff
cdqe
mov rcx, qword [rsp + 0x1c0]
movzx eax, byte [rcx + rax + 0x30ff6]
mov byte [rsp + 0x25], al
jmp 0x180049096
movsxd rax, dword [rsp + 0x20]
mov eax, dword [rsp + rax*8 + 0xb0]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x24]
movzx ecx, byte [rsp + 0x25]
cmp eax, ecx
jne 0x1800490c8
movsxd rax, dword [rsp + 0x20]
mov rax, qword [rsp + rax*8 + 0xb0]
movsxd rcx, dword [rsp + 0x60]
mov qword [rsp + rcx*8 + 0xb0], rax
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
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 + 0x90], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x90]
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 0x180048fba
cmp dword [rsp + 0x60], 0
jne 0x18004914b
jmp 0x180049162
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
jmp 0x180048f19
mov eax, 8
imul rax, rax, 0
mov ecx, dword [rsp + 0x2c]
mov dword [rsp + rax + 0xb4], ecx
cmp dword [rsp + 0x5c], 0
jle 0x18004924a
mov eax, 8
imul rax, rax, 0
mov ecx, dword [rsp + 0x5c]
inc ecx
cmp dword [rsp + rax + 0xb4], ecx
jle 0x18004921d
movzx edx, byte [rsp + 0x70]
mov rcx, qword [rsp + 0x1c0]
call fcn.180048190
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0xb0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x80], 1
mov eax, dword [rsp + 0x80]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x32
jle 0x1800491fa
xor r9d, r9d
lea r8, [0x180077964]
lea rdx, [0x18007796c]
xor ecx, ecx
call qword [0x18006a508]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x4c], 1
jmp 0x180049245
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1c0]
call fcn.1800482c0
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x5c], 0
jmp 0x18004936b
mov eax, 8
imul rax, rax, 0
mov rax, qword [rsp + rax + 0xb0]
mov qword [rsp + 0x58], rax
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 + 0x84], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x84]
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 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
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x4c], 1
jmp 0x18004940a
cmp dword [rsp + 0x5c], 0
jle 0x1800493a1
mov r8d, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1c0]
call fcn.1800482c0
mov eax, dword [rsp + 0x5c]
dec eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x5c], 0
jmp 0x18004940a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x1c8]
movzx edx, byte [rcx + rax]
mov rcx, qword [rsp + 0x1c0]
call fcn.180048190
mov eax, 8
mov word [rsp + 0x40], ax
movsx rax, word [rsp + 0x40]
lea rcx, [0x180087f80]
cmp dword [rcx + rax*4], 1
jne 0x180049402
movsx rax, word [rsp + 0x40]
lea rcx, [0x180087f80]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x40]
lea rdx, [0x180087f80]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x4c], 1
cmp dword [rsp + 0x4c], 0
jle 0x180049537
cmp dword [rsp + 0x1d0], 3
jl 0x180049449
mov rcx, qword [rsp + 0x1c8]
call fcn.180048120
mov r8d, eax
mov rax, qword [rsp + 0x1c8]
movzx edx, byte [rax]
mov rcx, qword [rsp + 0x1c0]
call fcn.1800486b0
jmp 0x180049490
mov rax, qword [rsp + 0x1c0]
movsxd rax, dword [rax + 0x39000]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
movzx edx, byte [rdx]
mov byte [rcx + rax + 0x38ff6], dl
mov rax, qword [rsp + 0x1c0]
mov eax, dword [rax + 0x39000]
inc eax
mov rcx, qword [rsp + 0x1c0]
mov dword [rcx + 0x39000], eax
mov rax, qword [rsp + 0x1c8]
inc rax
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x1d0]
dec eax
mov dword [rsp + 0x1d0], eax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
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 + 0x94], eax
mov eax, 4
imul rax, rax, 0
lea rcx, [0x180087f80]
movsxd rdx, dword [rsp + 0x94]
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 0x18004940a
jmp 0x180048b52
add rsp, 0x1b8
ret