Function at 0x4b97bb
Capabilities:
Contain obfuscated stackstrings
Reference sql statements

Disassembly:
push ebp
sub esp, 0x6c
push 0x264
mov eax, 0x6302a3
call fcn.0058c0ed
mov esi, ecx
lea ebx, [esi + 0x1f0]
mov ecx, ebx
call fcn.00499578
xor edi, edi
mov dword [ebp + 0x50], eax
cmp eax, edi
je 0x4ba5f9
lea eax, [ebp + 0x50]
push eax
mov ecx, ebx
call fcn.0049958c
push eax
mov ecx, ebx
call fcn.00559100
mov ebx, eax
mov dword [ebp + 0x3c], ebx
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x64]
call fcn.004018a6
mov dword [ebp - 4], edi
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x68]
call fcn.004018a6
mov byte [ebp - 4], 1
mov byte [ebp + 0x6f], 0
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x58]
call fcn.004018a6
lea ecx, [ebp - 0x188]
call fcn.0040d0cf
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x188]
push eax
mov byte [ebp - 4], 3
call fcn.00416232
push 0x6401e8
lea ecx, [ebp + 0x60]
call fcn.00402035
cmp dword [esi + 0x18e0], edi
mov byte [ebp - 4], 4
jle 0x4b9888
mov eax, dword [esi + 0x1908]
cmp eax, 0xa
je 0x4b9888
cmp eax, 3
je 0x4b9888
mov ecx, esi
call fcn.004aa306
cmp byte [esi + 0x1d28], 0
jne 0x4b98a1
cmp dword [esi + 0x18ec], 0x32
jne 0x4b98a1
mov ecx, esi
call fcn.004aa37e
mov ecx, esi
call fcn.004abe8a
mov eax, dword [ebx]
cmp eax, edi
jle 0x4ba5c2
cmp eax, 2
jle 0x4ba00e
cmp eax, 4
je 0x4b9f4d
cmp eax, 8
je 0x4b9d72
cmp eax, 0x10
je 0x4b9d72
cmp eax, 0x20
je 0x4b9cf2
cmp eax, 0x40
jne 0x4ba5c2
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x2c]
call fcn.004018a6
mov byte [ebp - 4], 0x27
call fcn.0054f69d
push eax
lea ecx, [ebp + 0x34]
call fcn.004018a6
push 6
push dword [ebx + 0x28]
lea eax, [ebp + 0x34]
push str.SELECT__flags___title___colour___category__FROM__stickies__WHERE__key____i_AND__noteclass____i
push eax
mov byte [ebp - 4], 0x28
call fcn.00401e49
push edi
lea eax, [ebp + 0x4c]
push eax
mov eax, dword [esi + 0x18b4]
push 0xffffffffffffffff
push dword [ebp + 0x34]
push dword [eax + 0xbb4]
call fcn.004830b7
add esp, 0x24
cmp eax, edi
jne 0x4b9cbf
push dword [ebp + 0x4c]
call fcn.004887a0
pop ecx
cmp eax, 0x65
je 0x4b9cbf
mov edi, 0xdd
push 0
push dword [ebp + 0x4c]
call fcn.00442db6
pop ecx
pop ecx
mov ecx, dword [esi + 0x18b4]
push 1
push dword [ebp + 0x4c]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00413b8e
push eax
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x29
call fcn.00401dd7
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x28
call fcn.00401493
push 2
push dword [ebp + 0x4c]
call fcn.00442db6
push 3
push dword [ebp + 0x4c]
mov dword [ebp + 0x48], eax
call fcn.00442db6
add esp, 0x10
test byte [ebp + 0x5c], 4
mov dword [ebp + 0x54], eax
je 0x4b99c2
mov byte [ebp + 0x6f], 1
test byte [ebp + 0x5c], 1
je 0x4b99e6
xor eax, eax
inc eax
mov dword [ebp + 0x44], eax
mov dword [ebp - 0x140], eax
push 0x6401e8
lea ecx, [ebp + 0x68]
call fcn.00401e24
jmp 0x4b9b87
and dword [ebp + 0x44], 0
and dword [ebp - 0x140], 0
cmp byte [ebp + 0x6f], 0
je 0x4b9cdb
cmp byte [esi + 0x1b10], 0
jne 0x4b99d4
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x2c]
push eax
call fcn.004189d5
push ecx
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x5c], esp
mov ecx, esp
push eax
call fcn.00402e5b
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.004ac965
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x2a
call fcn.00401dd7
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x28
call fcn.00401493
mov eax, dword [ebp + 0x68]
cmp dword [eax - 0xc], 0
jne 0x4b9b87
push str._failed
lea ecx, [ebp + 0x24]
call fcn.0040e66e
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x18]
push eax
mov byte [ebp - 4], 0x2b
call fcn.0040e2ec
push eax
lea eax, [ebp - 0x68]
push str.Decryption_of_content
push eax
mov byte [ebp - 4], 0x2c
call fcn.00405a0e
lea ecx, [ebp + 0x24]
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x2d
call fcn.0040e423
add esp, 0x14
mov dword [ebp + 0x5c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x2e
call fcn.00402e5b
mov ecx, dword [esi + 0x18b4]
push 0x13
call fcn.00415cb2
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x28
call fcn.00401493
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x68]
push eax
call fcn.004189d5
push 5
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp + 0x68]
call fcn.00403286
push str._rtf
mov ecx, eax
mov byte [ebp - 4], 0x2f
call fcn.00406897
mov ecx, dword [ebp - 0x64]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0x28
call fcn.00401493
test bl, bl
je 0x4b9b84
push ecx
lea eax, [ebp + 0x68]
mov dword [ebp + 0x5c], esp
mov ecx, esp
push eax
call fcn.00402e5b
lea eax, [esi + 0x1b2c]
push eax
lea eax, [ebp + 0x28]
push eax
mov ecx, esi
call fcn.004b4e0c
mov eax, dword [ebp + 0x3c]
push dword [eax + 0x28]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x28]
push eax
mov byte [ebp - 4], 0x30
call fcn.0041d68d
mov ecx, dword [ebp + 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x28
call fcn.00401493
mov ebx, dword [ebp + 0x3c]
mov eax, dword [ebx + 0x28]
push dword [ebp + 0x54]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x38]
push eax
mov ecx, esi
call fcn.004b3c6f
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x31
call fcn.0050b7ca
push 0x65ec68
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x32
call fcn.0040e47a
lea ecx, [ebp + 0x38]
push ecx
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0x33
call fcn.0040e423
add esp, 0x18
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x34
call fcn.00401dd7
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x31
call fcn.00401493
or dword [ebp - 0x160], 0xffffffff
or dword [ebp - 0x15c], 0xffffffff
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp - 0x188]
push eax
push dword [ebx + 0x28]
call fcn.00418b86
lea eax, [ebp + 0x64]
push eax
lea ecx, [ebp + 0x50]
call fcn.00402e5b
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x35
call fcn.00401dd7
mov ecx, dword [ebp + 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x31
call fcn.00401493
mov eax, dword [ebp + 0x48]
push ecx
mov dword [ebp - 0x170], eax
lea eax, [ebp + 0x38]
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
call fcn.00402e5b
push edi
lea ecx, [ebp]
mov byte [ebp - 4], 0x36
call fcn.0050b7ca
push ecx
mov byte [ebp - 4], 0x37
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.00402e5b
mov ecx, esi
mov byte [ebp - 4], 0x38
call fcn.004add0a
mov ecx, dword [ebp]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x28
call fcn.00401493
push dword [ebp + 0x4c]
call fcn.004887a0
pop ecx
cmp eax, 0x65
jne 0x4b995c
push dword [ebp + 0x4c]
call fcn.00477166
pop ecx
mov ecx, dword [ebp + 0x34]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x2c]
jmp 0x4b9d61
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
lea eax, [ebp + 0x68]
push eax
call fcn.004189d5
jmp 0x4b9b87
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
call fcn.00409942
mov edi, eax
test edi, edi
je 0x4ba5c2
mov eax, dword [edi]
mov dword [ebp + 0x5c], eax
mov eax, dword [edi + 0x48]
mov dword [ebp + 0x44], eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x64]
call fcn.00401dd7
mov eax, dword [edi + 0x18]
push dword [edi]
mov ecx, dword [esi + 0x18b4]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x68]
push eax
call fcn.004189d5
push edi
lea ecx, [ebp - 0x188]
call fcn.0040f015
push 0xff
lea ecx, [ebp - 0x4c]
call fcn.0050b7ca
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x26
call fcn.00401dd7
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
jmp 0x4ba376
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
call fcn.00409909
mov edi, eax
test edi, edi
je 0x4ba5c2
mov eax, dword [edi]
mov dword [ebp + 0x5c], eax
mov eax, dword [edi + 0x48]
mov dword [ebp + 0x44], eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x64]
call fcn.00401dd7
mov eax, dword [edi + 0x18]
push dword [edi]
mov ecx, dword [esi + 0x18b4]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x68]
push eax
call fcn.004189d5
cmp dword [ebx], 8
mov eax, dword [edi + 0xb0]
mov edx, dword [edi + 0xb4]
jne 0x4b9e54
push edx
push eax
mov dword [esi + 0x1f90], eax
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
mov dword [esi + 0x1f94], edx
call fcn.004b3ddc
mov dword [ebp + 0x54], eax
push 0x39
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
call fcn.0050b7ca
push 0x65ec68
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040e47a
push dword [ebp + 0x54]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040e423
add esp, 0x18
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x1e
call fcn.00401dd7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x20]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x54]
jmp 0x4b9ff1
mov ecx, eax
push ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x3c]
mov dword [ebp + 0x40], esp
push eax
mov ecx, esi
call fcn.004b3ddc
mov dword [ebp + 0x50], eax
push 0x100
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1f
call fcn.0050b7ca
mov dword [ebp + 0x54], eax
push dword [edi + 0xd0]
lea eax, [ebp - 0x34]
push dword [edi + 0xcc]
mov ecx, esi
push dword [edi + 0xc8]
mov byte [ebp - 4], 0x20
push dword [edi + 0xc4]
push eax
call fcn.004b403a
push 0x6465d0
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040e47a
push dword [ebp + 0x54]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e423
push 0x65ec68
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x23
call fcn.0040e47a
push dword [ebp + 0x50]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040e423
add esp, 0x30
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x25
call fcn.00401dd7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x3c]
jmp 0x4b9ff1
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
call fcn.004098d0
mov edi, eax
test edi, edi
je 0x4ba5c2
mov eax, dword [edi]
mov dword [ebp + 0x5c], eax
mov eax, dword [edi + 0x48]
mov dword [ebp + 0x44], eax
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x64]
call fcn.00401dd7
mov eax, dword [edi + 0x18]
push dword [edi]
mov ecx, dword [esi + 0x18b4]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x68]
push eax
call fcn.004189d5
push 0x10b
lea ecx, [ebp + 0xc]
call fcn.0050b7ca
push 0x65ec68
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp - 4], 0x18
call fcn.0040e47a
lea ecx, [edi + 0x88]
push ecx
push eax
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 0x19
call fcn.0040e423
add esp, 0x18
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x1a
call fcn.00401dd7
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
push edi
lea ecx, [ebp - 0x188]
call fcn.0040f015
jmp 0x4ba376
push dword [ebx + 0x28]
mov ecx, dword [esi + 0x18b4]
call fcn.0040988c
mov edi, eax
test edi, edi
je 0x4ba5c2
mov eax, dword [ebx + 0x28]
mov dword [ebp + 0x5c], eax
mov eax, dword [edi + 0x2f4]
mov dword [ebp + 0x44], eax
lea eax, [edi + 0x144]
push eax
lea ecx, [ebp + 0x64]
call fcn.00401dd7
mov ecx, edi
call fcn.004f055c
cmp dword [edi + 0x2f4], 0
mov dword [ebp + 0x48], eax
jne 0x4ba084
lea eax, [ebp + 4]
push eax
lea ecx, [edi + 0x84]
call fcn.004a0b11
push eax
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 5
call fcn.00401dd7
mov ecx, dword [ebp + 4]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
jmp 0x4ba08b
mov ecx, edi
call fcn.004f24ef
cmp dword [ebx], 1
jne 0x4ba125
mov eax, dword [edi + 0x1dc]
cmp dword [eax - 0xc], 0
je 0x4ba103
push 0x10b
lea ecx, [ebp - 0x20]
call fcn.0050b7ca
push 0x65ec68
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.0040e47a
lea ecx, [edi + 0x1dc]
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.0040e423
add esp, 0x18
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 8
call fcn.00401dd7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x20]
jmp 0x4ba1b5
push 0xce
lea ecx, [ebp - 0x28]
call fcn.0050b7ca
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 9
call fcn.00401dd7
mov ecx, dword [ebp - 0x28]
jmp 0x4ba1b5
push dword [edi + 0x23c]
mov ecx, dword [esi + 0x18b4]
call fcn.004091aa
test eax, eax
je 0x4ba1c1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.004ed55b
mov dword [ebp + 0x54], eax
push 0x1d3
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.0050b7ca
push 0x65ec68
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040e47a
push dword [ebp + 0x54]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040e423
add esp, 0x18
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0xd
call fcn.00401dd7
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
lea eax, [ebp - 0x270]
push eax
mov ecx, edi
call fcn.004f8057
push eax
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0xe
call fcn.0040f015
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.0040c0c8
mov eax, dword [edi + 0x2f4]
sub eax, 0
je 0x4ba277
dec eax
jne 0x4ba348
mov eax, dword [edi + 0x2f8]
lea ecx, [ebp - 0xa0]
push ecx
push 0x18
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0x98]
lea eax, [ebp + 0x58]
push dword [ebp - 0x9c]
push 0x65d454
push eax
call fcn.00401e49
add esp, 0xc
lea eax, [ebp + 0x58]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 0x1f0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xf
call fcn.0050b7ca
push ecx
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x10
call fcn.00402e5b
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.004add0a
mov ecx, dword [ebp - 0x50]
jmp 0x4ba33c
lea ecx, [edi + 0x84]
call fcn.0049ef14
push eax
lea eax, [ebp + 0x58]
push 0x641ad4
push eax
call fcn.00401e49
pop ecx
pop ecx
lea eax, [ebp + 0x58]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 0x1ee
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
call fcn.0050b7ca
push ecx
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x13
call fcn.00402e5b
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.004add0a
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
push 0
push 0
push 0xe
push dword [edi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [ebp + 0x58]
push 0x641ad4
push eax
call fcn.00401e49
pop ecx
pop ecx
lea eax, [ebp + 0x58]
mov dword [ebp + 0x40], esp
mov ecx, esp
push eax
call fcn.00402e5b
push 0x1ef
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0x15
call fcn.0050b7ca
push ecx
mov dword [ebp + 0x54], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x16
call fcn.00402e5b
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.004add0a
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
lea eax, [ebp - 0x88]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x64]
cmp dword [eax - 0xc], 0
jne 0x4ba3b1
push 0xf5
lea ecx, [ebp + 0x30]
call fcn.0050b7ca
push eax
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x39
call fcn.00401dd7
mov ecx, dword [ebp + 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401493
mov byte [esi + 0x1f69], 1
jmp 0x4ba3b8
mov byte [esi + 0x1f69], 0
lea eax, [ebp + 0x64]
lea ecx, [esi + 0x1f54]
push eax
call fcn.00401dd7
mov eax, dword [ebp + 0x48]
mov edi, dword [ebp + 0x5c]
mov dword [esi + 0x1f58], eax
mov eax, dword [ebx]
mov dword [esi + 0x1f5c], eax
mov eax, dword [ebp + 0x44]
mov dword [esi + 0x1f60], eax
lea eax, [ebp + 0x60]
lea ecx, [esi + 0x1f88]
push eax
mov dword [esi + 0x1f64], edi
mov byte [esi + 0x1f68], 1
call fcn.00401dd7
mov al, byte [ebp + 0x6f]
lea ecx, [esi + 0x1cf0]
push 0x6401e8
mov byte [esi + 0x1f8c], al
mov byte [esi + 0x1cf4], 0
call fcn.00401e24
lea eax, [ebp - 0x188]
push eax
mov ecx, esi
mov dword [ebp - 0x188], edi
call fcn.004b8a7a
mov eax, dword [esi + 0x1fa0]
xor ebx, ebx
xor edi, edi
mov byte [ebp + 0x6f], 0
mov dword [ebp + 0x50], eax
cmp eax, ebx
je 0x4ba4b4
lea eax, [ebp + 0x50]
push eax
lea ecx, [esi + 0x1f9c]
call fcn.00408c8a
mov ebx, dword [eax]
test edi, edi
je 0x4ba4a4
push dword [edi]
mov ecx, ebx
call fcn.00406897
test eax, eax
jge 0x4ba4a4
push ebx
lea ecx, [ebp - 0xa0]
call fcn.004ab9ca
push edi
mov ecx, ebx
mov byte [ebp - 4], 0x3a
call fcn.004adda3
lea eax, [ebp - 0xa0]
push eax
mov ecx, edi
call fcn.004adda3
lea ecx, [ebp - 0xa0]
mov byte [ebp + 0x6f], 1
mov byte [ebp - 4], 4
call fcn.004ab4de
cmp dword [ebp + 0x50], 0
mov edi, ebx
jne 0x4ba449
cmp byte [ebp + 0x6f], 0
jne 0x4ba434
xor ebx, ebx
cmp byte [esi + 0x1b6e], 0
mov byte [ebp + 0x6f], 0
je 0x4ba4cd
push ebx
mov ecx, esi
call fcn.004a9377
mov byte [ebp + 0x6f], 1
mov eax, dword [ebp + 0x44]
sub eax, ebx
je 0x4ba51b
dec eax
jne 0x4ba5af
push ebx
lea ecx, [esi + 0x328]
call fcn.0055c063
push ebx
push ebx
push 0xb9
push dword [esi + 0x348]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x5c]
mov ecx, dword [esi + 0x18b4]
lea eax, [esi + 0x1914]
push eax
call fcn.00411a6d
mov ecx, esi
call fcn.004aa561
jmp 0x4ba5af
cmp byte [esi + 0x1f8c], 0
je 0x4ba54e
cmp byte [esi + 0x1b10], 0
je 0x4ba54e
push 0x2b
lea ecx, [esi + 0x1cf5]
call fcn.004c9e71
push ebx
lea ecx, [esi + 0x328]
mov dword [esi + 0x1f58], eax
call fcn.0055c063
jmp 0x4ba5af
push dword [ebp + 0x48]
lea ebx, [esi + 0x328]
xor edi, edi
push edi
mov ecx, ebx
call fcn.0049f120
lea eax, [ebp + 0x68]
push eax
mov ecx, ebx
call fcn.004a0717
xor ecx, ecx
push ecx
xor eax, eax
push eax
mov ecx, ebx
call fcn.0049edbb
cmp byte [ebp + 0x6f], 0
jne 0x4ba588
push 5
mov ecx, ebx
call fcn.0055c063
cmp dword [esi + 0x1908], 0xb
jne 0x4ba59a
push 1
mov ecx, esi
call fcn.004ae657
push edi
push edi
push 0xb9
push dword [esi + 0x348]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov ecx, esi
call fcn.004a9f40
mov ecx, esi
call fcn.004a9c04
mov eax, dword [ebp + 0x7c]
mov dword [eax], ebx
mov ecx, dword [ebp + 0x60]
add ecx, 0xfffffff0
call fcn.00401493
lea ecx, [ebp - 0x188]
call fcn.0040c0c8
mov ecx, dword [ebp + 0x58]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x68]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp + 0x64]
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, 0x70
leave
ret 8