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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r11, qword [rbp + 0xd8]
lea eax, [r8 - 0xb]
mov edi, dword [rbp + 0xc0]
mov r12, r9
mov dword [rbp - 0x38], eax
mov r9, rdx
mov r15, rcx
cmp r8d, eax
jbe case.0x18004d39f.214
mov eax, dword [rbp + 0xc0]
mov r14, qword [rsp + 0x60]
movzx r8d, byte [rbp + 0xc0]
mov rcx, qword [rsp + 0x60]
mov r10d, dword [rbp + 0xc0]
mov edx, dword [rbp + 0xc0]
mov r13, qword [rsp + 0x60]
mov ebx, dword [rbp + 0xc0]
mov esi, dword [rbp + 0xc0]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x3c], r10d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x70], edi
mov byte [rsp + 0x30], r8b
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x78], rcx
nop word [rax + rax]
lea eax, [rsi - 0xab]
cmp eax, 0x38
ja case.0x18004d39f.173
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x4e588]
mov ecx, dword [rcx + rax*4 + 0x4e558]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov rax, qword [r12]
cmp dword [rax + 0x17c], 1
jne 0x18004d4be
mov r8d, 0xd4
xor r11d, r11d
nop dword [rax + rax]
cmp r8d, 0x1934c
ja 0x18004d43b
je 0x18004d431
cmp r8d, 0xd4
je 0x18004d40c
cmp r8d, 0x86fc
je 0x18004d3ff
cmp r8d, 0x10d24
jne 0x18004d494
mov dword [r13 + 0x38], 1
mov dword [r13 + 0x3c], 1
jmp 0x18004d494
mov dword [r13 + 0x34], 1
jmp 0x18004d494
mov rcx, qword [r12]
mov r13, qword [rcx + 0x180]
mov eax, dword [r13 + 0x1c]
mov dword [rcx + 0x1a0], eax
mov rcx, qword [r12]
mov eax, dword [r13 + 0x20]
mov dword [rcx + 0x1a4], eax
jmp 0x18004d494
mov dword [r13 + 0x40], 8
jmp 0x18004d494
cmp r8d, 0x21974
je 0x18004d48c
cmp r8d, 0x29f9c
je 0x18004d463
cmp r8d, 0x325c4
jne 0x18004d494
mov rax, qword [r12]
mov dword [rax + 0x1ac], r11d
jmp 0x18004d494
mov eax, dword [r13 + 0x20]
xor edx, edx
div dword [r13 + 0xc]
test edx, edx
cmove edx, dword [r13 + 0xc]
mov dword [r13 + 0x48], edx
mov rax, qword [r12]
mov dword [rsp + 0x3c], edx
mov dword [rax + 0x1a8], 1
jmp 0x18004d494
mov dword [r13 + 0x44], 1
add r8d, 0x8628
cmp r8d, 0x3ab18
jbe 0x18004d3c0
mov r11, qword [rbp + 0xd8]
mov edx, dword [rsp + 0x34]
movzx r8d, byte [rsp + 0x30]
jmp case.0x18004d39f.173
mov edi, 0x58
mov eax, edi
sub eax, 0x58
je 0x18004d64c
cmp eax, 1
jne 0x18004d71b
xor eax, eax
mov r14d, eax
mov rax, qword [r12]
cmp dword [rax + 0x17c], r14d
jle 0x18004d71b
mov edx, 0x180
mov qword [rsp + 0x40], rdx
nop word [rax + rax]
mov r8d, 5
mov r9d, 6
mov dword [rsp + 0x38], r8d
mov qword [rbp - 0x70], r9
cmp r8d, 5
ja case.default.0x18004d534
lea r11, [0x180000000]
mov eax, r8d
mov ecx, dword [r11 + rax*4 + 0x4e5c4]
add rcx, r11
jmp rcx
mov eax, dword [r13 + 0x20]
xor edx, edx
div dword [r13 + 0x38]
mov r10d, edx
mov dword [rsp + 0x3c], edx
jmp 0x18004d60f
mov rax, qword [r12]
mov r13, qword [rdx + rax]
jmp case.default.0x18004d534
mov rdx, qword [r12]
mov esi, dword [r13 + 0x3c]
mov ecx, dword [rdx + 0x1a8]
add ecx, esi
cmp ecx, 0xa
jle 0x18004d58f
mov rax, qword [rdx]
mov dword [rax + 0x28], 0xd
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax]
mov r8d, dword [rsp + 0x38]
mov r9, qword [rbp - 0x70]
mov r10d, dword [rsp + 0x3c]
test esi, esi
jle 0x18004d60f
mov rcx, qword [r12]
dec esi
movsxd rax, dword [rcx + 0x1a8]
mov dword [rcx + rax*4 + 0x1ac], r14d
mov rax, qword [r12]
inc dword [rax + 0x1a8]
test esi, esi
jg 0x18004d593
jmp 0x18004d60f
mov edx, dword [r13 + 8]
mov eax, edx
mov ecx, dword [r13 + 0xc]
imul eax, ecx
mov dword [r13 + 0x34], edx
mov dword [r13 + 0x38], ecx
mov dword [r13 + 0x3c], eax
lea eax, [rdx*8]
mov dword [r13 + 0x40], eax
jmp 0x18004d60f
test r10d, r10d
jne 0x18004d5ec
mov r10d, dword [r13 + 0x38]
mov dword [rsp + 0x3c], r10d
mov dword [r13 + 0x48], r10d
jmp case.default.0x18004d534
mov eax, dword [r13 + 0x1c]
xor edx, edx
div dword [r13 + 0x34]
test edx, edx
mov r10d, edx
cmove r10d, dword [r13 + 0x34]
mov dword [rsp + 0x3c], r10d
mov dword [r13 + 0x44], r10d
mov rdx, qword [rsp + 0x40]
dec r8d
sub r9, 1
mov dword [rsp + 0x38], r8d
mov qword [rbp - 0x70], r9
jne 0x18004d515
mov rax, qword [r12]
add rdx, 8
inc r14d
mov qword [rsp + 0x40], rdx
cmp r14d, dword [rax + 0x17c]
jl 0x18004d500
jmp 0x18004d71b
mov rcx, qword [r12]
mov eax, dword [rcx + 0x17c]
test eax, eax
jle 0x18004d65f
cmp eax, 4
jle 0x18004d694
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x1a
mov rax, qword [r12]
mov rcx, qword [rax]
mov eax, dword [rax + 0x17c]
mov dword [rcx + 0x2c], eax
mov rax, qword [r12]
mov rcx, qword [rax]
mov dword [rcx + 0x30], 4
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [r12]
mov eax, dword [rcx + 0x170]
lea rdx, [rbp - 0x60]
shl eax, 3
xor r9d, r9d
mov dword [rbp - 0x68], eax
mov r8d, 0x96
mov eax, dword [rcx + 0x30]
xor ecx, ecx
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
call fcn.18002b4f0
mov rcx, qword [r12]
lea rdx, [rbp - 0x50]
xor r9d, r9d
mov r8d, 0x96
mov dword [rcx + 0x1a0], eax
mov rcx, qword [r12]
mov eax, dword [rcx + 0x174]
shl eax, 3
mov dword [rbp - 0x58], eax
mov eax, dword [rcx + 0x34]
xor ecx, ecx
mov dword [rbp - 0x50], eax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.18002b4f0
mov rcx, qword [r12]
mov r10d, dword [rsp + 0x3c]
mov dword [rcx + 0x1a4], eax
xor ecx, ecx
mov rax, qword [r12]
mov dword [rax + 0x1a8], ecx
inc edi
cmp edi, 0x5a
jb 0x18004d4c3
mov edi, dword [rsp + 0x70]
jmp 0x18004e4fe
mov rax, qword [r12]
mov r14, qword [rax + 0x2a8]
mov qword [rsp + 0x58], r14
jmp case.0x18004d39f.173
mov r14, qword [r12]
xor r10d, r10d
mov esi, r10d
mov ebx, r10d
mov eax, dword [r11]
test eax, eax
je 0x18004d75c
cmp eax, ebx
jbe 0x18004d7bf
mov ecx, 0xd9
mov dword [rbp + 0xc0], ecx
nop word [rax + rax]
cmp ecx, 0xd9
je 0x18004da81
cmp ecx, 0x17e
je 0x18004d98c
cmp ecx, 0x223
je 0x18004d7f7
cmp ecx, 0x2c8
jne 0x18004da3c
cmp dword [r11], 0
je 0x18004d7aa
test edx, edx
je 0x18004da3c
cmp byte [r15], 0
jne 0x18004da3c
cmp byte [r15 + 1], 0
jne 0x18004da3c
mov rax, qword [rbp + 0xd0]
mov esi, 0xd8
cmp word [rax], 0
jne 0x18004e515
add qword [r12], 0x10
mov rax, qword [r12]
mov qword [rax], r10
mov rax, qword [r12]
mov dword [rax + 8], r10d
mov rax, qword [r12]
mov word [rax + 0xc], r10w
jmp 0x18004e515
test r8b, 0x20
je 0x18004d92e
mov eax, 0x60
mov dword [rsp + 0x38], eax
nop word [rax + rax]
sub eax, 0x5d
je 0x18004d909
sub eax, 1
je 0x18004d8ed
sub eax, 1
je 0x18004d8c0
cmp eax, 1
jne 0x18004d90d
cmp dword [r14 + 8], 0
mov esi, r10d
jne 0x18004d84a
cmp word [r14 + 0xc], 0
jge 0x18004d90d
add qword [r12], 0x10
mov ecx, dword [r14 + 8]
test ecx, ecx
jne 0x18004d866
cmp byte [r15], cl
jne 0x18004d866
cmp byte [r15 + 1], cl
je 0x18004d90d
mov rax, qword [rbp + 0xd0]
mov r9, r12
mov rdx, qword [rbp + 0xb8]
mov r8d, 0xd8
mov dword [rbp - 0x48], ecx
mov rcx, r15
movzx eax, word [rax]
inc ax
mov word [rsp + 0x68], ax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.18004d2b0
mov esi, eax
test eax, eax
js 0x18004e53a
mov edx, dword [rsp + 0x34]
xor r10d, r10d
mov r11, qword [rbp + 0xd8]
jmp 0x18004d90d
movsxd rax, esi
add r15, rax
test edx, edx
je 0x18004d90d
cmp byte [r15], 0
jne 0x18004d90d
cmp byte [r15 + 1], 0
jne 0x18004d90d
add r15, 2
mov eax, r15d
sub eax, dword [r14]
sub eax, 2
mov dword [r14 + 8], eax
add esi, 2
jmp 0x18004d90d
mov ecx, dword [r11]
test ecx, ecx
je 0x18004d90d
lea eax, [rbx + rsi]
cmp eax, ecx
jbe 0x18004d90d
mov qword [r12], r14
mov eax, 0xffffffff
jmp 0x18004e53a
mov r14, qword [r12]
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
cmp eax, 0x5c
ja 0x18004d810
mov ecx, dword [rbp + 0xc0]
movzx r8d, byte [rsp + 0x30]
jmp 0x18004d972
cmp r8b, 5
jne 0x18004d939
mov esi, r10d
jmp 0x18004d972
test edx, edx
jne 0x18004d946
movsxd rsi, dword [r14 + 8]
add r15, rsi
jmp 0x18004d972
mov rax, qword [r14]
cmp byte [rax], 0
je 0x18004d972
nop
cmp byte [r15], 0
jne 0x18004d95d
cmp byte [r15 + 1], 0
je 0x18004d962
inc r15
jmp 0x18004d950
add r15, 2
mov rsi, r15
sub esi, eax
sub esi, 2
mov dword [r14 + 8], esi
mov eax, dword [r11]
add ebx, esi
cmp ebx, eax
jbe 0x18004da3c
test eax, eax
jne 0x18004d8ff
jmp 0x18004da3c
mov rax, qword [rbp + 0xd0]
xor r9d, r9d
mov qword [rsp + 0x28], r10
xor r8d, r8d
mov edx, 0x98
mov qword [rsp + 0x20], r14
xor ecx, ecx
movzx eax, word [rax]
mov word [r14 + 0xc], ax
call fcn.18006a5d0
mov r11, qword [rbp + 0xd8]
mov r15, rax
sub eax, dword [r14]
add ebx, eax
cmp word [r14 + 0xc], 0
mov edx, dword [r11]
jl 0x18004d9ee
xor eax, eax
mov dword [rsp + 0x34], eax
test edx, edx
je 0x18004da02
mov ecx, dword [r14 + 8]
add ecx, ebx
cmp ecx, edx
jbe 0x18004d9f6
neg ebx
mov eax, ebx
jmp 0x18004e53a
mov dword [rsp + 0x34], 1
test edx, edx
je 0x18004da02
cmp edx, ebx
jb 0x18004d8ff
movzx r8d, byte [rsp + 0x30]
cmp r8b, 2
jne 0x18004da6e
cmp dword [r14 + 8], 1
jbe 0x18004da36
movzx eax, byte [r15]
test al, al
jne 0x18004da27
cmp byte [r15 + 1], al
jge 0x18004d8ff
cmp al, 0xff
jne 0x18004da36
cmp byte [r15 + 1], 0
jl 0x18004d8ff
mov ecx, dword [rbp + 0xc0]
mov edx, dword [rsp + 0x34]
add ecx, 0xa5
mov r9, qword [rbp + 0xb8]
mov r10d, 0
mov dword [rbp + 0xc0], ecx
cmp ecx, 0x36d
jb 0x18004d770
add r14, 0x10
jmp 0x18004d751
cmp r8b, 5
jne 0x18004da36
cmp dword [r14 + 8], 0
jne 0x18004d8ff
jmp 0x18004da36
cmp r14, r9
jae 0x18004d8ff
mov qword [r12], r14
mov qword [r14], r15
movzx r8d, byte [r15]
mov byte [rsp + 0x30], r8b
jmp 0x18004da3c
mov edi, ebx
mov dword [rsp + 0x70], ebx
jmp case.0x18004d39f.173
mov rax, qword [r12]
mov r10, qword [r14 + 0x30]
mov qword [rsp + 0x60], r10
mov r8d, dword [rax + 0x88]
xor eax, eax
mov edx, eax
mov dword [rsp + 0x40], r8d
mov dword [rbp - 0x80], eax
cmp dword [r11], eax
jle 0x18004d4af
mov edi, dword [rsp + 0x48]
mov ecx, eax
mov qword [rbp - 0x28], rax
nop word [rax + rax]
mov rax, qword [r9]
mov dword [rsp + 0x38], r8d
mov rsi, qword [rcx + rax]
mov rax, qword [r15]
mov rcx, qword [rcx + rax]
mov qword [rbp - 0x30], rcx
test r8d, r8d
je 0x18004dbed
mov r14d, 0x11e
nop word [rax + rax]
mov eax, r14d
sub eax, 0x11e
je 0x18004dbaf
cmp eax, 1
jne 0x18004dbb8
movsx r8d, byte [rsi]
movsx r9d, byte [rsi + 1]
add rsi, 2
sar r8d, 2
sar r9d, 3
movsxd rax, r9d
movsxd rdx, r8d
shl rdx, 5
add rdx, rax
movsxd rax, edi
mov rcx, qword [r10 + rax*8]
lea rax, [rcx + rdx*4]
mov qword [rbp + 0x68], rax
mov eax, dword [rax]
test eax, eax
jne 0x18004db9e
mov rax, qword [r12]
lea rcx, [rbp - 0x70]
mov qword [rbp + 0x60], rax
mov edx, 0x66
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], r9d
mov dword [rbp - 0x70], r8d
lea r9, [rbp + 0x60]
lea r8, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x40], edi
call fcn.18003fec0
mov rcx, qword [rbp + 0x68]
mov r10, qword [rsp + 0x60]
movzx eax, byte [rcx]
mov rcx, qword [rbp - 0x30]
dec al
mov byte [rcx], al
inc rcx
mov qword [rbp - 0x30], rcx
jmp 0x18004dbb8
movsx edi, byte [rsi]
sar edi, 3
inc rsi
inc r14d
cmp r14d, 0x120
jb 0x18004db10
add dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x48], edi
jne 0x18004db00
mov edx, dword [rbp - 0x80]
mov r8d, dword [rsp + 0x40]
mov r11, qword [rbp + 0xd8]
mov r9, qword [rbp + 0xb8]
mov rcx, qword [rbp - 0x28]
inc edx
add rcx, 8
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x28], rcx
cmp edx, dword [r11]
jl 0x18004dae0
mov edi, dword [rsp + 0x70]
jmp 0x18004e505
mov r8, r12
mov rdx, r9
mov ecx, 0x11
call fcn.180015940
mov rax, qword [rbp + 0xb8]
xor r9d, r9d
mov qword [rsp + 0x28], r12
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r8d, 0x100
call fcn.180039f80
mov edx, dword [rsp + 0x34]
mov r11, qword [rbp + 0xd8]
movzx r8d, byte [rsp + 0x30]
jmp case.0x18004d39f.173
mov rax, qword [r12]
mov rcx, qword [r9 + 0x58]
mov qword [rsp + 0x78], rcx
mov r14, qword [rax + 0x1e0]
mov rax, qword [r15]
sub r14, 0xffffffffffffff80
mov qword [rsp + 0x50], r14
mov qword [rbp - 0x78], rax
jmp 0x18004e515
lea rax, [0x18000cfe0]
mov rdx, r11
mov qword [rsp + 0x60], rax
lea r8, [rbp + 0xc0]
mov eax, dword [r15]
mov rcx, r12
mov dword [rbp + 0xc0], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x5d
call fcn.18005d040
mov edx, dword [rsp + 0x34]
mov r11, qword [rbp + 0xd8]
movzx r8d, byte [rsp + 0x30]
jmp case.0x18004d39f.173
mov rdx, qword [r12]
mov eax, dword [rdx + 0x14c]
test eax, eax
jle 0x18004dcf8
mov ecx, dword [rdx + 0x1a0]
imul ecx, eax
mov eax, 0xffff
cmp ecx, eax
cmovl eax, ecx
mov dword [rdx + 0x148], eax
mov edx, dword [rsp + 0x34]
jmp case.0x18004d39f.173
mov r8, qword [rbp - 0x78]
lea rcx, [rbp]
mov r9, qword [rsp + 0x78]
mov edx, 8
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x40], rcx
nop dword [rax]
cmp edx, 4
je 0x18004de6c
movsx r11d, word [r8 + 0x10]
test r11w, r11w
jne 0x18004dd70
cmp word [r8 + 0x20], r11w
jne 0x18004dd70
cmp word [r8 + 0x30], r11w
jne 0x18004dd70
cmp word [r8 + 0x50], r11w
jne 0x18004dd70
cmp word [r8 + 0x60], r11w
jne 0x18004dd70
cmp word [r8 + 0x70], r11w
jne 0x18004dd70
movsx eax, word [r8]
imul eax, dword [r9]
shl eax, 2
mov dword [rcx - 0x20], eax
mov dword [rcx + 0x20], eax
mov dword [rcx + 0x40], eax
jmp 0x18004de6a
movsx eax, word [r8 + 0x60]
imul eax, dword [r9 + 0xc0]
movsx r14d, word [r8]
imul r14d, dword [r9]
movsx r10d, word [r8 + 0x70]
imul r10d, dword [r9 + 0xe0]
imul ecx, eax, 0x187e
movsx eax, word [r8 + 0x20]
imul eax, dword [r9 + 0x40]
movsx r9d, word [r8 + 0x50]
movsx r8d, word [r8 + 0x30]
shl r14d, 0xe
imul edx, eax, 0x3b21
sub edx, ecx
mov rcx, qword [rsp + 0x78]
imul r9d, dword [rcx + 0xa0]
lea esi, [rdx + r14]
imul r8d, dword [rcx + 0x60]
sub r14d, edx
mov ecx, dword [rcx + 0x20]
imul ecx, r11d
imul r11d, r9d, 0x2e75
imul eax, r8d, 0x4587
imul edx, ecx, 0x5203
sub r11d, eax
imul eax, ecx, 0x21f9
mov rcx, qword [rsp + 0x40]
add r11d, eax
imul eax, r10d, 0x6c2
sub r11d, eax
imul eax, r8d, 0x1ccd
mov r8, qword [rbp - 0x78]
add edx, eax
imul eax, r9d, 0x133e
mov r9, qword [rsp + 0x78]
sub edx, eax
imul eax, r10d, 0x1050
sub edx, eax
lea eax, [rdx + 0x800]
add eax, esi
sub esi, edx
mov edx, dword [rsp + 0x38]
add esi, 0x800
sar eax, 0xc
mov dword [rcx - 0x20], eax
lea eax, [r11 + 0x800]
add eax, r14d
sar esi, 0xc
sub r14d, r11d
sar eax, 0xc
add r14d, 0x800
mov dword [rcx + 0x40], esi
sar r14d, 0xc
mov dword [rcx + 0x20], r14d
mov dword [rcx], eax
cmp edx, 5
je 0x18004dfbd
movsx r11d, word [r8 + 0x12]
test r11w, r11w
jne 0x18004debe
cmp word [r8 + 0x22], r11w
jne 0x18004debe
cmp word [r8 + 0x32], r11w
jne 0x18004debe
cmp word [r8 + 0x52], r11w
jne 0x18004debe
cmp word [r8 + 0x62], r11w
jne 0x18004debe
cmp word [r8 + 0x72], r11w
jne 0x18004debe
movsx eax, word [r8 + 2]
imul eax, dword [r9 + 4]
shl eax, 2
mov dword [rcx - 0x1c], eax
mov dword [rcx + 0x24], eax
mov dword [rcx + 0x44], eax
jmp 0x18004dfba
movsx eax, word [r8 + 0x62]
imul eax, dword [r9 + 0xc4]
movsx r14d, word [r8 + 2]
imul r14d, dword [r9 + 4]
movsx r10d, word [r8 + 0x72]
imul r10d, dword [r9 + 0xe4]
imul ecx, eax, 0x187e
movsx eax, word [r8 + 0x22]
imul eax, dword [r9 + 0x44]
movsx r9d, word [r8 + 0x52]
movsx r8d, word [r8 + 0x32]
shl r14d, 0xe
imul edx, eax, 0x3b21
sub edx, ecx
mov rcx, qword [rsp + 0x78]
imul r9d, dword [rcx + 0xa4]
lea esi, [rdx + r14]
imul r8d, dword [rcx + 0x64]
sub r14d, edx
mov ecx, dword [rcx + 0x24]
imul ecx, r11d
imul r11d, r9d, 0x2e75
imul eax, r8d, 0x4587
imul edx, ecx, 0x5203
sub r11d, eax
imul eax, ecx, 0x21f9
mov rcx, qword [rsp + 0x40]
add r11d, eax
imul eax, r10d, 0x6c2
sub r11d, eax
imul eax, r8d, 0x1ccd
mov r8, qword [rbp - 0x78]
add edx, eax
imul eax, r9d, 0x133e
mov r9, qword [rsp + 0x78]
sub edx, eax
imul eax, r10d, 0x1050
sub edx, eax
lea eax, [rdx + 0x800]
add eax, esi
sub esi, edx
mov edx, dword [rsp + 0x38]
add esi, 0x800
sar eax, 0xc
mov dword [rcx - 0x1c], eax
lea eax, [r11 + 0x800]
add eax, r14d
sar esi, 0xc
sub r14d, r11d
sar eax, 0xc
add r14d, 0x800
mov dword [rcx + 0x44], esi
sar r14d, 0xc
mov dword [rcx + 0x24], r14d
mov dword [rcx + 4], eax
add r8, 4
add r9, 8
add rcx, 8
mov qword [rbp - 0x78], r8
sub edx, 2
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], edx
test edx, edx
jg 0x18004dd20
mov rax, qword [rbp + 0xd0]
mov r11d, dword [rbp - 4]
mov esi, dword [rbp - 0xc]
mov r14d, dword [rbp - 0x14]
mov r10d, dword [rax]
mov rax, qword [rbp + 0xd8]
mov ecx, dword [rbp - 0x18]
mov rax, qword [rax]
add r10, qword [rax]
cmp dword [rbp - 0x1c], 0
mov eax, dword [rbp - 8]
jne 0x18004e054
test ecx, ecx
jne 0x18004e054
test r14d, r14d
jne 0x18004e054
test esi, esi
jne 0x18004e054
test eax, eax
jne 0x18004e054
test r11d, r11d
jne 0x18004e054
mov rax, qword [rbp - 0x20]
mov rdx, qword [rsp + 0x50]
add rax, 0x10
sar rax, 5
and eax, 0x3ff
movzx ecx, byte [rax + rdx]
mov byte [r10], cl
mov byte [r10 + 1], cl
mov byte [r10 + 3], cl
jmp 0x18004e128
mov r9d, dword [rbp - 0x20]
imul eax, eax, 0x187e
imul ecx, ecx, 0x3b21
shl r9d, 0xe
imul r8d, esi, 0x2e75
sub ecx, eax
imul eax, r14d, 0x4587
lea edx, [rcx + r9]
sub r9d, ecx
sub r8d, eax
imul ecx, r14d, 0x1ccd
imul eax, dword [rbp - 0x1c], 0x21f9
add r8d, eax
imul eax, r11d, 0x6c2
sub r8d, eax
imul eax, esi, 0x133e
sub ecx, eax
imul eax, r11d, 0x1050
mov r11, qword [rsp + 0x50]
sub ecx, eax
imul eax, dword [rbp - 0x1c], 0x5203
add ecx, eax
lea eax, [rdx + rcx]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r11]
mov byte [r10], al
mov eax, edx
sub eax, ecx
mov rdx, r11
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 3], al
lea eax, [r9 + r8]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 1], al
mov eax, r9d
sub eax, r8d
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx ecx, byte [rax + rdx]
mov rax, qword [rbp + 0xd8]
mov byte [r10 + 2], cl
mov rcx, qword [rbp + 0xd0]
mov r11d, dword [rbp + 0x1c]
mov rax, qword [rax]
mov esi, dword [rbp + 0x14]
mov r10d, dword [rcx]
mov r14d, dword [rbp + 0xc]
add r10, qword [rax + 8]
cmp dword [rbp + 4], 0
mov eax, dword [rbp + 0x18]
mov ecx, dword [rbp + 8]
jne 0x18004e19a
test ecx, ecx
jne 0x18004e19a
test r14d, r14d
jne 0x18004e19a
test esi, esi
jne 0x18004e19a
test eax, eax
jne 0x18004e19a
test r11d, r11d
jne 0x18004e19a
mov rax, qword [rbp]
add rax, 0x10
sar rax, 5
and eax, 0x3ff
movzx ecx, byte [rax + rdx]
mov byte [r10], cl
mov byte [r10 + 1], cl
mov byte [r10 + 2], cl
mov byte [r10 + 3], cl
jmp 0x18004e272
mov r9d, dword [rbp]
imul eax, eax, 0x187e
imul ecx, ecx, 0x3b21
shl r9d, 0xe
imul r8d, esi, 0x2e75
sub ecx, eax
imul eax, r14d, 0x4587
lea edx, [rcx + r9]
sub r9d, ecx
sub r8d, eax
imul ecx, r14d, 0x1ccd
imul eax, dword [rbp + 4], 0x21f9
add r8d, eax
imul eax, r11d, 0x6c2
sub r8d, eax
imul eax, esi, 0x133e
sub ecx, eax
imul eax, r11d, 0x1050
mov r11, qword [rsp + 0x50]
sub ecx, eax
imul eax, dword [rbp + 4], 0x5203
add ecx, eax
lea eax, [rdx + rcx]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r11]
mov byte [r10], al
mov eax, edx
sub eax, ecx
mov rdx, r11
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 3], al
lea eax, [r9 + r8]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 1], al
mov eax, r9d
sub eax, r8d
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 2], al
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xd8]
mov r11d, dword [rbp + 0x3c]
mov esi, dword [rbp + 0x34]
mov r10d, dword [rcx]
mov rax, qword [rax]
mov r14d, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x28]
add r10, qword [rax + 0x10]
cmp dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x38]
jne 0x18004e2e0
test ecx, ecx
jne 0x18004e2e0
test r14d, r14d
jne 0x18004e2e0
test esi, esi
jne 0x18004e2e0
test eax, eax
jne 0x18004e2e0
test r11d, r11d
jne 0x18004e2e0
mov rax, qword [rbp + 0x20]
add rax, 0x10
sar rax, 5
and eax, 0x3ff
movzx ecx, byte [rax + rdx]
mov byte [r10], cl
mov byte [r10 + 1], cl
mov byte [r10 + 2], cl
mov byte [r10 + 3], cl
jmp 0x18004e3b8
mov r9d, dword [rbp + 0x20]
imul eax, eax, 0x187e
imul ecx, ecx, 0x3b21
shl r9d, 0xe
imul r8d, esi, 0x2e75
sub ecx, eax
imul eax, r14d, 0x4587
lea edx, [rcx + r9]
sub r9d, ecx
sub r8d, eax
imul ecx, r11d, 0xffffefb0
imul eax, dword [rbp + 0x24], 0x21f9
add r8d, eax
imul eax, r11d, 0x6c2
mov r11, qword [rsp + 0x50]
sub r8d, eax
imul eax, esi, 0x133e
sub ecx, eax
imul eax, r14d, 0x1ccd
add ecx, eax
imul eax, dword [rbp + 0x24], 0x5203
add ecx, eax
lea eax, [rdx + rcx]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r11]
mov byte [r10], al
mov eax, edx
sub eax, ecx
mov rdx, r11
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 3], al
lea eax, [r9 + r8]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 1], al
mov eax, r9d
sub eax, r8d
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + rdx]
mov byte [r10 + 2], al
mov rcx, qword [rbp + 0xd0]
mov rax, qword [rbp + 0xd8]
mov r11d, dword [rbp + 0x5c]
mov esi, dword [rbp + 0x54]
mov r10d, dword [rcx]
mov rax, qword [rax]
mov r14d, dword [rbp + 0x4c]
mov ecx, dword [rbp + 0x48]
add r10, qword [rax + 0x18]
cmp dword [rbp + 0x44], 0
mov eax, dword [rbp + 0x58]
jne 0x18004e426
test ecx, ecx
jne 0x18004e426
test r14d, r14d
jne 0x18004e426
test esi, esi
jne 0x18004e426
test eax, eax
jne 0x18004e426
test r11d, r11d
jne 0x18004e426
mov rax, qword [rbp + 0x40]
add rax, 0x10
sar rax, 5
and eax, 0x3ff
movzx ecx, byte [rax + rdx]
mov byte [r10], cl
mov byte [r10 + 1], cl
mov byte [r10 + 2], cl
mov byte [r10 + 3], cl
jmp 0x18004e4fe
mov r9d, dword [rbp + 0x40]
imul eax, eax, 0x187e
imul ecx, ecx, 0x3b21
shl r9d, 0xe
imul r8d, esi, 0x2e75
sub ecx, eax
imul eax, dword [rbp + 0x44], 0x21f9
lea edx, [rcx + r9]
sub r9d, ecx
add r8d, eax
imul ecx, r14d, 0x1ccd
imul eax, r11d, 0x6c2
sub r8d, eax
imul eax, r14d, 0x4587
mov r14, qword [rsp + 0x50]
sub r8d, eax
imul eax, esi, 0x133e
sub ecx, eax
imul eax, r11d, 0x1050
sub ecx, eax
imul eax, dword [rbp + 0x44], 0x5203
add ecx, eax
lea eax, [rdx + rcx]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r14]
mov byte [r10], al
mov eax, edx
sub eax, ecx
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r14]
mov byte [r10 + 3], al
lea eax, [r9 + r8]
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r14]
mov byte [r10 + 1], al
mov eax, r9d
sub eax, r8d
add rax, 0x40000
sar rax, 0x13
and eax, 0x3ff
movzx eax, byte [rax + r14]
mov byte [r10 + 2], al
mov r11, qword [rbp + 0xd8]
mov edx, dword [rsp + 0x34]
mov esi, dword [rbp + 0xc0]
movzx r8d, byte [rsp + 0x30]
mov r14, qword [rsp + 0x58]
dec esi
mov dword [rbp + 0xc0], esi
cmp esi, dword [rbp - 0x38]
jbe case.0x18004d39f.214
mov r10d, dword [rsp + 0x3c]
mov r9, qword [rbp + 0xb8]
jmp 0x18004d370
mov eax, edi
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret