joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cff0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x3bc
xor ebx, ebx
lea eax, [esi + 0x88]
push ebx
push eax
call fcn.0058d7c0
push 0x110
xor edi, edi
inc edi
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [esi + 0x444], ebx
mov dword [esi + 0x448], edi
mov dword [esi + 0x44c], edi
mov dword [esi + 0x46c], ebx
mov dword [esi + 0x470], edi
mov dword [esi + 0x84], ebx
mov dword [esi + 0x468], ebx
mov dword [esi + 0x454], ebx
mov dword [esi + 0x474], ebx
mov dword [ebp - 0x80], 0x114
call fcn.0058d7c0
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x48d08c
cmp dword [ebp - 0x7c], 5
jae 0x48d08e
xor edi, edi
mov ecx, dword [ebp + 0x94]
mov dword [esi + 0x450], edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058c0de
add ebp, 0x98
leave
ret

Function at 0x48f37e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x48f389
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x48f444
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x6596d8]
inc edx
sub edi, 8
dec esi
jne 0x48f3a9
pop ebx
test edi, edi
je 0x48f45d
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x6596d8]
inc edx
dec edi
jne 0x48f448
pop edi
not eax
pop esi
ret

Function at 0x48f90b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x48f93f
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48f93a
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x48f967
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x48f950
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0058ca40
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret
Function at 0x49083c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4908e6
movzx ecx, word [esi]
test cx, cx
je 0x4908e6
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x49087a
cmp cx, 0x5c
jne 0x49087c
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x49086e
cmp eax, esi
je 0x4908ba
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00594de5
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0049083c
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00594dc6
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00594d98
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0058c0de
leave
ret

Function at 0x492156
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4921d1
cmp dword [esi + 4], 0xffffffff
jne 0x4921d1
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x6431a4
push edi
call fcn.00594d98
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4921a3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4921a3
mov eax, 0x2000000
jmp 0x4921d6
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048f721
add esp, 0x10
test eax, eax
jne 0x4921c1
mov eax, dword [ebp + 0x10]
jmp 0x4921d6
push eax
call fcn.00491d52
mov dword [esi], eax
mov eax, dword [0x6bfeec]
pop ecx
jmp 0x4921d6
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x499800
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x62c8a3
call fcn.0058c0ed
mov edi, ecx
push 0
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebx, eax
test ebx, ebx
je 0x4998f1
mov esi, 0x104
push esi
lea eax, [ebp + 0x208]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402035
and dword [ebp - 4], 0
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4998cf
cmp dword [edi + 0x7c], 0
jne 0x49987e
push ebx
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x4998cf
lea eax, [ebp + 0x208]
push eax
push 0x6401e8
call fcn.0058de67
pop ecx
pop ecx
test eax, eax
je 0x4998cf
push esi
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
xor eax, eax
push eax
push 0xd6
push eax
push eax
push dword [ebp - 0x10]
add edi, 0x88
push eax
push 3
mov ecx, edi
call fcn.0055a155
lea ecx, [ebp]
push ecx
push 1
push eax
mov ecx, edi
call fcn.0055908c
mov edi, dword [ebp - 0x14]
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
mov ebx, eax
call fcn.00401493
test ebx, ebx
jne 0x499840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.0058c0de
add ebp, 0x414
leave
ret

