Function at 0x4279a0
Capabilities:
Delete file
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3160
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x51f524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], 1
jne 0x427d86
mov ecx, dword [edi + 0xa4]
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x427a1e
push 0
push edx
mov edx, dword [ebp - 0x78]
lea eax, [ecx + 0x24]
mov ecx, dword [eax]
push esi
push edx
push ebx
push dword [ebp - 0x80]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x78]
mov esi, dword [edi + 0x28]
lea ecx, [edi + 0x24]
push 0
push edx
push dword [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
call fcn.00427670
mov dword [edi + 0x28], esi
lea ecx, [edi + 0x24]
test eax, eax
jne 0x427a5f
cmp ebx, 1
jne 0x427a69
push dword [ebp - 0x7c]
mov ecx, edi
mov dword [edi + 0x40], ebx
call fcn.00426210
mov esi, dword [ebp - 0x6c]
mov dword [esi], eax
cmp dword [edi + 0x40], 0
je 0x427d86
mov eax, 1
jmp 0x427d88
cmp ebx, 0x10
jne 0x427ab3
mov eax, dword [edi + 0x78]
mov dword [edi + 0x40], 1
cmp dword [eax - 0xc], 0
je 0x427a85
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [ebp - 0x6c]
mov dword [esi], 0
cmp dword [edi + 0x40], 0
je 0x427d86
mov eax, 1
jmp 0x427d88
cmp ebx, 0x1417
jne 0x427ae7
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
mov ecx, edi
push edx
push ebx
call fcn.004267b0
cmp dword [ebp - 0x74], 0
mov esi, dword [ebp - 0x6c]
mov dword [esi], eax
je 0x427d86
mov eax, 1
jmp 0x427d88
cmp ebx, 0xf
jne 0x427b64
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x60]
push ecx
push eax
mov dword [edi + 0x40], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0xa8]
test edx, edx
je 0x427b52
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 0xcc0020
push 0
push 0
push dword [edx]
push ecx
push eax
push 0
push 0
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x427a96
cmp ebx, 0x14
jne 0x427b75
mov dword [edi + 0x40], 1
jmp 0x427a96
cmp ebx, 0x1401
jne 0x427b9b
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
push dword [ebp - 0x7c]
mov edx, dword [ebp - 0x78]
push edx
push ebx
call dword [eax]
mov esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [esi], eax
jmp 0x427aa3
cmp ebx, 0x111
jne 0x427d00
mov edx, dword [ebp - 0x78]
mov eax, 1
movzx ebx, dx
cmp ax, bx
jne 0x427be2
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00427230
cmp dword [ebp - 0x74], 0
mov esi, dword [ebp - 0x6c]
mov dword [esi], 0
je 0x427be5
mov eax, 1
jmp 0x427d88
mov esi, dword [ebp - 0x6c]
mov eax, 2
cmp ax, bx
jne 0x427d86
call fcn.00409e40
mov ecx, eax
test ecx, ecx
je 0x427da6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
push dword [edi + 0xc4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x427db0
mov eax, dword [ebp - 0x6c]
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x427c4b
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0040ac20
mov eax, dword [ebp - 0x6c]
push ebx
push eax
push dword [edi + 0xc4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x427c71
mov eax, dword [ebp - 0x6c]
push dword [eax - 8]
push eax
call fcn.0049a613
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x427db0
mov eax, dword [ebp - 0x6c]
cmp ecx, dword [eax - 8]
jg 0x427db0
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x6c]
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 0xc], 5
jge 0x427cb5
mov ecx, dword [edi + 0xf8]
test ecx, ecx
je 0x427cb5
mov eax, dword [ecx]
push 1
push ecx
call dword [eax + 0x14]
mov ecx, edi
call fcn.00426bb0
jmp 0x427cd3
lea eax, [ebp - 0x6c]
push eax
lea ecx, [edi + 0x44]
call fcn.0042fd50
mov ecx, edi
call fcn.00427230
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x6c]
or eax, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427cf1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x74], 0
mov dword [esi], 0
jmp 0x427aa3
cmp ebx, 0x1418
jne 0x427d86
cmp dword [edi + 0xf0], 0
jne 0x427d32
push 0
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [esi], 0
jmp 0x427aa3
lea ecx, [ebp - 0x6d]
call fcn.0042a0c0
cmp dword [edi + 0xf4], 0
mov dword [ebp - 4], 1
je 0x427d65
push 0
lea ecx, [ebp - 0x6d]
call fcn.0042ae80
test eax, eax
je 0x427d65
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x427d6c
mov ecx, edi
call fcn.00427230
lea ecx, [ebp - 0x6d]
call fcn.0042a1f0
mov esi, dword [ebp - 0x6c]
cmp dword [ebp - 0x74], 0
mov dword [esi], 0
jmp 0x427aa3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466ab7
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.00409b80
push 0x80070057
call fcn.00409b80
int3