Function at 0x41dbdb
Capabilities:
Reference sql statements

Disassembly:
push ebp
sub esp, 0x40
push pe_nt_image_headers32
mov eax, 0x628d94
call fcn.0058c0ed
mov esi, ecx
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x34]
call fcn.004018a6
push 5
push 3
push 2
push 1
lea eax, [ebp + 0x34]
xor ebx, ebx
push str.SELECT__key___noteclass___flags___title___colour__FROM__stickies__WHERE__noteclass__IN___i__i__i__i_
push eax
mov dword [ebp - 4], ebx
mov dword [ebp + 0x40], ebx
call fcn.00401e49
push ebx
lea eax, [ebp + 0x3c]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x34]
push dword [esi + 0xbb4]
call fcn.004830b7
add esp, 0x2c
cmp eax, ebx
jne 0x41de52
jmp 0x41de40
push ebx
push dword [ebp + 0x3c]
call fcn.00442db6
push 1
push dword [ebp + 0x3c]
mov dword [ebp + 0x2c], eax
call fcn.00442db6
push 2
push dword [ebp + 0x3c]
mov dword [ebp + 0x30], eax
call fcn.00442db6
add esp, 0x18
push 3
push dword [ebp + 0x3c]
mov edi, eax
lea eax, [ebp + 0x24]
push eax
mov ecx, esi
call fcn.00413b8e
push 4
push dword [ebp + 0x3c]
call fcn.00442db6
pop ecx
pop ecx
lea ecx, [ebp - 0xf4]
mov dword [ebp + 0x20], eax
call fcn.0040d0cf
lea eax, [ebp - 0xf4]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00416232
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x24]
and edi, 1
push eax
lea ecx, [ebp + 0x28]
mov dword [ebp - 0xac], edi
call fcn.00402e5b
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
call fcn.00401dd7
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xf4]
push eax
push dword [ebp + 0x2c]
mov ecx, esi
call fcn.00418b86
mov eax, dword [ebp + 0x30]
dec eax
je 0x41ddea
dec eax
je 0x41ddaa
dec eax
je 0x41dd70
dec eax
dec eax
jne 0x41de27
mov eax, dword [ebp + 0x40]
cmp eax, dword [esi + 0x140]
jge 0x41de27
push 0xf0
call fcn.0054c584
mov edi, eax
pop ecx
cmp edi, ebx
je 0x41dd44
mov ecx, edi
call fcn.0040d0cf
jmp 0x41dd46
xor edi, edi
push edi
mov ecx, esi
call fcn.0041c1e5
lea eax, [ebp - 0xf4]
push eax
mov ecx, edi
call fcn.0040f015
push edi
lea ecx, [esi + 0x14e0]
call fcn.00565459
inc dword [ebp + 0x40]
jmp 0x41de27
push 0xf0
call fcn.0054c584
mov edi, eax
pop ecx
cmp edi, ebx
je 0x41dd8a
mov ecx, edi
call fcn.0040d0cf
jmp 0x41dd8c
xor edi, edi
push edi
mov ecx, esi
call fcn.0041c1e5
lea eax, [ebp - 0xf4]
push eax
mov ecx, edi
call fcn.0040f015
lea ecx, [esi + 0x14fc]
jmp 0x41dde2
push 0xf0
call fcn.0054c584
mov edi, eax
pop ecx
cmp edi, ebx
je 0x41ddc4
mov ecx, edi
call fcn.0040d0cf
jmp 0x41ddc6
xor edi, edi
push edi
mov ecx, esi
call fcn.0041c1e5
lea eax, [ebp - 0xf4]
push eax
mov ecx, edi
call fcn.0040f015
lea ecx, [esi + 0x1518]
push edi
call fcn.00565459
jmp 0x41de27
push 0xffffffffffffffff
push ebx
push 1
push ecx
mov dword [ebp + 0x30], esp
mov ecx, esp
push str.loaded
call fcn.00402035
push 1
sub esp, 0xe8
lea eax, [ebp - 0xf4]
mov ecx, esp
mov dword [ebp + 0x20], esp
push eax
mov byte [ebp - 4], 4
call fcn.0040c44e
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004199ae
lea ecx, [ebp - 0xf4]
call fcn.0040c0c8
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401493
push dword [ebp + 0x3c]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x41dc41
push dword [ebp + 0x3c]
call fcn.00477166
pop ecx
mov ecx, esi
call fcn.00409cef
lea eax, [ebp + 0x34]
push str.SELECT__key___open___title___colour__FROM__stacks_
push eax
call fcn.00401e49
push ebx
lea eax, [ebp + 0x38]
push eax
push 0xffffffffffffffff
push dword [ebp + 0x34]
push dword [esi + 0xbb4]
call fcn.004830b7
add esp, 0x1c
cmp eax, ebx
jne 0x41df54
push dword [ebp + 0x38]
call fcn.004887a0
pop ecx
cmp eax, 0x65
je 0x41df54
lea edi, [esi + 0xcb0]
lea ecx, [ebp + 0x18]
call fcn.00401a45
push ebx
push dword [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.00442db6
push 1
push dword [ebp + 0x38]
mov dword [ebp], eax
call fcn.00442db6
add esp, 0x10
dec eax
neg eax
sbb al, al
inc al
push 2
push dword [ebp + 0x38]
mov byte [ebp + 0x1c], al
lea eax, [ebp + 0x30]
push eax
mov ecx, esi
call fcn.00413b8e
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 6
call fcn.00401dd7
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401493
push 3
push dword [ebp + 0x38]
call fcn.00442db6
pop ecx
pop ecx
mov dword [ebp + 0x14], eax
lea eax, [ebp]
push eax
push dword [ebp]
mov ecx, esi
call fcn.00411d7e
push ebx
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040dff8
push eax
mov ecx, edi
call fcn.00565459
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401493
push dword [ebp + 0x38]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x41dea8
push dword [ebp + 0x38]
call fcn.00477166
pop ecx
cmp byte [esi + 0x149], bl
je 0x41df82
push dword [esi + 0x1008]
lea ecx, [esi + 0x104c]
call fcn.0048d17e
mov byte [esi + 0x148], 1
jmp 0x41e022
mov eax, dword [esi + 0x14c8]
xor edi, edi
mov dword [ebp + 0x40], eax
cmp eax, ebx
je 0x41dfc8
lea eax, [ebp + 0x40]
push eax
lea ecx, [esi + 0x14c4]
call fcn.00408c8a
mov edi, dword [eax]
cmp byte [edi + 0x21c], bl
jne 0x41dfb3
push 5
mov ecx, edi
call fcn.0055c063
push 0x105
push ebx
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp dword [ebp + 0x40], ebx
jne 0x41df91
mov eax, dword [esi + 0xcb4]
mov dword [ebp + 0x40], eax
cmp eax, ebx
je 0x41dff4
lea eax, [ebp + 0x40]
push eax
lea ecx, [esi + 0xcb0]
call fcn.00408c8a
mov eax, dword [eax]
push 5
mov ecx, eax
call fcn.0055c063
cmp dword [ebp + 0x40], ebx
jne 0x41dfd5
cmp edi, ebx
je 0x41e01b
lea ecx, [edi + 0x84]
call fcn.0055c0cc
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push eax
call fcn.0055543f
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, esi
call fcn.004090df
lea edi, [esi + 0x1028]
push dword [edi]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
mov dword [edi], ebx
call fcn.00401493
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x44
leave
ret