joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4682a0
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 0x46831e
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
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 0x4683a2
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
movzx ecx, word [esi + 0x367a6]
mov word [ebx + 0x2084c], cx
mov eax, dword [esi + 0x367a8]
mov dword [ebx + 0x20848], eax
test cx, cx
jne 0x4683d5
lea eax, [esi + 0x367ac]
push 0xea6a
push eax
lea eax, [ebx + 0x2084e]
jmp 0x4683e7
lea eax, [esi + 0x45218]
push 0x7250
push eax
lea eax, [ebx + 0x2f2b8]
push eax
call fcn.00563820
add esp, 0xc
push esi
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 0x487940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x487aa3
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0041dbd0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x487a76
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x4879f6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x487a69
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x487a30
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x487a28
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x487a69
mov edi, eax
cmp dword [ebp - 4], eax
je 0x487a46
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x487a7f
cmp dword [ebp - 4], eax
jne 0x487a37
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x4879a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x487a69
push str.invalid_hash_bucket_count
call fcn.0056156d
int3
Function at 0x487b40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x487c96
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.00560815
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x487bf9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x487bb7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x487c8c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x487c0d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x487c10
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x487c8c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.00560815
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x487c9d
cmp esi, eax
jne 0x487c67
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x487c20
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x522c80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [0x6167b8]
mov dword [ebp - 0x408], eax
mov eax, dword [edi + 0x33c]
test eax, eax
je 0x522cbe
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x33c], 0
mov eax, dword [edi + 0x48]
cmp byte [eax + 0x630b], 0
je 0x522e1f
cmp word [eax + 0x630c], 0
je 0x522e1f
add eax, 0x2400
push eax
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.00565fee
mov eax, dword [edi + 0x48]
add esp, 0xc
add eax, 0x630c
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x522e1f
push ebx
push esi
mov esi, dword [sym.imp.gdiplus.dll_GdipAlloc]
push 0x10
call esi
mov ebx, eax
test ebx, ebx
je 0x522e1d
mov dword [ebx + 8], 0
lea eax, [ebx + 4]
mov dword [ebx + 0xc], 0
push eax
mov dword [eax], 0
lea eax, [ebp - 0x404]
push eax
mov dword [ebx], vtable.Gdiplus::Image.0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [ebx + 8], eax
mov ecx, dword [edi]
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
inc eax
push eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
inc eax
push eax
push dword [ebp - 0x408]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x33c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x33c]
push dword [edi + 0x338]
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
call esi
mov esi, eax
test esi, esi
je 0x522ddc
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
xorps xmm0, xmm0
push eax
movq qword [esi], xmm0
push dword [edi + 0x338]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x408]
mov dword [esi], eax
jmp 0x522dde
xor esi, esi
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
sub edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
inc edx
sub eax, dword [ecx + 8]
push edx
inc eax
push eax
push 0
push 0
push dword [ebx + 4]
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x522e06
mov dword [esi + 4], eax
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push esi
call dword [sym.imp.gdiplus.dll_GdipFree]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0056060a
mov esp, ebp
pop ebp
ret 4
Function at 0x522e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x438
mov eax, dword [0x5f3008]
xor eax, esp
mov dword [esp + 0x434], eax
push esi
mov esi, dword [0x6167b8]
mov ecx, dword [esi + 0x340]
push edi
lea edi, [esi + 0x340]
test ecx, ecx
je 0x522e6e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
mov eax, dword [esi + 0x48]
cmp byte [eax + 0x630b], 0
je 0x522f70
cmp word [eax + 0x630c], 0
je 0x522f70
add eax, 0x2400
push eax
lea eax, [esp + 0x3c]
push 0x200
push eax
call fcn.00565fee
mov eax, dword [esi + 0x48]
add esp, 0xc
add eax, 0x630c
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x522f70
mov eax, dword [esi + 0x398]
lea edx, [esp + 0x30]
push edx
push 1
push SysReAllocString
push 0
mov dword [esp + 0x40], 0
lea edx, [esp + 0x48]
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x522f70
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jne 0x522f70
mov eax, dword [esi + 0x398]
lea edx, [esp + 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jne 0x522f70
movsd xmm0, qword [0x5ea578]
mov eax, dword [esp + 0x2c]
push 1
sub esp, 8
mov ecx, dword [eax]
movsd qword [esp], xmm0
push 0
push 0
push 0x5866f0
push dword [esp + 0x4c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x522f70
mov eax, dword [esi + 0x390]
push edi
push 0
push dword [esp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
xor ecx, esp
call fcn.0056060a
mov esp, ebp
pop ebp
ret

Function at 0x526130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x526161
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x526150
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x537400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [0x6167a4]
push edi
mov edi, dword [0x616724]
push 0x4000
mov dword [ebp - 0x68], eax
call fcn.00560858
movzx edx, word [esi + 0x3934]
add esp, 4
movzx ecx, word [edi + 0x7570]
mov ebx, eax
cmp dx, 2
je 0x537457
xor ecx, ecx
cmp dx, 1
sete cl
add ecx, 0x3e6
lea eax, [esi + 0x3936]
push eax
movsx eax, cx
push eax
movsx eax, word [esi + 0x3932]
push eax
lea eax, [esi + 0x1932]
push eax
push dword [ebp - 0x68]
lea eax, [edi + 0xc00]
push eax
push str.__s____s____s____d__d__s
push 0x2000
push ebx
call fcn.00406c50
add esp, 0x24
mov dword [ebp - 0x54], 0x44
xor eax, eax
mov dword [ebp - 0x28], 1
mov word [ebp - 0x12], ax
xorps xmm0, xmm0
mov eax, 0xa
movlpd qword [ebp - 0x50], xmm0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
movlpd qword [ebp - 0x48], xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x22], xmm0
movlpd qword [ebp - 0x1a], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x2710
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x64]
call esi
push ebx
call fcn.00560853
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0xc

Function at 0x537530
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x616724]
push edi
push 0x4000
call fcn.00560858
add esp, 4
lea ecx, [esi + 0xc00]
mov edi, eax
push 0x378
push 0
push ecx
push str.__s_______d__d
push 0x2000
push edi
call fcn.00406c50
add esp, 0x18
mov dword [ebp - 0x50], 0x44
xor eax, eax
mov dword [ebp - 0x24], 1
mov word [ebp - 0xe], ax
xorps xmm0, xmm0
mov eax, 0xa
movlpd qword [ebp - 0x4c], xmm0
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x44], xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push edi
push 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x1e], xmm0
movlpd qword [ebp - 0x16], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x2710
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
push edi
call fcn.00560853
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8
Function at 0x537620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x616724]
push edi
push 0x4000
call fcn.00560858
add esp, 4
lea ecx, [esi + 0x1400]
mov edi, eax
push ecx
push str.__s_
push 0x2000
push edi
call fcn.00406c50
add esp, 0x10
mov dword [ebp - 0x50], 0x44
xor eax, eax
mov dword [ebp - 0x24], 1
mov word [ebp - 0xe], ax
xorps xmm0, xmm0
mov eax, 0xa
movlpd qword [ebp - 0x4c], xmm0
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x44], xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push edi
push 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x1e], xmm0
movlpd qword [ebp - 0x16], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x2710
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
push edi
call fcn.00560853
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8

