Function at 0x18004e470
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov edi, dword [rsp + 0xb0]
mov r13, r9
lea eax, [rdi + 0x447]
mov dword [rsp + 0x44], eax
cmp edi, eax
jae 0x18004e771
mov r15, qword [rsp + 0xb8]
mov esi, dword [rsp + 0xb0]
mov ebp, dword [rsp + 0xb0]
mov r12d, dword [rsp + 0xb0]
mov r14d, dword [rsp + 0xb0]
mov ebx, dword [rsp + 0xb0]
xor r8d, r8d
lea r9, [0x180000000]
cmp edi, 0x173
ja 0x18004e564
je 0x18004e553
lea eax, [rdi - 0x5c]
cmp eax, 0xfe
ja case.0x18004e50d.95
movzx eax, byte [r9 + rax + 0x4e878]
mov ecx, dword [r9 + rax*4 + 0x4e85c]
add rcx, r9
jmp rcx
mov rax, qword [r15]
cmp dword [rax], 0x7f2bb701
jne 0x18004e7eb
cmp qword [r13], 0
jne case.0x18004e50d.95
mov rax, qword [rax + 0x48]
mov qword [r13], rax
jmp case.0x18004e50d.95
mov r14d, r8d
jmp case.0x18004e50d.95
cmp qword [r13], 0
jne case.0x18004e50d.95
mov eax, 0x7f2bb727
jmp 0x18004e778
lea rcx, str.n_sivustokohtaisesti_Tallennustila_v
call fcn.1800d6920
jmp case.0x18004e50d.95
cmp edi, 0x235
ja 0x18004e75e
je 0x18004e5f0
mov eax, edi
sub eax, 0x1a3
je 0x18004e595
sub eax, 0x19
je 0x18004e851
cmp eax, 0x30
jne case.0x18004e50d.95
mov esi, r14d
jmp case.0x18004e50d.95
mov eax, dword [rdx]
mov r8, qword [r15]
test eax, eax
je 0x18004e5b4
mov rcx, qword [r8 + 0x20]
lea r14d, [rax - 1]
mov eax, r14d
xor edx, edx
div dword [rcx + 0x28]
sub r14d, edx
inc r14d
mov rax, qword [r8 + 0x20]
mov ecx, 0xb
mov edx, dword [rax + 0x4c]
test edx, edx
je 0x18004e5c7
mov ecx, dword [rax + 0x54]
cmp r14d, ecx
jae 0x18004e5da
mov r14d, ILFindLastID
test edx, edx
je 0x18004e5da
mov r14d, dword [rax + 0x54]
cmp r14d, dword [rax]
jbe case.0x18004e50d.95
mov eax, 0x7f2bb749
jmp 0x18004e778
mov edi, 0xf8
nop word [rax + rax]
cmp edi, 0xf8
je 0x18004e71c
cmp edi, 0x3c10
je 0x18004e6be
cmp edi, 0x7728
je 0x18004e674
cmp edi, 0xb240
je 0x18004e65b
cmp edi, 0xed58
jne 0x18004e72e
mov rax, qword [r15]
mov rcx, qword [rax + 0x20]
cmp esi, dword [rcx]
jbe 0x18004e72e
cmp dword [rcx + 0x4c], 0
jne 0x18004e653
mov esi, 0xb
jmp 0x18004e72e
mov esi, dword [rcx + 0x54]
jmp 0x18004e72e
test ebx, ebx
je 0x18004e753
cmp ebx, 2
jne 0x18004e5e3
lea esi, [rbp + 1]
jmp 0x18004e72e
mov rax, qword [r15]
lea r9, [rsp + 0x30]
mov r8d, 0x6b
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x20]
mov eax, dword [rcx]
cmp ebp, eax
lea rcx, [rsp + 0x38]
cmovbe eax, ebp
mov ebp, eax
mov dword [rsp + 0x38], eax
mov rax, qword [r13]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.180047de0
mov rbx, rax
jmp 0x18004e72e
mov r8, qword [r15]
lea eax, [rsi - 1]
xor edx, edx
mov qword [rsp + 0x48], r8
lea r9, [rsp + 0x30]
mov rcx, qword [r8 + 0x20]
lea r8, [rsp + 0x38]
div dword [rcx + 0x28]
xor edx, edx
mov dword [rsp + 0x38], eax
mov rax, qword [r13]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
lea ecx, [rdx + 0x2c]
mov qword [rsp + 0x20], rax
call fcn.180024400
mov rax, qword [r15]
mov rcx, qword [rax + 0x20]
mov ebp, dword [rcx + 0x28]
sub ebp, r12d
add ebp, esi
cmp esi, r14d
jae 0x18004e72e
cmp ebp, r14d
jb 0x18004e72e
lea ebp, [r14 - 1]
jmp 0x18004e72e
mov rax, qword [r15]
xor edx, edx
mov rcx, qword [rax + 0x20]
lea eax, [rsi - 1]
div dword [rcx + 0x28]
mov r12d, edx
add edi, 0x3b18
cmp edi, 0x12778
jbe 0x18004e600
cmp esi, r14d
jne 0x18004e5f0
mov edi, 0x235
jmp case.0x18004e50d.95
mov esi, dword [rsp + 0x40]
mov edi, 0x235
jmp case.0x18004e50d.95
mov eax, edi
sub eax, 0x27e
je 0x18004e79a
sub eax, 0x49
je 0x18004e790
cmp eax, 0x49
jne case.0x18004e50d.95
mov eax, dword [rsp + 0xb0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0xb0], r8d
jmp case.0x18004e50d.95
mov rax, qword [r13]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], r8
mov r9d, 0x9d
lea r8, [rsp + 0x38]
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov dword [rsp + 0x38], esi
call fcn.180038130
test eax, eax
jne 0x18004e5e3
mov rax, qword [rsp + 0xa0]
mov dword [rax], esi
add edi, 0x49
cmp edi, dword [rsp + 0x44]
jae 0x18004e771
mov rdx, qword [rsp + 0x98]
jmp 0x18004e4d7
mov eax, 0x7f2bb701
jmp 0x18004e778
mov rax, qword [r15]
test rax, rax
je 0x18004e815
cmp dword [rax], 0x52530a0a
jne 0x18004e815
movzx eax, byte [rax + 0x1d8]
mov byte [rsp + 0xb0], al
jmp 0x18004e771
mov byte [rsp + 0xb0], 0
jmp 0x18004e771
mov rax, qword [r15]
test rax, rax
je 0x18004e849
cmp dword [rax], 0x52530a0a
jne 0x18004e849
movsd xmm0, qword [rax + 0x60]
mulsd xmm0, qword [0x1801e4838]
cvttsd2si rax, xmm0
jmp 0x18004e778
mov eax, r8d
jmp 0x18004e778
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3