Function at 0x49fe93
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
mov eax, 0x62ce7f
call fcn.0058c0ed
push dword [ecx + 0x20]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x49ff14
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0049f713
push eax
inc esi
push esi
push ebx
call fcn.0058d03f
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00402e31
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov bl, 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
mov al, bl
call fcn.0058c1c5
ret 4
Function at 0x4a8794
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 4
mov eax, 0x62e457
call fcn.0058c0ed
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xce4]
mov dword [ebp - 4], 0x24
call fcn.0055e9d8
lea ecx, [esi + 0xc90]
mov byte [ebp - 4], 0x23
call fcn.0055e9d8
lea ecx, [esi + 0xc3c]
mov byte [ebp - 4], 0x22
call fcn.0055e9d8
lea ecx, [esi + 0xbd4]
mov byte [ebp - 4], 0x21
call fcn.004048eb
lea ecx, [esi + 0xb6c]
mov byte [ebp - 4], 0x20
call fcn.004048eb
lea ecx, [esi + 0xb04]
mov byte [ebp - 4], 0x1f
call fcn.004048eb
lea ecx, [esi + 0xa9c]
mov byte [ebp - 4], 0x1e
call fcn.004048eb
lea ecx, [esi + 0xa48]
mov byte [ebp - 4], 0x1d
call fcn.0055e9d8
lea ecx, [esi + 0x9f4]
mov byte [ebp - 4], 0x1c
call fcn.005595d7
lea ecx, [esi + 0x9a0]
mov byte [ebp - 4], 0x1b
call fcn.0055ebfc
lea ecx, [esi + 0x94c]
mov byte [ebp - 4], 0x1a
call fcn.0055ecba
lea ecx, [esi + 0x8f8]
mov byte [ebp - 4], 0x19
call fcn.0055e9d8
lea ecx, [esi + 0x8a4]
mov byte [ebp - 4], 0x18
call fcn.0055ebfc
lea ecx, [esi + 0x850]
mov byte [ebp - 4], 0x17
call fcn.0055ecba
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x7fc]
call fcn.005595d7
lea ecx, [esi + 0x794]
mov byte [ebp - 4], 0x15
call fcn.004048eb
lea ecx, [esi + 0x740]
mov byte [ebp - 4], 0x14
call fcn.0055ebfc
lea ecx, [esi + 0x6ec]
mov byte [ebp - 4], 0x13
call fcn.0055ebfc
lea ecx, [esi + 0x698]
mov byte [ebp - 4], 0x12
call fcn.0055e9d8
lea ecx, [esi + 0x644]
mov byte [ebp - 4], 0x11
call fcn.0055e9d8
lea ecx, [esi + 0x5f0]
mov byte [ebp - 4], 0x10
call fcn.0055ecba
lea ecx, [esi + 0x59c]
mov byte [ebp - 4], 0xf
call fcn.005595d7
lea ecx, [esi + 0x534]
mov byte [ebp - 4], 0xe
call fcn.004048eb
lea ecx, [esi + 0x4e0]
mov byte [ebp - 4], 0xd
call fcn.0055e9d8
lea ecx, [esi + 0x48c]
mov byte [ebp - 4], 0xc
call fcn.0055e9d8
lea ecx, [esi + 0x438]
mov byte [ebp - 4], 0xb
call fcn.0055e9d8
lea ecx, [esi + 0x3e4]
mov byte [ebp - 4], 0xa
call fcn.0055e9d8
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 9
call fcn.0055e9d8
lea ecx, [esi + 0x33c]
mov byte [ebp - 4], 8
call fcn.0055e9d8
lea ecx, [esi + 0x2e8]
mov byte [ebp - 4], 7
call fcn.0055e9d8
lea ecx, [esi + 0x294]
mov byte [ebp - 4], 6
call fcn.0055e9d8
lea ecx, [esi + 0x22c]
mov byte [ebp - 4], 5
call fcn.004048eb
lea ecx, [esi + 0x1c4]
mov byte [ebp - 4], 4
call fcn.004048eb
lea ecx, [esi + 0x170]
mov byte [ebp - 4], 3
call fcn.0055e9d8
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 2
call fcn.0055e9d8
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 1
call fcn.0055e9d8
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0
call fcn.0055e9d8
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00566436
call fcn.0058c1c5
ret
Function at 0x4ac528
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x62e6bf
call fcn.0058c0ed
mov esi, ecx
mov eax, dword [esi + 0x1aec]
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x4ac5a5
lea ebx, [esi + 0x2a0]
mov ecx, ebx
call fcn.00402576
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4ac711
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.005592a1
mov edi, eax
test edi, edi
je 0x4ac58f
push dword [edi]
mov ecx, dword [esi + 0x18b4]
call fcn.004091aa
test eax, eax
je 0x4ac58f
mov eax, dword [eax + 0xac]
cmp dword [edi + 0x28], eax
je 0x4ac58f
mov dword [edi + 0x28], eax
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.0040266e
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4ac55c
jmp 0x4ac6fb
cmp eax, 1
jne 0x4ac695
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x18]
call fcn.004018a6
and dword [ebp - 4], 0
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x20]
call fcn.004018a6
push 6
lea eax, [ebp - 0x18]
push str.SELECT__key___SELECT_count___FROM__stickies__WHERE__category____c_._key__AND__noteclass____i__AS_count_FROM__categories__AS_c_WHERE__key____1
push eax
mov byte [ebp - 4], 1
call fcn.00401e49
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x4ac674
jmp 0x4ac666
push 0
push dword [ebp - 0x14]
call fcn.00442db6
push 1
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.00442db6
add esp, 0x10
lea ecx, [esi + 0x2a0]
mov ebx, eax
call fcn.00402576
jmp 0x4ac660
push edi
lea ecx, [esi + 0x2a0]
call fcn.005592a1
test eax, eax
je 0x4ac654
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 8], ecx
jne 0x4ac654
cmp dword [eax + 0x28], ebx
je 0x4ac654
mov dword [eax + 0x28], ebx
mov byte [ebp - 0xd], 1
push edi
lea ecx, [esi + 0x2a0]
call fcn.0040266e
mov edi, eax
test edi, edi
jne 0x4ac630
push dword [ebp - 0x14]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4ac607
push dword [ebp - 0x14]
call fcn.00477166
pop ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401493
jmp 0x4ac6fb
cmp eax, 2
jne 0x4ac711
mov ecx, dword [esi + 0x18b4]
call fcn.0040e32d
lea ebx, [esi + 0x2a0]
mov ecx, ebx
call fcn.00402576
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4ac711
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.005592a1
mov edi, eax
test edi, edi
je 0x4ac6ea
push dword [edi + 4]
mov ecx, dword [esi + 0x18b4]
call fcn.00409fc0
test eax, eax
je 0x4ac6ea
mov eax, dword [eax + 0xc]
cmp dword [edi + 0x28], eax
je 0x4ac6ea
mov dword [edi + 0x28], eax
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
mov ecx, ebx
call fcn.0040266e
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4ac6b9
cmp byte [ebp - 0xd], 0
je 0x4ac711
push 1
push 0
push dword [esi + 0x2c0]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.0058c1c5
ret
Function at 0x4ac8b8
Capabilities:
Reference sql statements

