Function at 0x407f50
Capabilities:
Delete file
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x43a158
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44b654]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov ebp, dword [esp + 0x38]
push 0x441c24
lea ecx, [esp + 0x20]
call fcn.00405330
mov dword [esp + 0x30], 0
call fcn.004097d0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407faf
push 0x80004005
call fcn.00401510
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.00407770
test eax, eax
je 0x408344
test ebp, ebp
je 0x407fea
mov ecx, dword [ebp + 0x20]
push 0
push 0xb
push 0x466
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
jne 0x407ff2
xor eax, eax
jmp 0x408006
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407ff7
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.004013e0
call fcn.004097d0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40802b
push 0x80004005
call fcn.00401510
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [edi + 0x1c]
push ecx
lea edx, [esp + 0x28]
push 0x441d70
mov bl, 2
push edx
mov byte [esp + 0x3c], bl
call fcn.00406590
add esp, 0xc
mov byte [esp + 0x30], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004095d0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408090
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0x18]
push ecx
lea ecx, [esp + 0x18]
call fcn.004050a0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x4080bf
push 0x3f
push ecx
call fcn.00426aa2
add esp, 8
test eax, eax
je 0x4080bf
sub eax, dword [esp + 0x14]
sar eax, 1
jns 0x4080c3
push 0x3f
jmp 0x4080c5
push 0x26
lea ecx, [esp + 0x18]
call fcn.00409720
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push 0x441d74
push edx
call fcn.00406880
mov eax, dword [esp + 0x50]
add esp, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.00405330
mov bl, 4
mov byte [esp + 0x30], bl
mov ecx, dword [edi + 0x78]
cmp dword [ecx - 0xc], 0
lea esi, [edi + 0x78]
je 0x4081ab
push esi
lea edx, [esp + 0x28]
push 0x441d8c
push edx
call fcn.00406590
add esp, 0xc
mov byte [esp + 0x30], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004095d0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40815f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x28]
push 0x441d8c
push ecx
call fcn.00406590
add esp, 0xc
mov byte [esp + 0x30], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004095d0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4081ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ebp
call fcn.00408af0
add esp, 0x14
test eax, eax
jne 0x408292
test ebp, ebp
je 0x4081e9
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x20]
push 0x466
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40820e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x30], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408254
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40827c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [0x44f7d8], 0
je 0x4082b1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
cmp dword [0x44f7d8], 0
jne 0x4082a1
test ebp, ebp
je 0x4082c8
mov ecx, dword [ebp + 0x20]
push 0
push 0xd
push 0x466
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, ebx
call fcn.004093a0
call fcn.004075e0
test eax, eax
je 0x4083a3
test ebp, ebp
je 0x4082f3
mov edx, dword [ebp + 0x20]
push 0
push 0xe
push 0x466
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40831f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408344
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40838d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test ebp, ebp
je 0x4081e9
push 0
push 0xfffffffffffffffe
jmp 0x4081da