Function at 0x402854
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x438
lea rbx, [rsp + 0x250]
mov qword [rsp + 0x488], rdx
mov rbp, rcx
lea rcx, [rbx + 0xd0]
mov byte [rsp + 0x50], 0x52
mov byte [rsp + 0x51], 0x49
mov byte [rsp + 0x52], 0x46
mov byte [rsp + 0x53], 0x46
mov byte [rsp + 0x58], 0x57
mov byte [rsp + 0x59], 0x41
mov byte [rsp + 0x5a], 0x56
mov byte [rsp + 0x5b], 0x45
mov byte [rsp + 0x5c], 0x66
mov byte [rsp + 0x5d], 0x6d
mov byte [rsp + 0x5e], 0x74
mov byte [rsp + 0x5f], 0x20
mov dword [rsp + 0x60], 0x10
mov byte [rsp + 0x74], 0x64
mov byte [rsp + 0x75], 0x61
mov byte [rsp + 0x76], 0x74
mov byte [rsp + 0x77], 0x61
mov byte [rsp + 0x30], 0x6e
mov byte [rsp + 0x31], 0x61
mov byte [rsp + 0x32], 0x63
mov byte [rsp + 0x33], 0x20
mov byte [rsp + 0x48], 0x64
mov byte [rsp + 0x49], 0x61
mov byte [rsp + 0x4a], 0x74
mov byte [rsp + 0x4b], 0x61
call fcn.0046a650
mov rcx, rbx
mov rax, qword [0x00492b20]
mov byte [rsp + 0x400], 0
xor edx, edx
mov qword [rsp + 0x3f8], 0
mov byte [rsp + 0x401], 0
mov qword [rsp + 0x408], 0
mov qword [rsp + 0x410], 0
mov qword [rsp + 0x418], 0
mov qword [rsp + 0x420], 0
add rax, 0x10
mov qword [rsp + 0x320], rax
mov rax, qword [0x004927f0]
mov rdi, qword [rax + 8]
mov r12, qword [rax + 0x10]
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x250], rdi
mov qword [rsp + rax + 0x250], r12
mov qword [rsp + 0x258], 0
add rcx, qword [rdi - 0x18]
call fcn.0046b640
mov rsi, qword [0x00492910]
lea rcx, [rbx + 0x10]
lea rax, [rsi + 0x18]
mov qword [rsp + 0x250], rax
lea rax, [rsi + 0x40]
mov qword [rsp + 0x320], rax
call fcn.004554d0
lea rdx, [rbx + 0x10]
lea rcx, [rbx + 0xd0]
call fcn.0046b640
lea rcx, [rbx + 0x10]
mov r8d, 0xc
mov rdx, rbp
call fcn.00454020
test rax, rax
mov rcx, rbx
mov rax, qword [rsp + 0x250]
je 0x402eb4
add rcx, qword [rax - 0x18]
xor edx, edx
call fcn.0046b6a0
test byte [rsp + 0x340], 5
je 0x402b00
test rbp, rbp
je 0x402e96
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov rcx, qword [0x00492770]
mov rdx, rbp
mov r8, rax
call fcn.0046d260
mov rcx, qword [0x00492770]
mov r8d, 0x1d
lea rdx, str._:_No_such_file_or_directory_n
call fcn.0046d260
mov rdx, qword [0x004928d0]
mov r14d, 1
mov r13, qword [0x00492930]
lea rax, [rsi + 0x18]
add rdx, 0x10
add rsi, 0x40
add r13, 0x10
lea rcx, [rbx + 0x10]
mov qword [rsp + 0x260], rdx
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x320], rsi
call fcn.00454160
lea rcx, [rbx + 0x58]
call fcn.00453750
lea rcx, [rbx + 0x48]
mov qword [rsp + 0x260], r13
call fcn.00468e60
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x250], rdi
lea rcx, [rbx + 0xd0]
mov qword [rsp + rax + 0x250], r12
mov rax, qword [0x00492b20]
add rax, 0x10
mov qword [rsp + 0x320], rax
call fcn.0046a700
mov eax, r14d
add rsp, 0x438
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x30]
mov r8d, 0x20
mov rcx, rbx
mov rdx, r15
call fcn.0044b570
lea r13, [rsp + 0x50]
mov r8d, 0x2c
mov rcx, rbx
mov rdx, r13
call fcn.0044b570
mov r8d, 4
lea rdx, str.RIFF
mov rcx, r13
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x402bb2
test rbp, rbp
je 0x402ec8
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov rcx, qword [0x00492770]
mov rdx, rbp
mov r8, rax
call fcn.0046d260
mov rcx, qword [0x00492770]
mov r8d, 0x1b
lea rdx, str.:_WAVE_Format_is_corrupted_n
call fcn.0046d260
lea rcx, [rbx + 0x10]
call fcn.00454160
test rax, rax
jne 0x402a55
mov rax, qword [rsp + 0x250]
mov rcx, rbx
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 4
call fcn.0046b6a0
jmp 0x402a55
lea rcx, [r13 + 8]
lea rdx, str.WAVE
mov r8d, 4
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x402b45
lea rcx, [r13 + 0xc]
lea rdx, str.fmt
mov r8d, 4
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x402b45
lea rcx, [r13 + 0x24]
lea rdx, str.data
mov r8d, 4
call sub.msvcrt.dll_memcmp
mov r14d, eax
test eax, eax
jne 0x402b45
cmp dword [rsp + 0x60], 0x10
jne 0x402b45
movsx eax, word [rsp + 0x72]
movsx edx, word [rsp + 0x66]
mov ecx, dword [rsp + 0x68]
imul edx, eax
test edx, edx
lea eax, [rdx + 7]
cmovns eax, edx
movsx edx, word [rsp + 0x70]
sar eax, 3
cmp eax, edx
jne 0x402b45
imul eax, ecx
cmp eax, dword [rsp + 0x6c]
jne 0x402b45
movsxd rcx, dword [rsp + 0x78]
call fcn.004722f0
movsxd rcx, dword [rsp + 0x4c]
mov qword [rsp + 0x20], rax
call fcn.004722f0
movsxd r8, dword [rsp + 0x4c]
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.0044b570
lea rcx, [rbx + 0x10]
call fcn.00454160
test rax, rax
je 0x402f20
mov rdx, qword [rsp + 0x20]
mov r8, r15
mov rcx, rbp
lea rbp, [rsp + 0x80]
call fcn.00401e31
lea rcx, [rbp + 0xc8]
call fcn.0046a650
mov rax, qword [0x00492b20]
mov byte [rsp + 0x228], 0
mov rcx, rbp
mov qword [rsp + 0x220], 0
xor edx, edx
mov byte [rsp + 0x229], 0
mov qword [rsp + 0x230], 0
mov qword [rsp + 0x238], 0
mov qword [rsp + 0x240], 0
add rax, 0x10
mov qword [rsp + 0x248], 0
mov qword [rsp + 0x148], rax
mov rax, qword [0x00492800]
mov r15, qword [rax + 8]
mov rax, qword [rax + 0x10]
add rcx, qword [r15 - 0x18]
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x28], rax
mov qword [rcx], rax
call fcn.0046b640
mov rax, qword [0x00492920]
lea rcx, [rbp + 8]
add rax, 0x18
mov qword [rsp + 0x80], rax
mov rax, qword [0x00492920]
add rax, 0x40
mov qword [rsp + 0x148], rax
call fcn.004554d0
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xc8]
call fcn.0046b640
mov rdx, qword [rsp + 0x488]
lea rcx, [rbp + 8]
mov r8d, 0x14
call fcn.00454020
test rax, rax
mov rcx, rbp
mov rax, qword [rsp + 0x80]
je 0x402f05
add rcx, qword [rax - 0x18]
xor edx, edx
call fcn.0046b6a0
mov r8d, 0x2c
mov rdx, r13
mov rcx, rbp
call fcn.0044d6d0
movsxd r8, dword [rsp + 0x78]
mov rcx, rbp
mov rdx, qword [rsp + 0x20]
call fcn.0044d6d0
lea rcx, [rbp + 8]
call fcn.00454160
test rax, rax
je 0x402ee6
mov rax, qword [0x00492920]
mov rdx, qword [0x004928d0]
lea rcx, [rbp + 8]
add rax, 0x18
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x80], rax
mov rax, qword [0x00492920]
add rax, 0x40
mov qword [rsp + 0x148], rax
lea rax, [rdx + 0x10]
mov qword [rsp + 0x88], rax
call fcn.00454160
lea rcx, [rbp + 0x50]
call fcn.00453750
mov r13, qword [0x00492930]
lea rcx, [rbp + 0x40]
lea rax, [r13 + 0x10]
mov qword [rsp + 0x88], rax
call fcn.00468e60
mov rax, qword [r15 - 0x18]
lea rcx, [rbp + 0xc8]
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x80], r15
mov qword [rsp + rax + 0x80], rdx
mov rax, qword [0x00492b20]
add rax, 0x10
mov qword [rsp + 0x148], rax
call fcn.0046a700
mov rdx, qword [rsp + 0x20]
jmp 0x402a69
mov rcx, qword [0x00492770]
mov rax, qword [rcx]
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 1
call fcn.0046b6a0
jmp 0x402a3c
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 4
call fcn.0046b6a0
jmp 0x402a0b
mov rcx, qword [0x00492770]
mov rax, qword [rcx]
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 1
call fcn.0046b6a0
jmp 0x402b68
mov rax, qword [rsp + 0x80]
mov rcx, rbp
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 4
call fcn.0046b6a0
jmp 0x402de8
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 4
call fcn.0046b6a0
jmp 0x402db3
mov rax, qword [rsp + 0x250]
mov rcx, rbx
add rcx, qword [rax - 0x18]
mov edx, dword [rcx + 0x20]
or edx, 4
call fcn.0046b6a0
jmp 0x402c8e
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
mov rbx, rdx
call fcn.00410180
cmp esi, 3
jle 0x47316e
mov rsi, qword [rbx + 8]
mov ecx, 3
lea rdi, [0x0048a08a]
repe cmpsb byte [rsi], byte [rdi]
je 0x47315a
mov rcx, qword [0x00492770]
lea rdx, str.Invalid_option__expected__c_or__d_n
call fcn.00470680
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x402854
mov rdx, qword [rbx]
mov rcx, qword [0x00492770]
call fcn.00470680
lea rdx, str.:_Not_enough_arguments_n
mov rcx, rax
call fcn.00470680
jmp 0x47314d