Disassembly:
push 8
mov eax, 0x62e705
call fcn.0058c0ed
mov esi, ecx
xor bl, bl
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push str.SELECT__flags__FROM__categories__WHERE__key____i
push eax
call fcn.00401e49
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x4ac93a
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
jmp 0x4ac935
push 0
push dword [ebp - 0x10]
call fcn.00442db6
push dword [ebp - 0x10]
mov ebx, eax
shr ebx, 1
and bl, 1
call fcn.004887a0
add esp, 0xc
cmp eax, 0x65
jne 0x4ac919
push dword [ebp - 0x10]
call fcn.00477166
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401493
mov al, bl
call fcn.0058c1c5
ret 4
Function at 0x4aca6a
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x62e77c
call fcn.0058c0ed
mov esi, ecx
mov eax, dword [esi + 0x18b4]
xor ebx, ebx
push ebx
push ebx
push ebx
push str.BEGIN_TRANSACTION_
push dword [eax + 0xbb4]
call fcn.00488a1c
add esp, 0x14
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x18]
call fcn.004018a6
mov dword [ebp - 4], ebx
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
push 1
push 4
lea eax, [ebp - 0x18]
push str.SELECT__stickies_._key___content_rtf_._rtf__FROM__stickies__LEFT_JOIN__content_rtf__ON__stickies_._key____content_rtf_._key__WHERE____flags____i___0__AND____flags____i___0_
push eax
mov byte [ebp - 4], 1
call fcn.00401e49
add esp, 0x10
cmp byte [ebp + 8], bl
je 0x4acae8
push 1
push 4
lea eax, [ebp - 0x18]
push str.SELECT__stickies_._key___content_rtf_._rtf__FROM__stickies__LEFT_JOIN__content_rtf__ON__stickies_._key____content_rtf_._key__WHERE____flags____i___0__AND____flags____i___0__AND__search__IS_NULL
push eax
call fcn.00401e49
add esp, 0x10
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x14
cmp eax, ebx
jne 0x4acb8e
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
je 0x4acb8e
lea edi, [esi + 0x78]
push ebx
push dword [ebp - 0x10]
call fcn.00442db6
pop ecx
pop ecx
mov ecx, dword [esi + 0x18b4]
push 1
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d4a8
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004a0717
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004a0e9f
push dword [ebp - 0x1c]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00418a9a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401493
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4acb1f
push dword [ebp - 0x10]
call fcn.00477166
mov eax, dword [esi + 0x18b4]
push ebx
push ebx
push ebx
push str.COMMIT_TRANSACTION_
push dword [eax + 0xbb4]
call fcn.00488a1c
mov ecx, dword [ebp - 0x14]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret 4
Function at 0x4acca8
Capabilities:
Reference sql statements

Disassembly:
push 8
mov eax, 0x62e7da
call fcn.0058c0ed
mov esi, ecx
xor ebx, ebx
mov byte [esi + 0x1c68], bl
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
push str.manage.encrypted.password
lea eax, [ebp - 0x14]
push str.SELECT__FROM__options__WHERE__option____s
push eax
mov dword [ebp - 4], ebx
call fcn.00401e49
mov edi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push edi
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x4acd1c
jmp 0x4acd0e
mov byte [esi + 0x1c68], 1
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4acd07
push dword [ebp - 0x10]
call fcn.00477166
mov bl, byte [esi + 0x1c68]
pop ecx
lea ecx, [edi - 0x10]
call fcn.00401493
mov al, bl
call fcn.0058c1c5
ret

Function at 0x4acd3b
Capabilities:
Reference sql statements

Disassembly:
push 0xc
mov eax, 0x62e7fd
call fcn.0058c0ed
mov esi, ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x18], ebx
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
and dword [ebp - 4], edi
push 6
lea eax, [ebp - 0x14]
push str.SELECT__flags__FROM__stickies__WHERE__noteclass____i
push eax
call fcn.00401e49
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x14]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
test eax, eax
jne 0x4acdbe
jmp 0x4acdb0
push 0
push dword [ebp - 0x10]
call fcn.00442db6
pop ecx
pop ecx
test al, 4
je 0x4acda8
inc dword [ebp - 0x18]
test al, 1
je 0x4acdaf
inc ebx
jmp 0x4acdb0
inc edi
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4acd95
push dword [ebp - 0x10]
call fcn.00477166
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov dword [eax], ebx
call fcn.00401493
mov eax, dword [ebp - 0x18]
call fcn.0058c1c5
ret 8
Function at 0x4adfce
Capabilities:
Reference sql statements

Disassembly:
push 0x20
mov eax, 0x62ebdf
call fcn.0058c0ed
mov esi, ecx
mov eax, dword [esi + 0x18b4]
xor edi, edi
push edi
push edi
push edi
push str.BEGIN_TRANSACTION_
push dword [eax + 0xbb4]
mov dword [ebp - 4], edi
call fcn.00488a1c
add esp, 0x14
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x18]
call fcn.004018a6
mov byte [ebp - 4], 1
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x14]
call fcn.004018a6
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 4
push 4
push str.SELECT__stickies_._key___stickies_._flags___content_rtf_._rtf__FROM__stickies__LEFT_JOIN__content_rtf__ON__stickies_._key____content_rtf_._key__WHERE___flags____i____i_AND___s_
push eax
mov byte [ebp - 4], 2
call fcn.00401e49
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x28
cmp eax, edi
jne 0x4ae162
jmp 0x4ae150
push edi
push dword [ebp - 0x10]
call fcn.00442db6
push 1
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.00442db6
mov ecx, dword [esi + 0x18b4]
add esp, 0x10
push 2
push dword [ebp - 0x10]
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d4a8
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
xor ebx, 4
call fcn.00402e5b
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004ac965
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00401dd7
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x78]
call fcn.004a0717
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x78]
call fcn.004a0e9f
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push ebx
push str.UPDATE__stickies__SET__flags____i_WHERE__key____i
push eax
mov byte [ebp - 4], 4
call fcn.00401e49
push edi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x24
cmp eax, edi
jne 0x4ae122
push dword [ebp - 0x1c]
call fcn.004887a0
pop ecx
push dword [ebp - 0x1c]
call fcn.00477166
pop ecx
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418a9a
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
push dword [ebp - 0x10]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4ae061
push dword [ebp - 0x10]
call fcn.00477166
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push str.COMMIT_TRANSACTION_
push dword [eax + 0xbb4]
call fcn.00488a1c
mov ecx, dword [ebp - 0x14]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
call fcn.0058c1c5
ret 4
Function at 0x4ae425
Capabilities:
Reference sql statements

