joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4608d0
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x616724]
push esi
push edi
push str.OYAZIVIEWER_INIT_MUTEX
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebx + 0x20834], eax
test eax, eax
jne 0x46094e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x84e
push 0x5ada04
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
push 4
push dword [ebx + 0x20838]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
test edx, edx
jne 0x4609d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x84f
push str.qQ_tg
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
push dword [ebx + 0x20834]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [edx + 8]
cmp dword [ecx], 0
jne 0x4609ea
inc eax
add ecx, 0x10b0
cmp eax, 0x32
jl 0x4609d7
jmp 0x460a29
imul ecx, eax, 0x10b0
movzx eax, byte [ecx + edx + 0x78a]
mov byte [ebx + 0x53a2], al
movzx eax, byte [ecx + edx + 0x78b]
mov byte [ebx + 0x53a3], al
movzx eax, byte [ecx + edx + 0x78c]
add ecx, edx
mov byte [ebx + 0x53a4], al
movzx eax, byte [ecx + 0x78d]
mov byte [ebx + 0x53a5], al
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebx + 0x20834]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464db0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x616724]
push edi
push esi
mov word [ebp - 8], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x464e75
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x464e5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
push esi
push 0x852
push 0x5aabc8
push 0x5aa1dc
mov edi, eax
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x1c
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x53a2], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
je 0x464e8c
push 0x5b2b0c
jmp 0x464e91
push 0x5b066c
push str.WordUnit
push str.Find
call edi
cmp byte [esi + 0x53a3], 0
push esi
je 0x464eae
push 0x5b2b0c
jmp 0x464eb3
push 0x5b066c
push str.Uppercase
push str.Find
call edi
cmp byte [esi + 0x53a4], 0
push esi
je 0x464ed0
push 0x5b2b0c
jmp 0x464ed5
push 0x5b066c
push str.RegularExpression
push str.Find
call edi
cmp byte [esi + 0x53a5], 0
push esi
je 0x464ef2
push 0x5b2b0c
jmp 0x464ef7
push 0x5b066c
push str.AutoClose
push str.Find
call edi
push esi
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x465140
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [0x616724]
push esi
push edi
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x40], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46520d
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4651f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x854
push 0x5aabc8
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
push esi
push 0x5a9ffc
mov dword [ebx + 0x5358], eax
lea eax, [ebp - 0x1c]
push 0xa
push eax
mov dword [ebx + 0x5354], esi
call fcn.00406c50
sar esi, 0x1f
xor edx, edx
and esi, 1
mov ecx, eax
add esi, 4
add esp, 0x10
sub ecx, esi
cmp eax, esi
cmovl ecx, edx
cmp ecx, eax
jge 0x46526e
sub eax, ecx
lea esi, [ebp - 0x1c]
lea esi, [esi + ecx*2]
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
jmp 0x465270
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
push ebx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
push eax
push str.WindowPositionX
push str.Setting
call edi
mov esi, dword [ebx + 0x5358]
lea eax, [ebp - 0x1c]
push esi
push 0x5a9ffc
push 0xa
push eax
call fcn.00406c50
sar esi, 0x1f
xor edx, edx
and esi, 1
mov ecx, eax
add esi, 4
add esp, 0x10
sub ecx, esi
cmp eax, esi
cmovl ecx, edx
cmp ecx, eax
jge 0x4652de
sub eax, ecx
lea esi, [ebp - 0x1c]
lea esi, [esi + ecx*2]
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4652e0
xor eax, eax
xor ecx, ecx
push ebx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
push eax
push str.WindowPositionY
push str.Setting
call edi
push ebx
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x465320
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [0x616724]
push esi
push edi
mov edi, dword [ebp + 8]
push ebx
mov dword [ebp - 0x58], edi
mov word [ebp - 0x40], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4653ed
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4653d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x855
push 0x5aabc8
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
movsx esi, word [ebx + 0x634c]
mov eax, dword [ebp - 0x54]
push esi
mov dword [ebx + 0x5354], eax
mov eax, dword [ebp - 0x50]
push 0x5a9ffc
mov dword [ebx + 0x5358], eax
lea eax, [ebp - 0x1c]
push 0xa
push eax
call fcn.00406c50
sar esi, 0x1f
xor edx, edx
and esi, 1
mov ecx, eax
inc esi
add esp, 0x10
sub ecx, esi
cmp eax, esi
cmovl ecx, edx
cmp ecx, eax
jge 0x465453
sub eax, ecx
lea esi, [ebp - 0x1c]
lea esi, [esi + ecx*2]
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
jmp 0x465455
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
push ebx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
push eax
push str.FilterIndex
push str.OtherSetting
call esi
push ebx
push 0
push 0
push 0
call esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x466d80
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x616724]
push edi
mov word [ebp - 8], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466e45
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x466e2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
push esi
push 0x853
push 0x5aabc8
push 0x5aa1dc
mov edi, eax
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x1c
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [edi + 0x365f0]
mov ecx, 0x378
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
cmp word [edi + 0x7570], cx
jne 0x466e86
test al, al
je 0x466e75
push 0x5b2b0c
push str.SelectMode
push str.ScrapSetting
jmp 0x466ea0
push 0x5b066c
push str.SelectMode
push str.ScrapSetting
jmp 0x466ea0
test al, al
je 0x466e91
push 0x5b2b0c
jmp 0x466e96
push 0x5b066c
push str.SelectMode
push str.Setting
call esi
push edi
push 0
push 0
push 0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x466ec0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x616724]
push edi
push esi
mov word [ebp - 8], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466f85
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x466f6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
push esi
push 0x85f
push 0x5aabc8
push 0x5aa1dc
mov edi, eax
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x1c
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x6c59], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
je 0x466f9c
push 0x5b2b0c
jmp 0x466fa1
push 0x5b066c
push str.NavigationBar
push str.OtherSetting
call edi
push esi
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x466fd0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x616724]
push esi
push edi
push ebx
mov dword [ebp - 0x44], eax
mov word [ebp - 0x3c], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46709d
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x467083
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x860
push 0x5aabc8
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x40]
push eax
push 2
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebx + 0x6c5c]
lea eax, [ebp - 0x18]
push esi
push 0x5a9ffc
push 0xa
push eax
call fcn.00406c50
sar esi, 0x1f
xor edx, edx
and esi, 1
mov ecx, eax
add esi, 9
add esp, 0x10
sub ecx, esi
cmp eax, esi
cmovl ecx, edx
cmp ecx, eax
jge 0x4670e7
sub eax, ecx
lea esi, [ebp - 0x18]
lea esi, [esi + ecx*2]
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
jmp 0x4670e9
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
push ebx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x38]
push eax
push str.NavigationBarPosX
push str.OtherSetting
call edi
mov esi, dword [ebx + 0x6c60]
lea eax, [ebp - 0x18]
push esi
push 0x5a9ffc
push 0xa
push eax
call fcn.00406c50
sar esi, 0x1f
xor edx, edx
and esi, 1
mov ecx, eax
add esi, 9
add esp, 0x10
sub ecx, esi
cmp eax, esi
cmovl ecx, edx
cmp ecx, eax
jge 0x467157
sub eax, ecx
lea esi, [ebp - 0x18]
lea esi, [esi + ecx*2]
mov ecx, eax
shr ecx, 1
lea edi, [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
adc ecx, ecx
rep movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x467159
xor eax, eax
xor ecx, ecx
push ebx
mov word [ebp + eax*2 - 0x38], cx
lea eax, [ebp - 0x38]
push eax
push str.NavigationBarPosY
push str.OtherSetting
call edi
push ebx
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x467190
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x616724]
push edi
push esi
mov word [ebp - 8], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x467255
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46723b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
push esi
push 0x85f
push 0x5aabc8
push 0x5aa1dc
mov edi, eax
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x1c
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x6c64], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
je 0x46726c
push 0x5b2b0c
jmp 0x467271
push 0x5b066c
push str.Favorite
push str.OtherSetting
call edi
push esi
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x467700
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x616724]
push edi
push esi
mov word [ebp - 8], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4677c5
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4677ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
push esi
push 0x853
push 0x5aabc8
push 0x5aa1dc
mov edi, eax
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x1c
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x6c67], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
je 0x4677dc
push 0x5b2b0c
jmp 0x4677e1
push 0x5b066c
push str.BookMarkAutoClose
push str.Setting
call edi
cmp byte [esi + 0x6c68], 0
push esi
je 0x4677fe
push 0x5b2b0c
jmp 0x467803
push 0x5b066c
push str.BookMarkHeadingTrace
push str.Setting
call edi
push esi
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4

