Function at 0x180057ec0
Capabilities:
Create thread
Get file size
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x368]
sub rsp, 0x468
mov rax, qword [0x180072270]
xor rax, rsp
mov qword [rbp + 0x358], rax
mov rsi, r9
mov qword [rsp + 0x68], r9
mov r12, r8
mov qword [rbp - 0x60], rdx
mov r14, rcx
movdqa xmm0, xmmword [0x180068a40]
movdqa xmmword [rbp + 0x250], xmm0
mov byte [rbp + 0x240], 0
movdqa xmm1, xmm0
movdqa xmmword [rbp + 0x270], xmm0
mov byte [rbp + 0x260], 0
movdqa xmmword [rbp + 0x290], xmm0
mov byte [rbp + 0x280], 0
movdqa xmmword [rbp + 0x2c0], xmm0
mov byte [rbp + 0x2b0], 0
movdqa xmmword [rbp + 0x2e0], xmm0
mov byte [rbp + 0x2d0], 0
xor ecx, ecx
mov qword [rbp + 0xe0], rcx
mov word [rbp + 0xe8], cx
movdqu xmmword [rbp + 0xfa], xmm0
mov byte [rbp + 0xea], cl
mov qword [rbp + 0xb0], rcx
mov word [rbp + 0xb8], cx
movdqu xmmword [rbp + 0xca], xmm0
mov byte [rbp + 0xba], cl
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rcx
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rcx
mov qword [rbp + 0x120], rcx
mov ecx, 0x30
call fcn.18005dd9c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x118], rax
xor edx, edx
mov qword [rbp + 0x128], rdx
xorps xmm2, xmm2
movsd qword [rbp + 0x130], xmm2
mov qword [rbp + 0x138], rdx
mov r8d, 1
mov dword [rbp + 0x140], r8d
mov qword [rbp + 0x148], rdx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
movdqa xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], rdx
mov qword [rbp + 0x188], 0xffffffffffffffff
mov dword [rbp + 0x190], edx
xor eax, eax
movups xmmword [rbp + 0x198], xmm0
movups xmmword [rbp + 0x1a8], xmm0
movups xmmword [rbp + 0x1b8], xmm0
movups xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], rax
movdqa xmm0, xmmword [0x180068a40]
movdqa xmmword [rbp + 0x1f0], xmm0
mov byte [rbp + 0x1e0], al
mov word [rbp + 0x200], dx
mov dword [rbp + 0x204], edx
mov qword [rbp + 0x208], rdx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x210], xmm0
movsd qword [rbp + 0x220], xmm2
mov byte [rbp + 0x228], al
mov qword [rbp + 0x22c], rdx
mov eax, dword [rbp + 0x3d0]
mov edi, eax
mov dword [rsp + 0x50], eax
lea ebx, [rax + 0x13]
mov dword [rsp + 0x40], ebx
cmp eax, ebx
mov ebx, dword [rsp + 0x60]
jae 0x18005860f
lea r13d, [rax - 0x79]
lea edx, [r8 + 0x73]
lea r10d, [r8 + 0x67]
lea r9d, [r8 + 0x62]
lea r11d, [r8 + 0x68]
mov r15d, dword [rsp + 0x58]
mov eax, dword [rsp + 0x40]
nop word [rax + rax]
cmp r13d, 0x2d
ja case.default.0x18005812b
lea rcx, [0x180000000]
movzx eax, byte [rcx + r13 + 0x5949c]
mov ecx, dword [rcx + rax*4 + 0x59450]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov dword [rbp + 0x32b], 0x53734e
jmp case.0x18005812b.2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x60]
mov qword [rcx], rax
mov r8d, 1
mov edx, 0x74
lea r9d, [rdx - 0x11]
lea r10d, [rdx - 0xc]
lea r11d, [rdx - 0xb]
jmp case.0x18005812b.2
mov eax, dword [0x180096148]
sub dword [0x18009c3e4], eax
jmp case.0x18005812b.2
mov word [rbp + 0x31c], r10w
mov eax, 0x2e
mov word [rbp + 0x31d], ax
mov word [rbp + 0x31e], r9w
jmp case.0x18005812b.2
cmp r15d, 0xffffffff
jne case.0x18005812b.2
mov esi, 0x1a
nop word [rax + rax]
mov eax, esi
sub eax, 0x19
je 0x18005838c
cmp eax, 1
jne 0x1800581f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9d, edi
mov r8, r14
lea rdx, str.BW00_BergWave_4CC_V_Wavelet__BergWave__Wavelet_
call fcn.18005dbb0
dec esi
cmp esi, 0x18
ja 0x1800581c0
mov edi, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
jmp 0x18005815d
mov eax, 0x6566
mov word [rbp + 0x312], ax
mov dword [rbp + 0x314], 0x616f63
mov word [rbp + 0x317], r9w
jmp case.0x18005812b.2
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x18005832e
mov esi, 0x102
mov eax, esi
sub eax, 0x102
je 0x1800582e4
sub eax, 1
je 0x1800582df
cmp eax, 1
jne 0x180058312
mov r8d, ebx
mov ebx, r8d
lea rcx, [rbp + 0x188]
call fcn.180003700
mov rdi, qword [rbp + 0x170]
test rdi, rdi
je 0x180059258
mov rsi, qword [rbp + 0x178]
cmp rdi, rsi
je 0x1800582a8
mov rcx, rdi
call fcn.18004bce0
add rdi, 0x20
cmp rdi, rsi
jne 0x180058290
mov rdi, qword [rbp + 0x170]
mov r8, qword [rbp + 0x180]
sub r8, rdi
sar r8, 5
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.180050aa0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
xor r14d, r14d
mov qword [rbp + 0x180], r14
jmp 0x18005925b
mov ebx, r8d
jmp 0x180058312
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9d, edi
mov r8, r14
lea rdx, str.d_d_d______d_pppppppppppppppppppppppppppptppppppppppp_____d__
call fcn.18005dbb0
mov r8d, 1
inc esi
cmp esi, 0x105
jb 0x180058243
mov rax, qword [rsp + 0x70]
mov edi, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov edx, 4
cmp dword [rsi], 0
mov ecx, 2
cmovne edx, ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbp - 0x80], rax
cmp rax, 0
jne 0x18005815d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9d, ebx
mov r8, r14
lea rdx, str.____Intel_R__OMP_build_compiler:_Intel_C_Compiler_14.0
call fcn.18005dbb0
mov r8d, 1
jmp 0x180058265
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r15d, eax
jmp 0x18005815d
cmp dword [0x18009c3e4], 0
jge case.0x18005812b.2
mov edi, 0xa4
nop
mov eax, edi
sub eax, 0xa4
je 0x1800583eb
sub eax, 0x24
je 0x1800583df
cmp eax, 0x24
jne 0x1800583f1
xor edx, edx
lea ecx, [rax + 0x11]
call fcn.1800111d0
jmp 0x1800583f1
mov dword [0x18009c3e4], 6
jmp 0x1800583f1
dec dword [0x18009286c]
add edi, 0x24
cmp edi, 0x110
jb 0x1800583c0
mov edi, dword [rsp + 0x50]
jmp 0x18005815d
mov word [rbp + 0x311], r11w
jmp case.0x18005812b.2
mov eax, dword [rsi]
lea edx, [rax + rax*2]
shl edx, 0x1e
bts edx, 0x1f
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x18005815d
mov esi, 0x79
mov ecx, esi
sub ecx, 0x79
je 0x180058479
sub ecx, 1
je 0x18005846e
cmp ecx, 1
je case.0x18005866f.158
jmp 0x1800584a1
mov r8d, 1
mov ebx, r8d
jmp 0x1800584a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r9d, edi
mov r8, r14
lea rdx, str.Lcom_yourkit_probes_builtin_FilesLW_3_
call fcn.18005dbb0
mov r8d, 1
inc esi
cmp esi, 0x7c
jb 0x180058457
mov edi, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
jmp 0x180058163
mov eax, 0x6c
mov word [rbp + 0x310], ax
jmp case.0x18005812b.2
mov word [rbp + 0x318], r10w
mov eax, 0x70
mov word [rbp + 0x319], ax
mov eax, 0x7461
mov word [rbp + 0x31a], ax
jmp case.0x18005812b.2
test r15d, r15d
jne 0x18005854a
mov edi, 0x126
nop dword [rax]
cmp edi, 0x126
je 0x180058516
cmp edi, 0x82ec
je case.0x18005866f.158
jmp 0x180058538
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, r14
lea rdx, str.LocalPointerRegisterIsUsed
call fcn.18005dbb0
mov ebx, 1
add edi, 0x81c6
cmp edi, 0x1038c
jbe 0x180058500
mov edi, dword [rsp + 0x50]
mov r8d, 2
cmp dword [rsi], 0
mov eax, 4
cmovne r8d, eax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x70], rax
jmp 0x18005815d
mov eax, 0x6f
mov word [rbp + 0x31f], ax
mov eax, 0x6d
mov word [rbp + 0x320], ax
mov eax, 0x53
mov word [rbp + 0x328], ax
jmp case.0x18005812b.2
mov eax, 0x97
nop dword [rax]
cmp eax, 0x97
je 0x1800585c4
cmp eax, 0x2fc7
je case.0x18005866f.158
jmp 0x1800585ca
mov dword [r12], r15d
xor ebx, ebx
add eax, 0x2f30
cmp eax, 0x5e60
jbe 0x1800585b0
mov eax, 0x65
mov word [rbp + 0x329], ax
mov word [rbp + 0x32a], dx
jmp case.0x18005812b.2
mov word [rbp + 0x32e], dx
mov eax, dword [rsp + 0x40]
inc edi
mov dword [rsp + 0x50], edi
inc r13d
cmp edi, eax
jb 0x180058100
mov eax, dword [rbp + 0x3d0]
xor edx, edx
cmp eax, dword [rsp + 0x40]
jae case.0x180058e6f.21
mov r10d, 0x1bb
mov r11d, 0x61
mov r9d, 0x616e
mov r13d, dword [rsp + 0x58]
mov qword [rbp - 0x40], r13
mov r12d, dword [rsp + 0x58]
mov qword [rsp + 0x68], r12
mov r15d, dword [rsp + 0x58]
mov qword [rbp - 0x80], r15
mov r14d, dword [rbp - 0x70]
mov edi, 0x75
add eax, 0xffffff74
cmp eax, 0x12
ja case.default.0x18005866f
lea rsi, [0x180000000]
mov ecx, dword [rsi + rax*4 + 0x594cc]
add rcx, rsi
jmp rcx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x90], rax
mov eax, dword [0x180071de0]
mov dword [rbp + 0x98], eax
mov eax, dword [0x180071de4]
mov dword [rbp + 0x9c], eax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0xa0], xmm0
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], edx
lea r9, [rbp + 0xa0]
lea r8, [0x180023430]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x60], rax
jmp 0x180059221
mov qword [rbp + 0x78], rdx
jmp case.default.0x18005866f
mov ebx, edx
jmp case.default.0x18005866f
mov byte [rsp + 0x48], 1
mov word [rbp + 0x2a0], r10w
mov r9d, 0x53
lea r8, [rbp + 0x280]
xor edx, edx
xor ecx, ecx
call fcn.180031d50
jmp 0x180059221
lea r8, [rbp - 0x20]
xor edx, edx
mov ecx, 0xb0
call fcn.18001f450
lea rax, [rbp + 0xe0]
mov qword [rbp - 0x68], rax
mov rdx, qword [rbp - 0x18]
cmp rdx, qword [rbp - 0x10]
je 0x18005873b
lea rax, [rbp + 0xe0]
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x180058748
lea r8, [rbp - 0x68]
lea rcx, [rbp - 0x20]
call fcn.180001680
lea r9, [rbp + 0x78]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov dword [rbp - 0x68], eax
jmp 0x180059221
mov word [rbp + 0x32f], r11w
mov dword [rbp + 0x330], 0x737574
lea rdx, [0x180071d38]
mov ecx, 0x4c
call fcn.180015810
test al, al
jne 0x180059221
mov esi, 0x2e
mov dword [rsp + 0x50], esi
cmp esi, 0x1a2
ja 0x1800588b3
je 0x1800588a9
cmp esi, 0xe8
ja 0x180058847
je 0x180058814
mov eax, esi
sub eax, 0x2e
je 0x180058803
sub eax, 0x3e
je 0x1800587da
cmp eax, 0x3e
jne 0x1800589fe
mov ecx, 0x54
mov word [rbp + 0x2f7], cx
jmp 0x1800589fe
mov eax, 0x79
mov word [rbp + 0x2f1], ax
lea r8d, [rax - 0x74]
lea rdx, str.Usage
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x1800589fe
mov eax, 0x6d
mov word [rbp + 0x2f0], ax
jmp 0x1800589fe
mov dword [rbp + 0x2f8], 0x657268
mov eax, 0x73
mov word [rbp + 0x2fb], ax
lea r8d, [rax - 0x72]
lea rdx, [0x18006123c]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp 0x1800589fe
mov eax, esi
sub eax, 0x126
je 0x18005887b
cmp eax, 0x3e
jne 0x1800589fe
movsd xmm0, qword [str.dPercent]
movsd qword [rbp + 0x2ff], xmm0
movzx eax, byte [0x180061230]
mov byte [rbp + 0x307], al
jmp 0x1800589fe
mov eax, 0x6f
mov word [rbp + 0x2fd], ax
lea rcx, [rbp + 0x2f0]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x180058891
movzx eax, word [0x180061224]
mov word [rcx], ax
jmp 0x1800589fe
mov byte [rsp + 0x47], 1
jmp 0x1800589fe
cmp esi, 0x29a
ja 0x1800589e5
je 0x180058939
mov eax, esi
sub eax, 0x1e0
je 0x180058918
sub eax, 0x3e
je 0x18005890b
cmp eax, 0x3e
jne 0x1800589fe
mov qword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x78]
mov edx, r13d
lea rcx, [rbp + 0x2f0]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
test eax, eax
je 0x1800589fe
mov byte [rsp + 0x47], 0
jmp 0x1800589fe
xor eax, eax
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x58], eax
jmp 0x1800589fe
lea rax, [rbp + 0x2f0]
mov r13, 0xffffffffffffffff
inc r13
cmp byte [rax + r13], 0
jne 0x180058926
mov qword [rbp - 0x40], r13
jmp 0x1800589fe
cmp byte [rsp + 0x47], 0
je 0x1800589da
mov edi, 0x108
mov rcx, qword [rsp + 0x70]
mov esi, dword [rbp - 0x2c]
mov r15d, dword [rbp - 0x30]
mov r12d, 1
nop dword [rax + rax]
mov eax, edi
sub eax, 0x108
je 0x1800589b5
sub eax, 0x3b
je 0x1800589a8
cmp eax, 0x3b
jne 0x1800589bb
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
lea r9, [rbp + 0x88]
mov r8d, r15d
mov edx, esi
call sub.RPCRT4.dll_MesBufferHandleReset
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800589bb
call sub.RPCRT4.dll_MesHandleFree
mov rcx, qword [rsp + 0x70]
jmp 0x1800589bb
mov qword [rbp + 0x88], 0
jmp 0x1800589bb
mov esi, r12d
xor r15d, r15d
add edi, 0x3b
cmp edi, 0x1b9
jb 0x180058960
mov dword [rbp - 0x30], r15d
mov dword [rbp - 0x2c], esi
mov esi, dword [rsp + 0x50]
mov r15, qword [rbp - 0x80]
mov r12, qword [rsp + 0x68]
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
jmp 0x1800589fe
mov eax, esi
sub eax, 0x2d8
je 0x1800589f9
cmp eax, 0x3e
je case.0x180058e6f.21
jmp 0x1800589fe
mov ebx, 1
add esi, 0x3e
mov dword [rsp + 0x50], esi
cmp esi, 0x354
jb 0x180058794
jmp 0x180059221
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
jmp 0x180059221
xor edx, edx
mov r8d, 0x121
lea rcx, [rbp + 0x110]
call fcn.180026840
xor edx, edx
mov ecx, edx
movzx eax, byte [rsp + 0x44]
cmp dword [rbp - 0x54], edx
cmove ecx, eax
mov byte [rsp + 0x44], cl
jmp 0x180059223
lea rax, [rbp + 0x328]
mov qword [rbp + 0x80], rax
mov r8d, 0x119
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x240]
call fcn.18001b3c0
jmp 0x180059221
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x4c]
lea rcx, [rbp + 0x80]
call sub.RPCRT4.dll_MesEncodeDynBufferHandleCreate
mov dword [rbp - 0x54], eax
jmp 0x180059221
mov word [rsp + 0x50], r10w
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x82
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x180071d98]
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.180020a90
jmp 0x180059221
mov ecx, dword [rbp - 0x50]
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
cmp byte [rsp + 0x48], 0
je 0x180058b46
mov edi, 0xbf
nop dword [rax]
mov eax, edi
sub eax, 0xbf
je 0x180058b23
sub eax, 0x21
je 0x180058b13
cmp eax, 0x21
jne 0x180058b3b
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x180058b3b
call sub.RPCRT4.dll_MesHandleFree
jmp 0x180058b3b
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x180058b3b
call sub.RPCRT4.dll_MesHandleFree
jmp 0x180058b3b
mov qword [rbp + 0x30], 0
lea r8, [rbp + 0x30]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov dword [rbp - 0x68], eax
add edi, 0x21
cmp edi, 0x122
jb 0x180058af0
cmp byte [rsp + 0x44], 0
je 0x180059221
mov rcx, qword [rbp + 0x38]
call sub.RPCRT4.dll_MesHandleFree
jmp 0x180059221
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x18]
cmp rdx, qword [rbp - 0x10]
je 0x180058b86
lea rax, [rbp + 0xb0]
mov qword [rdx], rax
add qword [rbp - 0x18], 8
jmp 0x180058b94
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.180001680
mov qword [rbp + 0x38], 0
mov eax, dword [0x180071de0]
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
mov ecx, 0xa4
call fcn.18001cbe0
jmp 0x180059221
cmp dword [rbp - 0x68], 0
je 0x180058d81
mov esi, 0x87
mov r15d, dword [rbp - 0x74]
mov r12d, dword [rsp + 0x78]
movzx r13d, byte [rsp + 0x4a]
movzx r14d, byte [rsp + 0x49]
cmp esi, 0x4623
ja 0x180058c60
je 0x180058c3c
cmp esi, 0x87
je 0x180058c34
cmp esi, 0x17bb
je 0x180058c28
cmp esi, 0x2eef
jne 0x180058d4b
mov qword [rbp + 0x48], rdx
lea r9, [rbp + 0x58]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov r12d, eax
mov dword [rsp + 0x78], eax
jmp 0x180058d4b
mov r14b, 1
mov qword [rbp + 0x58], rdx
jmp 0x180058d4b
mov r13b, 1
jmp 0x180058d4b
lea r9, [rbp + 0x48]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
mov r15d, eax
test r12d, r12d
je 0x180058d4b
xor r13b, r13b
jmp 0x180058d4b
cmp esi, 0x5d57
je 0x180058cde
cmp esi, 0x748b
je 0x180058c86
cmp esi, 0x8bbf
jne 0x180058d4b
mov byte [rsp + 0x48], 0
jmp 0x180058d4b
test r14b, r14b
je 0x180058d4b
mov edi, 0x23
cmp edi, 0x23
je 0x180058ca7
cmp edi, 0x1324
jne 0x180058cc9
mov rcx, qword [rbp + 0x40]
jmp 0x180058cbf
mov qword [rbp + 0x40], rdx
lea r8, [rbp + 0x40]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov r15d, eax
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x180058cc9
call sub.RPCRT4.dll_MesHandleFree
add edi, 0x1301
cmp edi, 0x2602
mov edx, 0
jbe 0x180058c94
jmp 0x180058d4b
mov ecx, edx
movzx eax, r14b
test r15d, r15d
cmove ecx, eax
movzx r14d, cl
test r13b, r13b
je 0x180058d4b
mov edi, 0xa7
cmp edi, 0xa7
je 0x180058d13
cmp edi, 0x3f47
jne 0x180058d38
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x180058d38
jmp 0x180058d31
mov qword [rbp + 0x50], rdx
lea r8, [rbp + 0x50]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov dword [rsp + 0x78], eax
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180058d36
call sub.RPCRT4.dll_MesHandleFree
xor edx, edx
add edi, 0x3ea0
cmp edi, 0x7d40
jbe 0x180058cf8
mov r12d, dword [rsp + 0x78]
add esi, 0x1734
cmp esi, 0xa26c
mov edx, 0
jbe 0x180058be2
mov byte [rsp + 0x49], r14b
mov byte [rsp + 0x4a], r13b
mov dword [rbp - 0x74], r15d
mov r14d, dword [rbp - 0x70]
mov r15, qword [rbp - 0x80]
mov r12, qword [rsp + 0x68]
mov r13, qword [rbp - 0x40]
lea rax, [0x18000df90]
mov qword [rsp + 0x50], rax
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.18000a780
mov r9d, 0xf0
lea r8, [0x180071d30]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x110]
call fcn.180022f30
jmp 0x180059221
mov byte [rsp + 0x44], 1
lea rdx, [0x180060b84]
lea rcx, [rbp + 0x260]
call fcn.18004c5f0
jmp 0x180059221
lea rax, [rbp + 0x310]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180058df0
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x240]
call fcn.18004c5f0
jmp 0x180059221
mov word [rsp + 0x50], r10w
mov r9d, 0x101
lea r8, [0x180071db8]
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.18002b920
xor edx, edx
mov dword [rbp - 0x50], edx
mov dword [rbp - 0x4c], edx
jmp 0x180059223
mov rax, qword [rbp - 0x60]
test rax, rax
jne 0x180059218
mov esi, edx
cmp esi, 0x15
ja case.default.0x180058e6f
mov eax, esi
lea r8, [0x180000000]
mov ecx, dword [r8 + rax*4 + 0x59518]
add rcx, r8
jmp rcx
mov word [rbp + 0x2f0], di
jmp case.default.0x180058e6f
cmp byte [rsp + 0x45], 0
je 0x180058ee0
mov ebx, 0xf3
nop dword [rax]
mov eax, ebx
sub eax, 0xf1
je 0x180058ec6
sub eax, 1
je 0x180058ec0
cmp eax, 1
jne 0x180058ed6
mov qword [rbp + 0x60], rdx
lea r8, [rbp + 0x60]
mov edx, r12d
lea rcx, [rbp + 0x2f0]
call sub.RPCRT4.dll_MesDecodeBufferHandleCreate
mov dword [rsp + 0x60], eax
jmp 0x180058ed4
mov rcx, qword [rbp + 0x70]
jmp 0x180058eca
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x180058ed6
call sub.RPCRT4.dll_MesHandleFree
xor edx, edx
dec ebx
cmp ebx, 0xf0
ja 0x180058e90
cmp byte [rsp + 0x46], 0
je 0x180058f9c
mov edi, 0x12a
xor r13d, r13d
lea r12d, [r13 + 0x70]
cmp edi, 0x12a
je 0x180058f78
cmp edi, 0x641c
je 0x180058f60
cmp edi, 0xc70e
je 0x180058f27
cmp edi, 0x12a00
jne 0x180058f7c
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x180058f7c
call sub.RPCRT4.dll_MesHandleFree
jmp 0x180058f7c
cmp qword [rbp - 0x38], r13
je 0x180058f7c
mov ebx, r12d
mov eax, ebx
sub eax, 0x6f
je 0x180058f41
cmp eax, 1
jne 0x180058f53
mov r14d, r13d
jmp 0x180058f53
mov ecx, r14d
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
mov rcx, qword [rbp - 0x38]
call sub.RPCRT4.dll_MesHandleFree
dec ebx
cmp ebx, 0x6e
ja 0x180058f30
mov dword [rbp - 0x70], r14d
jmp 0x180058f7c
lea r8, [rbp + 0x68]
mov edx, r15d
lea rcx, [rbp + 0x338]
call sub.RPCRT4.dll_MesDecodeBufferHandleCreate
mov dword [rbp - 0x6c], eax
jmp 0x180058f7c
mov qword [rbp + 0x68], r13
add edi, 0x62f2
cmp edi, 0x18bc8
jbe 0x180058ef7
mov r12, qword [rsp + 0x68]
mov r13, qword [rbp - 0x40]
mov edi, 0x75
mov ebx, 1
xor edx, edx
mov r9d, 0x616e
jmp case.default.0x180058e6f
mov dword [rbp - 0x48], edx
jmp case.default.0x180058e6f
mov qword [rbp - 0x38], rdx
lea r9, [rbp + 0x70]
lea r8, [rbp - 0x48]
mov edx, r12d
lea rcx, [rbp + 0x2f0]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov dword [rsp + 0x60], eax
xor edx, edx
mov r9d, 0x616e
jmp case.default.0x180058e6f
mov r8d, 2
lea rdx, [0x180061240]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x180061244]
mov word [rbp + 0x308], ax
mov word [rbp + 0x30a], di
xor edx, edx
mov r9d, 0x616e
jmp case.default.0x180058e6f
mov ecx, edx
movzx eax, byte [rsp + 0x46]
cmp dword [rbp - 0x6c], 0
cmove ecx, eax
mov byte [rsp + 0x46], cl
jmp case.default.0x180058e6f
mov word [rbp + 0x349], r9w
mov byte [rbp + 0x34b], 0
jmp case.default.0x180058e6f
mov dword [rbp + 0x34f], 0x6168732d
mov byte [rbp + 0x353], 0
jmp case.default.0x180058e6f
mov byte [rbp + 0x355], 0
mov byte [rsp + 0x45], 1
jmp case.default.0x180058e6f
mov dword [rsp + 0x58], edx
jmp case.default.0x180058e6f
mov eax, dword [0x180061254]
mov dword [rbp + 0x344], eax
movzx eax, byte [0x180061258]
mov byte [rbp + 0x348], al
mov byte [rbp + 0x349], 0
jmp case.default.0x180058e6f
lea r9, [rbp - 0x38]
lea r8, [rsp + 0x58]
mov edx, r15d
lea rcx, [rbp + 0x338]
call sub.RPCRT4.dll_MesEncodeFixedBufferHandleCreate
mov dword [rbp - 0x6c], eax
xor edx, edx
mov ecx, edx
movzx eax, byte [rsp + 0x45]
cmp dword [rsp + 0x60], edx
cmove ecx, eax
mov byte [rsp + 0x45], cl
mov r9d, 0x616e
jmp case.default.0x180058e6f
mov byte [rsp + 0x46], 1
jmp case.default.0x180058e6f
lea rax, [rbp + 0x2f0]
mov r12, 0xffffffffffffffff
inc r12
cmp byte [rax + r12], 0
jne 0x1800590f0
mov qword [rsp + 0x68], r12
lea rax, [rbp + 0x338]
mov r15, 0xffffffffffffffff
nop dword [rax]
inc r15
cmp byte [rax + r15], 0
jne 0x180059110
mov qword [rbp - 0x80], r15
jmp case.default.0x180058e6f
mov eax, dword [str.nsign]
mov dword [rbp + 0x2f1], eax
movzx eax, word [0x18006126c]
mov word [rbp + 0x2f5], ax
mov eax, dword [str.ed_va]
mov dword [rbp + 0x2f6], eax
movzx eax, word [0x180061274]
mov word [rbp + 0x2fa], ax
mov dword [rbp + 0x2fb], 0x65756c
jmp case.default.0x180058e6f
mov eax, dword [str.baseline_getelem_typedarray_shape]
mov dword [rbp + 0x338], eax
movzx eax, byte [0x18006127c]
mov byte [rbp + 0x33c], al
mov dword [rbp + 0x33d], 0x2d656e69
jmp case.default.0x180058e6f
mov qword [rbp + 0x70], rdx
jmp case.default.0x180058e6f
mov r8d, 4
lea rdx, [0x1800612b5]
lea rcx, [rbp + 0x34b]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
xor edx, edx
mov r9d, 0x616e
jmp case.default.0x180058e6f
movsd xmm0, qword [0x1800612d8]
movsd qword [rbp + 0x2fe], xmm0
movzx eax, byte [0x1800612e0]
mov byte [rbp + 0x306], al
jmp case.default.0x180058e6f
movzx eax, word [0x18006135c]
mov word [rbp + 0x341], ax
movzx eax, byte [0x18006135e]
mov byte [rbp + 0x343], al
mov byte [rbp + 0x344], 0
jmp case.default.0x180058e6f
mov word [rbp + 0x353], 0x6570
inc esi
lea eax, [rsi + 0x81]
cmp eax, 0x97
jb 0x180058e52
mov rax, qword [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r11d, 0x61
mov r10d, 0x1bb
mov r9d, 0x616e
mov eax, dword [rbp + 0x3d0]
inc eax
mov dword [rbp + 0x3d0], eax
cmp eax, dword [rsp + 0x40]
jae case.0x180058e6f.21
mov r8d, 1
jmp 0x18005864b
xor r14d, r14d
mov rdx, qword [rbp + 0x158]
test rdx, rdx
je 0x180059293
mov r8, qword [rbp + 0x168]
sub r8, rdx
sar r8, 4
lea rcx, [rbp + 0x158]
call fcn.180050a00
mov qword [rbp + 0x158], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
lea rcx, [rbp + 0x118]
call fcn.180003630
nop
mov rdi, qword [rbp - 8]
test rdi, rdi
je 0x180059331
mov rsi, qword [rbp]
cmp rdi, rsi
je 0x1800592cb
mov rcx, rdi
call fcn.180002f40
add rdi, 0x28
cmp rdi, rsi
jne 0x1800592b6
mov rdi, qword [rbp - 8]
mov rcx, qword [rbp + 8]
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, rdi
cmp rdx, 0x1000
jb 0x18005931d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18005931d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.18005ddd8
mov qword [rbp - 8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x18005935a
mov r8, qword [rbp - 0x10]
sub r8, rdx
sar r8, 3
lea rcx, [rbp - 0x20]
call fcn.1800509b0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov rdx, qword [rbp + 0xd2]
cmp rdx, 0x10
jb 0x18005939e
inc rdx
mov rcx, qword [rbp + 0xba]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180059399
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180059399
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005ddd8
movdqa xmm0, xmmword [0x180068a40]
movdqu xmmword [rbp + 0xca], xmm0
mov byte [rbp + 0xba], 0
mov rdx, qword [rbp + 0x102]
cmp rdx, 0x10
jb 0x1800593f9
inc rdx
mov rcx, qword [rbp + 0xea]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800593f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800593f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005ddd8
movdqa xmm0, xmmword [0x180068a40]
movdqu xmmword [rbp + 0xfa], xmm0
mov byte [rbp + 0xea], 0
lea rcx, [rbp + 0x2b0]
call fcn.1800032a0
nop
lea rcx, [rbp + 0x240]
call fcn.180003350
mov eax, ebx
mov rcx, qword [rbp + 0x358]
xor rcx, rsp
call fcn.18005e580
add rsp, 0x468
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret