Function at 0x4f50b4
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x3230]
mov eax, 0x3230
call fcn.0058f710
push 0xffffffffffffffff
push 0x636957
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x6ba0d0]
xor eax, ebp
mov dword [ebp + 0x322c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.004f0619
mov eax, dword [esi + 0x334]
mov eax, dword [eax + 0xec4]
and dword [ebp - 0x60], 0
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x2b8]
mov dword [ebp - 0x44], eax
mov ebx, 0xee
mov edi, str.__._.
cmp dword [ebp - 0x44], 0
je 0x4f5b14
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 0x2b0]
call fcn.00408cbc
mov eax, dword [eax]
mov ecx, dword [esi + 0x334]
push 0
push eax
add ecx, 0x14c4
mov dword [ebp - 0x28], eax
call fcn.00565371
test eax, eax
je 0x4f5124
mov ecx, dword [ebp - 0x28]
push 1
lea eax, [ebp - 0x7c]
push eax
call fcn.004f3320
and dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e5b
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x2f4], 0
jne 0x4f56e7
push ebx
lea ecx, [ebp - 0x84]
call fcn.0050b7ca
mov dword [ebp - 0x30], eax
push 0x4f
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.0050b7ca
mov dword [ebp - 0x3c], eax
push 0x106
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.0050b7ca
mov dword [ebp - 0x18], eax
push 0x50
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.0050b7ca
push str.__.sti_.sti
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 6
call fcn.0040e47a
push dword [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0040e423
push str.__.rtf_.rtf
push eax
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 8
call fcn.0040e47a
push dword [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040e423
push str.__.txt_.txt
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e47a
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040e423
add esp, 0x48
push edi
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0xc
call fcn.0040e47a
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xd
call fcn.00402e5b
mov ecx, dword [ebp - 0xcc]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xbc]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x19
call fcn.00401493
push dword [esi + 0xa4]
lea eax, [ebp - 0x4c]
push ecx
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00402e5b
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.00402e5b
push 0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x19
call fcn.004a391a
push dword [ebp - 0x60]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x1b
call fcn.004a38bb
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x24]
call fcn.004018a6
lea eax, [ebp - 0x120]
push eax
push 0
push 0x434
push dword [esi + 0xa4]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x118]
call fcn.004a3a0d
cmp eax, 1
jne 0x4f56ab
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x118]
call fcn.004a3902
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1d
call fcn.00402e5b
mov ecx, dword [ebp - 0xc4]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.00401493
lea ecx, [ebp - 0x118]
call fcn.004a38b7
and dword [ebp - 0x18], 0
mov dword [ebp - 0x60], eax
dec eax
je 0x4f54f9
dec eax
je 0x4f5461
dec eax
je 0x4f5413
dec eax
jne 0x4f556f
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
add ecx, 0x84
call fcn.00556e05
jmp 0x4f5567
push 4
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040cce9
push str..txt
mov ecx, eax
mov byte [ebp - 4], 0x25
call fcn.004027cb
mov ecx, dword [ebp - 0x8c]
test eax, eax
setne byte [ebp - 0x11]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.00401493
cmp byte [ebp - 0x11], 0
je 0x4f53fc
push str..txt
lea ecx, [ebp - 0x1c]
call fcn.00405a72
jmp 0x4f53fc
push 4
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040cce9
push str..rtf
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.004027cb
mov ecx, dword [ebp - 0x58]
test eax, eax
setne byte [ebp - 0x11]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.00401493
cmp byte [ebp - 0x11], 0
je 0x4f54a7
push str..rtf
lea ecx, [ebp - 0x1c]
call fcn.00405a72
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x64]
push eax
add ecx, 0x84
call fcn.004a0b11
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x23
call fcn.00402e5b
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x24
call fcn.00401dd7
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.00401493
and dword [ebp - 0x18], 0
jmp 0x4f556f
push 4
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040cce9
push str..sti
mov ecx, eax
mov byte [ebp - 4], 0x20
call fcn.004027cb
mov ecx, dword [ebp - 0x50]
test eax, eax
setne byte [ebp - 0x11]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.00401493
cmp byte [ebp - 0x11], 0
je 0x4f553f
push str..sti
lea ecx, [ebp - 0x1c]
call fcn.00405a72
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x54]
push eax
call fcn.004f4d54
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x21
call fcn.00401dd7
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1f
call fcn.00401493
mov eax, dword [0x657cd0]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xfc]
call fcn.0054db32
lea ecx, [ebp]
mov byte [ebp - 4], 0x27
call fcn.0048b194
mov eax, dword [ebp - 0x18]
push 0
or eax, 0x1001
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp]
mov byte [ebp - 4], 0x28
call fcn.0048b64c
push dword [ebp - 0x24]
lea ecx, [ebp]
call fcn.0048ba15
lea ecx, [ebp]
mov byte [ebp - 4], 0x27
call fcn.00565003
mov dword [ebp - 4], 0x1f
call fcn.0054db4a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401493
jmp 0x4f56af
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401493
xor al, al
jmp 0x4f5b16
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x120]
push eax
push 0
push 0x437
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401493
lea ecx, [ebp - 0x118]
call fcn.0040ca35
mov ecx, dword [ebp - 0x4c]
jmp 0x4f5af8
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jne 0x4f5742
push dword [esi + 0x3f4]
mov ecx, dword [esi + 0x334]
lea eax, [ebp - 0x9c]
push eax
call fcn.0040e2ec
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x2d
call fcn.00402e5b
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x2e
call fcn.00401dd7
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x9c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401493
push ebx
lea ecx, [ebp - 0xa0]
call fcn.0050b7ca
mov dword [ebp - 0x18], eax
push 0x155
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x2f
call fcn.0050b7ca
mov dword [ebp - 0x3c], eax
push 0x1e4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x30
call fcn.0050b7ca
mov dword [ebp - 0x30], eax
push 0x185
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x31
call fcn.0050b7ca
push str.__.png_.png
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0x32
call fcn.0040e47a
push dword [ebp - 0x30]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040e423
push str.__.jpg_.jpg
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0x34
call fcn.0040e47a
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0x35
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0040e423
push str.__.bmp_.bmp
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x36
call fcn.0040e47a
push dword [ebp - 0x18]
mov byte [ebp - 4], 0x37
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040e423
add esp, 0x48
push edi
push eax
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x38
call fcn.0040e47a
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x39
call fcn.00402e5b
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xb8]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xac]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x90]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x45
call fcn.00401493
push dword [esi + 0xa4]
lea eax, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00402e5b
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x46
call fcn.00402e5b
push 0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x45
call fcn.004a391a
push dword [ebp - 0x48]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x47
call fcn.004a38bb
lea ecx, [ebp - 0xf4]
call fcn.004a3a0d
cmp eax, 1
jne 0x4f5ae6
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xf4]
call fcn.004a3902
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x48
call fcn.00402e5b
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x4a
call fcn.00401493
lea ecx, [ebp - 0xf4]
call fcn.004a38b7
push str..png
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call fcn.00402035
cmp dword [ebp - 0x48], 2
mov byte [ebp - 4], 0x4b
mov dword [ebp - 0x18], 4
jne 0x4f598c
push str..jpg
lea ecx, [ebp - 0x2c]
call fcn.00401e24
mov dword [ebp - 0x18], 3
cmp dword [ebp - 0x48], 3
jne 0x4f59a6
push str..bmp
lea ecx, [ebp - 0x2c]
call fcn.00401e24
mov dword [ebp - 0x18], 1
push 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040cce9
push dword [ebp - 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x4c
call fcn.004027cb
mov ecx, dword [ebp - 0x40]
test eax, eax
setne byte [ebp - 0x11]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x4b
call fcn.00401493
cmp byte [ebp - 0x11], 0
je 0x4f59ec
mov eax, dword [ebp - 0x2c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x34]
push eax
call fcn.0040598e
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push ecx
mov dword [ebp - 0x30], esp
mov ecx, esp
push eax
call fcn.00402e5b
mov ecx, dword [ebp - 0x28]
call fcn.004f2249
test al, al
jne 0x4f5ace
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push str.Unable_to_save_to
push eax
call fcn.00405a0e
add esp, 8
mov dword [ebp - 0x68], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x4d
call fcn.00402e5b
mov ecx, dword [esi + 0x334]
push 3
call fcn.00415cb2
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x4b
call fcn.00401493
call fcn.0054f69d
push eax
lea ecx, [ebp - 0x38]
call fcn.004018a6
push 0x154
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x4e
call fcn.0050b7ca
mov eax, dword [eax]
mov esi, dword [ebp - 0x34]
push esi
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x4f
call fcn.00401e49
mov ecx, dword [ebp - 0x40]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x4e
call fcn.00401493
mov edi, dword [ebp - 0x38]
push 0
push 0
push edi
call fcn.0054fe54
lea ecx, [edi - 0x10]
call fcn.00401493
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401493
lea ecx, [esi - 0x10]
call fcn.00401493
lea ecx, [ebp - 0xf4]
call fcn.0040ca35
mov ecx, dword [ebp - 0x5c]
jmp 0x4f5691
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401493
jmp 0x4f5aea
and dword [ebp - 0x44], 0
lea ecx, [ebp - 0xf4]
call fcn.0040ca35
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.00401493
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401493
jmp 0x4f5124
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x322c]
xor ecx, ebp
call fcn.0058c0de
add ebp, 0x3230
leave
ret