Function at 0x467830
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x616724]
push edi
push esi
mov word [ebp - 8], 0xfeff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4678f5
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4678db
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
push esi
push 0x863
push 0x5aabc8
push 0x5aa1dc
mov edi, eax
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x1c
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x6c69], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
je 0x46790c
push 0x5b2b0c
jmp 0x467911
push 0x5b066c
push str.Folder
push str.OtherSetting
call edi
push esi
push 0
push 0
push 0
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x467dd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [0x616724]
push esi
push edi
push str.OYAZIVIEWER_INIT_MUTEX
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebx + 0x20834], eax
test eax, eax
jne 0x467e52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
call fcn.00560858
add esp, 4
mov esi, eax
push 0x270f
push 0x85d
push 0x5ada04
push 0x5aa1dc
push 0x1f4
push esi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
push 2
push dword [ebx + 0x20838]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x467ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x85e
push str.qQ_tg
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
jmp 0x467f5f
lea eax, [esi + 0x3639e]
push eax
push 0x200
push dword [ebp + 8]
call fcn.00565fee
add esp, 0xc
lea eax, [esi + 0x3631c]
push eax
push 0x41
push dword [ebp + 0xc]
call fcn.00565fee
mov al, byte [esi + 0x367a4]
add esp, 0xc
mov byte [ebx + 0x20847], al
test al, al
je 0x467f51
mov eax, dword [esi + 0x367a8]
mov dword [ebx + 0x20848], eax
movzx eax, word [esi + 0x367a6]
mov word [ebx + 0x2084c], ax
test ax, ax
jne 0x467f36
lea eax, [esi + 0x367ac]
push 0xea6a
push eax
lea eax, [ebx + 0x2084e]
jmp 0x467f48
lea eax, [esi + 0x45218]
push 0x7250
push eax
lea eax, [ebx + 0x2f2b8]
push eax
call fcn.00563820
add esp, 0xc
push esi
mov byte [esi + 0x367a4], 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebx + 0x20834]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4680e0
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x616724]
push esi
push edi
push str.OYAZIVIEWER_INIT_MUTEX
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebx + 0x20834], eax
test eax, eax
jne 0x468162
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x861
push 0x5ada04
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
push 2
push dword [ebx + 0x20838]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x4681e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x862
push str.qQ_tg
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
push dword [ebx + 0x20834]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0xc]
lea eax, [esi + 0x3639e]
push 0x200
push eax
call fcn.00565fee
add esp, 0xc
lea eax, [esi + 0x3631c]
push dword [ebp + 0x10]
push 0x41
push eax
call fcn.00565fee
mov al, byte [ebx + 0x20847]
add esp, 0xc
mov byte [esi + 0x367a4], al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebx + 0x20834]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
imul edi, dword [ebp + 8], 0x80c
mov esi, dword [edi + ebx + 0x75b8]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x46824f
push 9
jmp 0x468260
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x46825e
push 3
jmp 0x468260
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push 0
push 0x8045
push dword [edi + ebx + 0x75b8]
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc