Function at 0x4bd3a4
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x630937
mov eax, dword fs:[0]
push eax
mov eax, 0x1698
call fcn.0058f710
push ebx
push esi
push edi
mov eax, dword [0x6ba0d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x1f0]
call fcn.004a8c60
or dword [ebp - 0x24], 0xffffffff
xor ebx, ebx
xor edi, edi
inc edi
cmp dword [ebp + 0x64], 8
mov dword [ebp - 0x50], eax
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x40], ebx
jne 0x4bd552
push esi
lea ecx, [ebp - 0x854]
call fcn.004ea8e2
mov eax, dword [esi + 0x18b4]
or dword [ebp - 0x364], 0xffffffff
or dword [ebp - 0x360], 0xffffffff
mov byte [ebp - 0x35b], 1
movzx ecx, byte [eax + 0x128]
mov dword [ebp - 0x350], ecx
xor ecx, ecx
cmp dword [eax + 0x174], edi
mov dword [ebp - 4], ebx
sete cl
mov dword [ebp - 0x7d8], ecx
movzx ecx, byte [eax + 0x196]
mov dword [ebp - 0x7dc], ecx
mov ecx, dword [eax + 0x198]
mov dword [ebp - 0x358], ecx
mov eax, dword [eax + 0x19c]
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x354], eax
call fcn.00566c09
cmp eax, edi
jne 0x4bd724
mov ecx, dword [esi + 0x18b4]
mov eax, dword [ebp - 0x358]
cmp dword [ecx + 0x198], eax
je 0x4bd4b5
push edi
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.sleep.last.value
call fcn.00402035
mov ecx, dword [esi + 0x18b4]
call fcn.00422db6
mov ecx, dword [esi + 0x18b4]
mov eax, dword [ebp - 0x354]
cmp dword [ecx + 0x19c], eax
je 0x4bd4e6
push edi
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.sleep.last.period
call fcn.00402035
mov ecx, dword [esi + 0x18b4]
call fcn.00422db6
cmp dword [ebp - 0x350], ebx
je 0x4bd4f1
mov dword [ebp + 0x40], edi
cmp dword [ebp - 0x7d8], ebx
je 0x4bd4fd
add dword [ebp + 0x40], 2
cmp dword [ebp - 0x7dc], ebx
je 0x4bd509
add dword [ebp + 0x40], 4
cmp byte [ebp - 0x35c], 0
je 0x4bd526
mov eax, dword [ebp - 0x364]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp + 0x1c], eax
jmp 0x4bd543
mov ecx, dword [esi + 0x18b4]
call fcn.00408d83
add eax, dword [ebp - 0x364]
adc edx, dword [ebp - 0x360]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], edx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x854]
call fcn.004a86ac
or dword [ebp - 0x20], 0xffffffff
cmp dword [ebp + 0x64], 0x10
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp + 0x54], ebx
jne 0x4bd685
push esi
lea ecx, [ebp - 0x16a4]
call fcn.004ca5e7
mov eax, dword [esi + 0x18b4]
or dword [ebp - 0x960], 0xffffffff
xor ecx, ecx
cmp dword [eax + 0x174], edi
mov dword [ebp - 4], edi
sete cl
mov dword [ebp - 0x944], ecx
movzx ecx, byte [eax + 0x128]
mov dword [ebp - 0x94c], ecx
movzx eax, byte [eax + 0x196]
lea ecx, [ebp - 0x16a4]
mov dword [ebp - 0x948], eax
mov dword [ebp - 0x940], edi
call fcn.00566c09
cmp eax, edi
jne 0x4bd738
cmp dword [ebp - 0x94c], ebx
je 0x4bd5e9
mov dword [ebp + 0x54], edi
cmp dword [ebp - 0x944], ebx
je 0x4bd5f5
add dword [ebp + 0x54], 2
cmp dword [ebp - 0x948], ebx
je 0x4bd601
add dword [ebp + 0x54], 4
cmp dword [ebp - 0x940], ebx
jne 0x4bd60d
add dword [ebp + 0x54], 8
push dword [ebp + 0x54]
mov ebx, dword [ebp - 0x95c]
mov edi, dword [ebp - 0x964]
mov edx, dword [ebp - 0x968]
mov ecx, dword [ebp - 0x96c]
mov eax, dword [ebp - 0x960]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x958]
push ebx
push dword [ebp - 0x95c]
mov dword [ebp - 0x10], ecx
push edi
push edx
push ecx
mov ecx, dword [esi + 0x18b4]
push eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x3c], ebx
call fcn.0040a806
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x954]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x950]
lea ecx, [ebp - 0x16a4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x2c], eax
call fcn.004a8794
xor ebx, ebx
mov edi, 0x6401e8
push edi
lea ecx, [ebp + 0x30]
call fcn.00402035
push edi
lea ecx, [ebp + 0x2c]
mov dword [ebp - 4], 2
call fcn.00402035
cmp dword [ebp + 0x64], 4
mov byte [ebp - 4], 3
mov byte [ebp + 0x4a], 0
mov byte [ebp + 0x4b], 0
jne 0x4bd78f
push esi
lea ecx, [ebp - 0x34c]
call fcn.00499739
push edi
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 4
call fcn.00401e24
push edi
lea ecx, [ebp - 0x2d4]
call fcn.00401e24
mov eax, dword [esi + 0x18b4]
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2cc], ebx
movzx eax, byte [eax + 0xbcb]
lea ecx, [ebp - 0x34c]
mov dword [ebp - 0x2d0], eax
call fcn.00566c09
cmp eax, 1
je 0x4bd74c
lea ecx, [ebp - 0x34c]
mov byte [ebp - 4], 3
call fcn.00499605
jmp 0x4be63d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x854]
call fcn.004a86ac
jmp 0x4be653
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16a4]
call fcn.004a8794
jmp 0x4be653
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp + 0x30]
call fcn.00401dd7
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp + 0x2c]
call fcn.00401dd7
cmp dword [ebp - 0x2c8], 1
lea ecx, [ebp - 0x34c]
sete byte [ebp + 0x4a]
cmp dword [ebp - 0x2cc], 1
mov byte [ebp - 4], 3
sete byte [ebp + 0x4b]
call fcn.00499605
mov ecx, dword [esi + 0x18b4]
call fcn.00408d83
push 0xa
lea ecx, [ebp - 0x78]
mov byte [ebp + 0x53], 0
call fcn.0056539a
lea ecx, [esi + 0x1f0]
mov byte [ebp - 4], 5
call fcn.00499578
mov dword [ebp + 0x54], eax
cmp eax, ebx
je 0x4bd81f
lea eax, [ebp + 0x54]
lea edi, [esi + 0x1f0]
push eax
mov ecx, edi
call fcn.0049958c
push eax
mov ecx, edi
call fcn.00559100
push 0x14
mov edi, eax
call fcn.0054c584
pop ecx
mov ecx, dword [edi]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x2c]
mov dword [eax + 0xc], ecx
cmp dword [edi], 0x40
jne 0x4bd80c
cmp dword [edi + 4], ebx
jne 0x4bd80c
cmp byte [edi + 0x39], 0
je 0x4bd80c
xor ecx, ecx
inc ecx
jmp 0x4bd80e
xor ecx, ecx
mov byte [eax + 0x10], cl
push eax
lea ecx, [ebp - 0x78]
call fcn.00565459
cmp dword [ebp + 0x54], ebx
jne 0x4bd7be
mov ecx, dword [esi + 0x18b4]
call fcn.00414955
mov eax, dword [ebp - 0x74]
mov dword [ebp + 0x54], eax
cmp eax, ebx
je 0x4be5ec
mov eax, dword [ebp + 0x54]
cmp eax, ebx
je 0x4be5d8
mov edi, dword [eax + 8]
mov ecx, eax
mov ecx, dword [ecx]
mov dword [ebp + 0x54], ecx
lea ecx, [ebp - 0x160]
call fcn.0040d0cf
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x160]
push eax
mov byte [ebp - 4], 6
call fcn.00416232
mov eax, dword [edi]
cmp eax, ebx
jle 0x4bdaea
cmp eax, 2
jle 0x4bda6d
cmp eax, 4
je 0x4bda5d
cmp eax, 8
je 0x4bda18
cmp eax, 0x10
je 0x4bda18
cmp eax, 0x20
je 0x4bd9f1
cmp eax, 0x40
jne 0x4bdaea
cmp byte [edi + 0x10], 0
je 0x4bd8d1
cmp byte [esi + 0x1b10], 0
je 0x4bd8d1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 5
call fcn.0040c0c8
jmp 0x4be5a1
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x160]
push eax
push dword [edi + 8]
call fcn.00418b86
call fcn.0054f69d
push eax
lea ecx, [ebp]
call fcn.004018a6
mov byte [ebp - 4], 8
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x58]
call fcn.004018a6
push 6
push dword [edi + 8]
lea eax, [ebp]
push str.SELECT__title___colour__FROM__stickies__WHERE__key____i_AND__noteclass____i
push eax
mov byte [ebp - 4], 9
call fcn.00401e49
push ebx
lea eax, [ebp + 0x3c]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x24
cmp eax, ebx
jne 0x4bd9b7
push dword [ebp + 0x3c]
call fcn.004887a0
pop ecx
jmp 0x4bd9b2
mov ecx, dword [esi + 0x18b4]
push ebx
push dword [ebp + 0x3c]
lea eax, [ebp - 0x54]
push eax
call fcn.00413b8e
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00402e5b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0xb
call fcn.00401dd7
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.00401493
push 1
push dword [ebp + 0x3c]
call fcn.00442db6
push dword [ebp + 0x3c]
mov dword [ebp - 0x148], eax
call fcn.004887a0
add esp, 0xc
cmp eax, 0x65
jne 0x4bd94a
push dword [ebp + 0x3c]
call fcn.00477166
mov eax, dword [edi + 4]
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 8]
add ecx, 0xfffffff0
mov dword [ebp - 0x160], eax
call fcn.00401493
mov ecx, dword [ebp]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
jmp 0x4bdaea
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.00409942
cmp eax, ebx
je 0x4bdaea
push eax
lea ecx, [ebp - 0x160]
call fcn.0040f015
jmp 0x4bdad7
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.00409909
mov dword [ebp + 0x58], eax
cmp eax, ebx
je 0x4bdaea
push eax
lea ecx, [ebp - 0x160]
call fcn.0040f015
mov ecx, dword [esi + 0x18b4]
push ebx
lea eax, [ebp - 0x160]
push eax
call fcn.004164ab
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
jmp 0x4bdaea
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.004098d0
jmp 0x4bd9ff
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.0040988c
mov dword [ebp + 0x58], eax
cmp eax, ebx
je 0x4bdaea
mov ecx, eax
call fcn.004f24ef
mov ecx, dword [ebp + 0x58]
lea eax, [ebp - 0x93c]
push eax
call fcn.004f8057
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 7
call fcn.0040f015
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 6
call fcn.0040c0c8
cmp dword [ebp - 0xdc], 0xffffffff
je 0x4bdacb
or dword [ebp - 0xdc], 0xffffffff
mov byte [ebp + 0x53], 1
cmp dword [ebp + 0x64], 1
je 0x4bdaea
cmp dword [ebp + 0x64], 2
je 0x4bdaea
mov ecx, dword [esi + 0x18b4]
push ebx
lea eax, [ebp - 0x160]
push eax
call fcn.004164ab
cmp dword [ebp + 0x64], 0x40
mov byte [ebp + 0x52], 0
jne 0x4bdb9e
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x24]
call fcn.004018a6
push dword [ebp + 0x6c]
lea eax, [ebp + 0x24]
push str.SELECT__flags__FROM__categories__WHERE__key____i
push eax
mov byte [ebp - 4], 0xc
call fcn.00401e49
push ebx
lea eax, [ebp + 0x28]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp + 0x24]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x20
cmp eax, ebx
jne 0x4bdb68
push dword [ebp + 0x28]
call fcn.004887a0
pop ecx
jmp 0x4bdb63
push ebx
push dword [ebp + 0x28]
call fcn.00442db6
push dword [ebp + 0x28]
shr eax, 1
and al, 1
mov byte [ebp + 0x52], al
call fcn.004887a0
add esp, 0xc
cmp eax, 0x65
jne 0x4bdb48
push dword [ebp + 0x28]
call fcn.00477166
cmp byte [ebp + 0x52], 0
pop ecx
je 0x4bdb8f
cmp dword [edi + 4], ebx
jne 0x4bdb8f
cmp byte [edi + 0x10], 0
jne 0x4bdb8f
cmp byte [esi + 0x1b10], 0
jne 0x4be5bb
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
cmp dword [ebp + 0x70], 1
jne 0x4bdc7c
mov ecx, dword [esi + 0x18b4]
call fcn.00408ff7
cmp dword [edi + 4], 1
mov ebx, eax
push ebx
push dword [ebp - 0x160]
push ecx
mov ecx, esp
mov dword [ebp + 0x4c], esp
je 0x4bdbcf
push 0x645b1c
jmp 0x4bdbd4
push 0x6474a4
call fcn.00402035
mov ecx, dword [esi + 0x18b4]
call fcn.00411bdf
cmp dword [ebp + 0x64], 0x40
jne 0x4bdc4f
cmp dword [edi], 0x40
jne 0x4bdc4f
call fcn.0054f69d
push eax
lea ecx, [ebp + 0xc]
call fcn.0040b5f8
push ebx
push dword [ebp - 0x160]
lea eax, [ebp + 0xc]
push dword [ebp - 0x160]
mov byte [ebp - 4], 0xd
push dword [ebp - 0x160]
push 6
push str.UPDATE__stickies__SET__noteclass____i___flags____SELECT__flags__FROM__stickies__WHERE__key____i____title____SELECT__title__FROM__stickies__WHERE__key____i____colour____SELECT__colour__FROM__stickies__WHERE__key____i__WHERE__key____i
push eax
call fcn.0040e65b
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0xc]
mov eax, dword [esi + 0x18b4]
push dword [eax + 0xbb4]
call fcn.00488a1c
mov ecx, dword [ebp + 0xc]
add esp, 0x30
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
mov dword [ebp - 0x160], ebx
cmp dword [edi], 0x40
mov dword [edi + 8], ebx
jne 0x4bdc63
cmp dword [edi + 4], 1
jne 0x4bdc7c
push dword [ebp - 0x148]
mov ecx, esi
push dword [ebp - 0x118]
push dword [ebp - 0x160]
call fcn.004b5ccd
cmp byte [edi + 0x10], 0
je 0x4bdd11
cmp dword [ebp + 0x64], 0x40
je 0x4bdd11
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x38]
call fcn.004018a6
push dword [ebp - 0x160]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0xe
call fcn.004189d5
push ecx
lea eax, [ebp + 0x38]
mov dword [ebp + 0x4c], esp
mov ecx, esp
push eax
call fcn.00402e5b
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.004ac965
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.00401dd7
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401493
push dword [ebp - 0x160]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x38]
push eax
call fcn.0041d68d
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
mov eax, dword [ebp + 0x64]
dec eax
je 0x4be203
dec eax
je 0x4be167
dec eax
dec eax
je 0x4be08c
sub eax, 4
je 0x4be011
sub eax, 8
je 0x4bdf7d
sub eax, 0x10
je 0x4bdee8
sub eax, 0x20
jne 0x4be2b7
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x34]
call fcn.004018a6
push dword [ebp + 0x6c]
lea eax, [ebp + 0x34]
push 0x641ad4
push eax
mov byte [ebp - 4], 0x18
call fcn.00401e49
pop ecx
pop ecx
lea eax, [ebp + 0x34]
mov dword [ebp + 0x4c], esp
mov ecx, esp
push eax
call fcn.00402e5b
push dword [edi + 8]
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp + 0x58], esp
push str.category
call fcn.00402035
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push str.stickies
mov byte [ebp - 4], 0x1a
call fcn.00402035
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004acbd0
cmp dword [edi], 0x40
jne 0x4bdde9
cmp byte [ebp + 0x52], 0
je 0x4bde70
cmp byte [edi + 0x10], 0
jne 0x4bde70
cmp dword [edi + 4], 0
jne 0x4bde70
push dword [edi + 8]
mov ecx, esi
call fcn.004bb99f
jmp 0x4bde70
cmp dword [edi + 4], 0
jne 0x4bde60
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x20]
call fcn.004018a6
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x1b
call fcn.004189d5
lea eax, [ebp + 0x20]
lea ebx, [esi + 0x78]
push eax
mov ecx, ebx
call fcn.004a0717
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.004a0e9f
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00418a9a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x18
call fcn.00401493
cmp byte [edi + 0x10], 0
je 0x4bde70
push dword [edi + 8]
mov ecx, esi
call fcn.004aed54
push 6
lea eax, [ebp + 0x34]
push 0x641ad4
push eax
call fcn.00401e49
pop ecx
pop ecx
lea eax, [ebp + 0x34]
mov dword [ebp + 0x44], esp
mov ecx, esp
push eax
call fcn.00402e5b
push dword [edi + 8]
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, esp
mov dword [ebp + 0x4c], esp
push str.noteclass
call fcn.00402035
push ecx
mov ecx, esp
mov dword [ebp + 0x58], esp
push str.stickies
mov byte [ebp - 4], 0x1e
call fcn.00402035
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004acbd0
mov ecx, dword [esi + 0x18b4]
push 6
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x160]
call fcn.00412679
mov ecx, dword [ebp + 0x34]
jmp 0x4be2ab
cmp dword [edi], 0x20
jne 0x4bdf0e
push dword [ebp - 0x160]
mov ecx, dword [esi + 0x18b4]
call fcn.00411c71
mov ecx, dword [esi + 0x18b4]
call fcn.0040b088
jmp 0x4be2b7
push 0xf0
call fcn.0054c584
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4bdf28
mov ecx, ebx
call fcn.0040d0cf
jmp 0x4bdf2a
xor ebx, ebx
mov ecx, dword [esi + 0x18b4]
push ebx
call fcn.0041c1e5
lea eax, [ebp - 0x160]
push eax
mov ecx, ebx
call fcn.0040f015
mov ecx, dword [esi + 0x18b4]
call fcn.00408d83
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], edx
mov ecx, dword [esi + 0x18b4]
push ebx
add ecx, 0x14e0
call fcn.0056542a
mov ecx, dword [esi + 0x18b4]
call fcn.0041669f
jmp 0x4be07b
push 0xf0
call fcn.0054c584
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4bdf97
mov ecx, ebx
call fcn.0040d0cf
jmp 0x4bdf99
xor ebx, ebx
mov ecx, dword [esi + 0x18b4]
push ebx
call fcn.0041c1e5
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0xc0], 1
mov dword [ebp - 0x9c], eax
jmp 0x4be05b
push 0xf0
call fcn.0054c584
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4be02b
mov ecx, ebx
call fcn.0040d0cf
jmp 0x4be02d
xor ebx, ebx
mov ecx, dword [esi + 0x18b4]
push ebx
call fcn.0041c1e5
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x40]
mov byte [ebp - 0x128], 0
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x160]
push eax
mov ecx, ebx
call fcn.0040f015
mov ecx, dword [esi + 0x18b4]
push ebx
add ecx, 0x14fc
call fcn.00565459
mov ecx, dword [esi + 0x18b4]
push ebx
call fcn.0040b4b4
jmp 0x4be2b7
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402e5b
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x14
call fcn.00401dd7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
lea eax, [ebp + 0x30]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402e5b
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x15
call fcn.00401dd7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
mov al, byte [ebp + 0x4a]
mov byte [ebp - 0xd0], al
mov al, byte [ebp + 0x4b]
push str.moved
lea ecx, [ebp + 0x14]
mov byte [ebp - 0xcf], al
call fcn.00402035
cmp dword [ebp + 0x70], 1
mov byte [ebp - 4], 0x16
jne 0x4be11e
push str.copied_manage
lea ecx, [ebp + 0x14]
call fcn.00401e24
push 0xffffffffffffffff
push 0
push 1
push ecx
lea eax, [ebp + 0x14]
mov dword [ebp + 0x44], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 0
sub esp, 0xe8
lea eax, [ebp - 0x160]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 0x17
call fcn.0040c44e
mov byte [ebp - 4], 0x16
mov ecx, dword [esi + 0x18b4]
call fcn.004199ae
mov ecx, dword [ebp + 0x14]
jmp 0x4be2ab
mov eax, dword [ebp + 0x68]
mov ecx, dword [esi + 0x18b4]
push eax
mov dword [ebp - 0xdc], eax
call fcn.004091aa
test eax, eax
je 0x4be192
mov ecx, eax
call fcn.004ebd92
test al, al
jne 0x4be192
mov byte [ebp - 0xe0], 1
push str.moved
lea ecx, [ebp + 0x10]
mov byte [ebp + 0x53], 1
call fcn.00402035
cmp dword [ebp + 0x70], 1
mov byte [ebp - 4], 0x12
jne 0x4be1ba
push str.copied_manage
lea ecx, [ebp + 0x10]
call fcn.00401e24
push 0xffffffffffffffff
push 0
push 1
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp + 0x44], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 0
sub esp, 0xe8
lea eax, [ebp - 0x160]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 0x13
call fcn.0040c44e
mov byte [ebp - 4], 0x12
mov ecx, dword [esi + 0x18b4]
call fcn.004199ae
mov ecx, dword [ebp + 0x10]
jmp 0x4be2ab
or eax, 0xffffffff
or ecx, eax
push ecx
push eax
lea ecx, [ebp + 0x74]
call fcn.00408b8e
test eax, eax
je 0x4be228
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp - 0x158], eax
push str.moved
lea ecx, [ebp + 4]
call fcn.00402035
cmp dword [ebp + 0x70], 1
mov byte [ebp - 4], 0x10
jne 0x4be24c
push str.copied_manage
lea ecx, [ebp + 4]
call fcn.00401e24
cmp dword [edi], 0x10
jne 0x4be260
cmp dword [ebp + 0x70], 1
jne 0x4be260
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf8], eax
push 0xffffffffffffffff
push 0
push 1
push ecx
lea eax, [ebp + 4]
mov dword [ebp + 0x44], esp
mov ecx, esp
push eax
mov byte [ebp - 0xe0], 0
call fcn.00402e5b
push 0
sub esp, 0xe8
lea eax, [ebp - 0x160]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 0x11
call fcn.0040c44e
mov byte [ebp - 4], 0x10
mov ecx, dword [esi + 0x18b4]
call fcn.004199ae
mov ecx, dword [ebp + 4]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
cmp dword [ebp + 0x70], 0
jne 0x4be590
mov eax, dword [edi]
test eax, eax
jle 0x4be590
cmp eax, 2
jle 0x4be549
cmp eax, 4
je 0x4be4e5
cmp eax, 8
je 0x4be47e
cmp eax, 0x10
je 0x4be47e
cmp eax, 0x20
je 0x4be3d7
cmp eax, 0x40
jne 0x4be590
mov ecx, dword [ebp + 0x64]
push 6
pop eax
cmp ecx, 1
jne 0x4be30f
xor eax, eax
inc eax
cmp ecx, 2
jne 0x4be317
xor eax, eax
inc eax
cmp ecx, 4
jne 0x4be31f
push 2
pop eax
cmp ecx, 8
jne 0x4be327
push 3
pop eax
cmp ecx, 0x10
jne 0x4be32f
push 3
pop eax
cmp ecx, 0x20
jne 0x4be337
push 5
pop eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
push ecx
mov ecx, dword [esi + 0x18b4]
call fcn.0040e2ec
push dword [edi + 8]
mov byte [ebp - 4], 0x20
push ecx
mov ecx, esp
mov dword [ebp + 0x4c], esp
push str.noteclass
call fcn.00402035
push ecx
mov ecx, esp
mov dword [ebp + 0x58], esp
push str.stickies
mov byte [ebp - 4], 0x21
call fcn.00402035
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004acbd0
cmp dword [ebp + 0x64], 0x40
je 0x4be590
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b5f8
push dword [edi + 8]
lea eax, [ebp - 0x38]
push str.UPDATE__content_rtf__SET__search___NULL_WHERE__key____i
push eax
mov byte [ebp - 4], 0x22
call fcn.0040e65b
mov edi, dword [ebp - 0x38]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [esi + 0x18b4]
push edi
push dword [eax + 0xbb4]
call fcn.00488a1c
add esp, 0x20
lea ecx, [edi - 0x10]
call fcn.00401493
jmp 0x4be590
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.00409942
mov dword [ebp + 0x4c], eax
mov eax, dword [esi + 0x18a8]
mov eax, dword [eax + 4]
mov dword [ebp + 0x58], eax
mov ebx, eax
test eax, eax
je 0x4be590
mov ecx, dword [esi + 0x18a8]
lea eax, [ebp + 0x58]
push eax
call fcn.00408c8a
mov edi, dword [eax]
cmp edi, dword [ebp + 0x4c]
jne 0x4be472
mov ecx, dword [esi + 0x18a8]
push ebx
call fcn.00565309
push dword [edi]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 8]
push eax
call fcn.0040e2ec
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
push str.508_deleted_closed_sticky
push ecx
mov byte [ebp - 4], 0x1f
call fcn.00405a0e
mov ecx, dword [esi + 0x18b4]
add esp, 0xc
call fcn.0040c986
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00401493
mov ecx, edi
call fcn.0040c0c8
push edi
call fcn.0054c5b3
pop ecx
mov ebx, dword [ebp + 0x58]
test ebx, ebx
jne 0x4be3fe
jmp 0x4be590
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.00409909
mov dword [ebp + 0x4c], eax
mov eax, dword [esi + 0x18b0]
mov eax, dword [eax + 4]
mov dword [ebp + 0x58], eax
mov ebx, eax
test eax, eax
je 0x4be590
mov ecx, dword [esi + 0x18b0]
lea eax, [ebp + 0x58]
push eax
call fcn.00408c8a
mov edi, dword [eax]
cmp edi, dword [ebp + 0x4c]
jne 0x4be4d9
mov ecx, dword [esi + 0x18b0]
push ebx
call fcn.00565309
test edi, edi
je 0x4be4d9
mov ecx, edi
call fcn.0040c0c8
push edi
call fcn.0054c5b3
pop ecx
mov ebx, dword [ebp + 0x58]
test ebx, ebx
jne 0x4be4a5
jmp 0x4be590
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.004098d0
mov dword [ebp + 0x4c], eax
mov eax, dword [esi + 0x18ac]
mov eax, dword [eax + 4]
mov dword [ebp + 0x58], eax
mov ebx, eax
test eax, eax
je 0x4be590
mov ecx, dword [esi + 0x18ac]
lea eax, [ebp + 0x58]
push eax
call fcn.00408c8a
mov edi, dword [eax]
cmp edi, dword [ebp + 0x4c]
jne 0x4be540
mov ecx, dword [esi + 0x18ac]
push ebx
call fcn.00565309
test edi, edi
je 0x4be540
mov ecx, edi
call fcn.0040c0c8
push edi
call fcn.0054c5b3
pop ecx
mov ebx, dword [ebp + 0x58]
test ebx, ebx
jne 0x4be50c
jmp 0x4be590
push dword [edi + 8]
mov ecx, dword [esi + 0x18b4]
call fcn.0040988c
mov edi, eax
test edi, edi
je 0x4be590
push edi
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push str.501_closed_desktop_sticky_moved
call fcn.00402035
mov ecx, dword [esi + 0x18b4]
call fcn.0040c8a2
push ecx
mov dword [ebp + 0x44], esp
mov ecx, esp
push str.moved
call fcn.00402035
mov ecx, edi
call fcn.00500692
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 5
call fcn.0040c0c8
xor ebx, ebx
cmp dword [ebp + 0x54], ebx
jne 0x4bd838
jmp 0x4be5ec
lea ecx, [ebp - 0x78]
call fcn.005652b4
push eax
call fcn.0054c5b3
pop ecx
cmp dword [ebp - 0x6c], ebx
jne 0x4be5ac
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
call fcn.00401493
lea ecx, [ebp - 0x160]
call fcn.0040c0c8
jmp 0x4be631
call fcn.0054d916
lea ecx, [ebp - 0x78]
call fcn.005652b4
push eax
call fcn.0054c5b3
pop ecx
cmp dword [ebp - 0x6c], ebx
jne 0x4be5dd
cmp dword [ebp + 0x70], ebx
jne 0x4be5fd
mov ecx, esi
call fcn.004aec3e
mov ecx, esi
call fcn.004bc6ab
push dword [ebp - 0x50]
lea ecx, [esi + 0x1f0]
call fcn.004c61d6
mov ecx, esi
call fcn.004ac528
mov ecx, esi
call fcn.004a9c17
cmp byte [ebp + 0x53], 0
je 0x4be631
mov ecx, dword [esi + 0x18b4]
call fcn.004090df
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.005653c2
mov ecx, dword [ebp + 0x2c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x5c
leave
ret 0x1c