Function at 0x4607e5
Capabilities:
Delete file
Query environment variable
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push 0x400
mov esi, 0x42bc00
push esi
push dword [0x425484]
add eax, 0x3e8
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 3
push 0x80000000
push esi
call fcn.00460c89
mov edi, eax
cmp edi, 0xffffffff
mov dword [0x409050], edi
jne 0x460845
mov eax, 0x40730c
jmp 0x460ade
push esi
call fcn.00460fe0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, ebx
mov dword [0x41d9b8], eax
mov esi, eax
jle 0x460980
mov eax, dword [0x424bc8]
neg eax
sbb eax, eax
and eax, 0x7e00
add eax, 0x200
cmp esi, eax
mov edi, esi
jl 0x46087d
mov edi, eax
push edi
push 0x40d928
call fcn.00460486
test eax, eax
je 0x460a32
cmp dword [0x424bc8], ebx
jne 0x460913
push 0x1c
push 0x40d928
lea eax, [ebp - 0x2c]
push eax
call fcn.00460c69
mov ecx, dword [ebp - 0x2c]
test ecx, 0xfffffff0
jne 0x460949
cmp dword [ebp - 0x28], 0xdeadbeef
jne 0x460949
cmp dword [ebp - 0x1c], 0x74736e49
jne 0x460949
cmp dword [ebp - 0x20], 0x74666f73
jne 0x460949
cmp dword [ebp - 0x24], 0x6c6c754e
jne 0x460949
mov eax, dword [ebp - 0x14]
cmp eax, esi
jg 0x460a83
or dword [ebp + 8], ecx
test byte [ebp + 8], 8
mov edx, dword [0x41d9b0]
mov dword [0x424bc8], edx
jne 0x460905
test byte [ebp + 8], 4
jne 0x460972
inc dword [ebp - 0x10]
lea esi, [eax - 4]
cmp edi, esi
jbe 0x460949
mov edi, esi
jmp 0x460949
test byte [ebp + 8], 2
jne 0x460949
cmp dword [ebp - 4], ebx
jne 0x460a1a
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
cmp eax, dword [ebp - 8]
jbe 0x460949
push 0x407af4
push 0x40523e
push ebx
push 0x6f
push dword [0x425484]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov dword [ebp - 4], eax
cmp esi, dword [0x41d9b8]
jge 0x460962
push edi
push 0x40d928
push dword [ebp - 0xc]
call fcn.0045e70f
mov dword [ebp - 0xc], eax
add dword [0x41d9b0], edi
sub esi, edi
cmp esi, ebx
jg 0x460862
cmp dword [ebp - 4], ebx
je 0x460980
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp dword [0x424bc8], ebx
je 0x460a83
cmp dword [ebp - 0x10], ebx
je 0x4609bb
push dword [0x41d9b0]
call fcn.004604b8
push 4
lea eax, [ebp - 8]
push eax
call fcn.00460486
test eax, eax
je 0x460a83
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x460a83
push dword [ebp - 0x18]
call fcn.00460bca
mov ecx, 0x415928
mov esi, eax
call fcn.00461689
push 0x42c400
lea eax, [ebp - 0x14c]
push eax
call fcn.00460cb8
push ebx
push 0x4000100
push 2
push ebx
push ebx
push 0xc0000000
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, 0xffffffff
mov dword [0x409054], eax
jne 0x460a42
mov eax, 0x407340
jmp 0x460ade
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push 1
push ebx
push ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
jne 0x460a10
jmp 0x460949
cmp dword [ebp - 4], ebx
je 0x460a83
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x460a83
mov eax, dword [0x424bc8]
add eax, 0x1c
push eax
call fcn.004604b8
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x18]
not ecx
and ecx, 4
mov dword [0x4219c8], eax
sub eax, ecx
mov ecx, dword [ebp - 0x14]
push esi
push ebx
lea eax, [eax + ecx - 0x1c]
push 0xffffffffffffffff
mov dword [0x4219c4], eax
call fcn.004606ba
cmp eax, dword [ebp - 0x18]
je 0x460a8a
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
mov eax, 0x4079c0
jmp 0x460ade
test byte [ebp + 8], 2
mov dword [0x424b60], esi
je 0x460a99
or dword [esi], 8
mov eax, dword [esi]
and eax, 0x18
test byte [ebp - 0x2c], 1
mov dword [0x424c00], eax
mov eax, dword [esi]
mov dword [0x424bc4], eax
je 0x460ab6
inc dword [0x424bc0]
push 8
lea eax, [esi + 0x44]
pop ecx
sub eax, 8
add dword [eax], esi
dec ecx
jne 0x460abc
mov eax, dword [0x4219c0]
mov dword [esi + 0x3c], eax
push 0x40
add esi, 4
push esi
push 0x424b80
call fcn.00460c69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4