Function at 0x537700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [0x616724]
push 0x4000
call fcn.00560858
movzx ecx, word [edi + 0x7570]
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, ecx
mov dword [ebp - 0x64], 0x378
mov eax, 0x3e7
cmp cx, word [ebp - 0x64]
push 0x5a9ff8
cmove edx, eax
movsx eax, dx
push eax
push dword [ebp + 0x14]
lea eax, [edi + 0xc00]
push esi
push ebx
mov ebx, dword [ebp - 0x68]
push eax
push str.__s____s____s____d__d__s
push 0x2000
push ebx
call fcn.00406c50
add esp, 0x24
mov dword [ebp - 0x50], 0x44
xor eax, eax
mov dword [ebp - 0x24], 1
mov word [ebp - 0xe], ax
xorps xmm0, xmm0
mov eax, 0xa
movlpd qword [ebp - 0x4c], xmm0
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x44], xmm0
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x1e], xmm0
movlpd qword [ebp - 0x16], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x2710
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
push ebx
call fcn.00560853
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x53c4e0
Capabilities:
Check mutex 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 [0x616928]
push edi
mov edi, dword [0x616724]
push str.OYAZIVIEWER_SQL3_MUTEX
push 0
push 0x1f0001
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x53c58a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7d0
mov esi, eax
call fcn.00560858
add esp, 4
mov edi, eax
push esi
push 0x13fa
push 0x5ada04
push 0x5aa1dc
push 0x1f4
push edi
call fcn.00406c50
add esp, 0x18
push 0x30
push 0x591508
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00560853
add esp, 4
mov eax, 0x270f
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [edi + 0x1c00]
push esi
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_open16]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x53c644
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_exec]
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push str.CREATE_TABLE_IF_NOT_EXISTS_logTable__path_TEXT_PRIMARY_KEY_NOT_NULL__lastDate_INTEGER_lastTime_INTEGER_iniData_BLOB_openPath_TEXT_NOT_NULL_title_TEXT_count_INTEGER_charSelect_INTEGER_pageNumber_INTEGER_buffPosition_INTEGER_bkMark01_INTEGER_bkMark02_INTEGER_bkMark03_INTEGER_bkMark04_INTEGER_bkMark05_INTEGER_bkMark06_INTEGER_bkMark07_INTEGER_bkMark08_INTEGER_bkMark09_INTEGER_bkMark10_INTEGER_
push dword [esi]
call edi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x53c5e4
mov esi, dword [ebp - 8]
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x1389
jmp 0x53c614
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.CREATE_TABLE_IF_NOT_EXISTS_bkDescTable__path_TEXT_PRIMARY_KEY_NOT_NULL__bkDesc01_TEXT_bkDesc02_TEXT_bkDesc03_TEXT_bkDesc04_TEXT_bkDesc05_TEXT_bkDesc06_TEXT_bkDesc07_TEXT_bkDesc08_TEXT_bkDesc09_TEXT_bkDesc10_TEXT_
push dword [esi]
call edi
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x53c644
mov esi, dword [ebp - 8]
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x13c4
push esi
push str._s_Place_d_LastCode_d
mov edi, eax
push 0x3e8
push edi
call fcn.00407340
add esp, 0x18
push 0x30
push 0x5aa224
push edi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call fcn.00560853
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 8
Function at 0x53e0b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5f3008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [0x616724]
push esi
mov dword [eax], 0
mov dword [ebp - 0x414], eax
mov eax, dword [0x616928]
push edi
push 0
mov dword [ebp - 0x410], ecx
lea esi, [eax + 4]
push esi
push 0xffffffffffffffff
push str.SELECT_path__count_FROM_logTable_WHERE_path___
push dword [eax]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare16]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x53e16f
push 0x3e8
call fcn.00560858
add esp, 4
push edi
push 0x13a6
push str.SQLite3_prepare_error
push str._s_Place_d_LastCode_d
mov esi, eax
push 0x3e8
push esi
call fcn.00407340
add esp, 0x18
push 0x30
push 0x5aa224
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.00560853
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebx + 0x1800]
push eax
lea eax, [ebp - 0x408]
push 0x200
push eax
call fcn.00565fee
add esp, 0xc
lea ecx, [ebp - 0x408]
call fcn.0040d890
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x53e1e8
lea eax, [ebp - 0x408]
push eax
call edi
dec eax
cmp word [ebp + eax*2 - 0x408], 0x2f
lea ecx, [eax - 1]
cmovne ecx, eax
test ecx, ecx
js 0x53e1e8
nop dword [eax]
movzx eax, word [ebp + ecx*2 - 0x408]
cmp eax, 0x2f
je 0x53e1e8
cmp eax, 0x2e
je 0x53e1e8
cmp eax, 0x23
je 0x53e1de
sub ecx, 1
jns 0x53e1c0
jmp 0x53e1e8
xor eax, eax
mov word [ebp + ecx*2 - 0x408], ax
push 0
lea eax, [ebp - 0x408]
push eax
call edi
add eax, eax
push eax
lea eax, [ebp - 0x408]
push eax
push 1
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text16]
add esp, 0x14
test eax, eax
jne 0x53e262
mov eax, dword [esi]
test eax, eax
je 0x53e262
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_count]
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
push dword [esi]
call edi
add esp, 4
cmp eax, 0x64
jne 0x53e262
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_column_text16]
push 0
push dword [esi]
call ebx
push 1
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
mov eax, dword [ebp - 0x414]
inc dword [eax]
push dword [esi]
call edi
add esp, 0x14
cmp eax, 0x64
je 0x53e236
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov edi, eax
add esp, 4
test edi, edi
je 0x53e290
push 0x3e8
call fcn.00560858
add esp, 4
push edi
push 0x13a7
push str.SQLite3_finalize_error
jmp 0x53e128
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056060a
mov esp, ebp
pop ebp
ret 0x10