Disassembly:
push 4
mov eax, 0x62ec76
call fcn.0058c0ed
mov esi, ecx
cmp dword [esi + 0x1aec], 1
jne 0x4ae5a5
push dword [ebp + 8]
lea ecx, [esi + 0x2a0]
call fcn.005592a1
xor edi, edi
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x4ae5a5
mov ebx, dword [eax + 8]
jmp 0x4ae46d
call fcn.004024dd
push eax
mov ecx, esi
call fcn.004ae425
push dword [ebp + 8]
lea ecx, [esi + 0x2a0]
call fcn.005592eb
push dword [ebp + 8]
lea ecx, [esi + 0x2a0]
test eax, eax
jne 0x4ae460
call fcn.004024ad
push dword [ebp - 0x10]
call fcn.0054c5b3
pop ecx
call fcn.0054f69d
push eax
lea ecx, [ebp + 8]
call fcn.0040b5f8
push ebx
push 6
lea eax, [ebp + 8]
push str.DELETE_FROM__content_png__WHERE__key__IN__SELECT__stickies_._key__FROM__content_png__LEFT_JOIN__stickies__ON__stickies_._key____content_png_._key__WHERE__stickies_._noteclass____i_AND__stickies_._category____i_
push eax
mov dword [ebp - 4], edi
call fcn.0040e65b
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push dword [ebp + 8]
push dword [eax + 0xbb4]
call fcn.00488a1c
push ebx
push 6
lea eax, [ebp + 8]
push str.DELETE_FROM__content_rtf__WHERE__key__IN__SELECT__stickies_._key__FROM__content_rtf__LEFT_JOIN__stickies__ON__stickies_._key____content_rtf_._key__WHERE__stickies_._noteclass____i_AND__stickies_._category____i_
push eax
call fcn.0040e65b
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push dword [ebp + 8]
push dword [eax + 0xbb4]
call fcn.00488a1c
add esp, 0x48
push ebx
push 6
lea eax, [ebp + 8]
push str.DELETE_FROM__stickiesproperties__WHERE__key__IN__SELECT__key__FROM__stickies__WHERE__stickies_._noteclass____i_AND__stickies_._category____i_
push eax
call fcn.0040e65b
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push dword [ebp + 8]
push dword [eax + 0xbb4]
call fcn.00488a1c
push 6
push ebx
lea eax, [ebp + 8]
push str.DELETE_FROM__stickies__WHERE__category____i_AND__noteclass____i
push eax
call fcn.0040e65b
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push dword [ebp + 8]
push dword [eax + 0xbb4]
call fcn.00488a1c
add esp, 0x48
push ebx
lea eax, [ebp + 8]
push str.DELETE_FROM__categoryproperties__WHERE__key____i
push eax
call fcn.0040e65b
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
push dword [ebp + 8]
push dword [eax + 0xbb4]
call fcn.00488a1c
push ebx
lea eax, [ebp + 8]
push str.DELETE_FROM__categories__WHERE__key____i
push eax
call fcn.0040e65b
mov eax, dword [esi + 0x18b4]
push edi
push edi
push edi
mov edi, dword [ebp + 8]
push edi
push dword [eax + 0xbb4]
call fcn.00488a1c
add esp, 0x40
lea ecx, [edi - 0x10]
call fcn.00401493
call fcn.0058c1c5
ret 4