Function at 0x403140
Capabilities:
Check for time delay via gettickcount
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cf60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x247]
mov byte [ebp - 0x248], 0
mov byte [ebp - 0x148], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x147]
mov esi, dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], esp
xor edi, edi
push esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40360a
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp + 0x10]
cmp ebx, 0xa2
jg 0x4031e5
mov dword [ebp - 0x18], 0x12c
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x24], edi
jmp 0x4031fe
lea ecx, [ebx - 0xa0]
lea edx, [ebx + 0xa0]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], edi
jmp 0x4031fe
xor edi, edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
push 0x1f7
push 0x2fd
push edi
push edi
push ecx
call fcn.00402230
mov edi, eax
add esp, 0x18
test edi, edi
mov dword [ebp - 0x28], edi
je 0x40360a
mov eax, dword [ebp - 0x20]
mov edx, ebx
cmp ebx, eax
jle 0x40325c
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
imul esi, dword [ebp - 0x2c]
lea ecx, [esi + edx*4]
lea eax, [ecx + edi]
mov cl, byte [ecx + edi + 1]
cmp byte [eax + 2], cl
jne 0x40325c
cmp cl, byte [eax]
jne 0x40325c
test cl, cl
jne 0x40325c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
dec edx
cmp edx, eax
jg 0x40323a
mov eax, dword [ebp - 0x18]
mov edx, ebx
cmp ebx, eax
jge 0x403291
mov eax, dword [ebp + 0x14]
lea esi, [eax + 1]
imul esi, dword [ebp - 0x2c]
lea ecx, [esi + edx*4]
lea eax, [ecx + edi]
mov cl, byte [ecx + edi + 1]
cmp byte [eax + 2], cl
jne 0x403291
cmp cl, byte [eax]
jne 0x403291
test cl, cl
jne 0x403291
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
inc edx
cmp edx, eax
jl 0x40326f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, ecx
sub edx, eax
cmp edx, 0x64
jg 0x4032d1
push edi
call fcn.004086ca
add esp, 4
mov dword [ebp - 0x28], 0
push 4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 0x28
mov dword [ebp - 0x24], eax
jl 0x4031fc
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
sub edx, eax
cmp edx, 0x50
jle 0x4035fb
mov eax, dword [ebp + 0x14]
lea esi, [eax + 0x11]
test esi, esi
jge 0x4032ed
mov esi, 0x64
add eax, 0x8c
cmp eax, 0x1e0
jle 0x4032fe
mov eax, 0x1e0
test esi, esi
jle 0x40330c
test eax, eax
jne 0x40330c
lea eax, [esi + 0x8c]
cmp eax, 0x1e0
jle 0x403318
mov eax, 0x1e0
mov ecx, eax
sub ecx, esi
cmp ecx, 0x50
jle 0x4035d5
mov edi, dword [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
push edi
push str.___d__d__d__d__d_n
call fcn.004082b4
add edi, 2
add esp, 0x18
mov dword [ebp - 0x14], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
xor ebx, ebx
cmp ebx, 8
mov dword [ebp - 0x18], esi
jge 0x403464
inc ebx
mov dword [ebp - 0x24], ebx
call edi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push ecx
mov dword [ebp - 4], 0
call edi
push eax
push 0x430ed4
lea edx, [ebp - 0x248]
push str._scode2_d_d.bmp
push edx
call fcn.004081a3
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x13]
push eax
mov eax, dword [ebp - 0x14]
lea edx, [esi + 2]
push ecx
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x248]
push eax
push ecx
push edx
call fcn.00402310
add esp, 0x2c
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x248]
push eax
push ecx
mov ecx, dword [0x4312e4]
call fcn.004072c0
lea edx, [ebp - 0x248]
push edx
call fcn.00403000
add esp, 4
test al, al
je 0x4033f6
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4033f6
mov dword [ebp - 4], 0xffffffff
call edi
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x148]
sub eax, edx
push eax
push ecx
push str.code__s__d_n
call fcn.004082b4
lea edx, [ebp - 0x148]
push 0x42c198
push edx
call fcn.004087c0
add esp, 0x14
test eax, eax
jne 0x403464
lea eax, [ebp - 0x148]
push str.walk
push eax
call fcn.004087c0
add esp, 8
test eax, eax
jne 0x403464
lea ecx, [ebp - 0x148]
push str.usebank
push ecx
call fcn.004087c0
add esp, 8
test eax, eax
je 0x4034c7
add esi, 0xf
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004086ca
mov eax, dword [ebp - 0x30]
add esp, 4
test eax, eax
jle 0x403557
cmp dword [ebp + 0x18], 1
jne 0x4035bf
lea ecx, [ebp - 0x148]
push str.usebank
push ecx
call fcn.004087c0
add esp, 8
test eax, eax
je 0x4034e7
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add esi, 8
push esi
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.00403020
add esp, 0x14
cmp eax, 1
jne 0x4035bf
jmp 0x4035b4
lea edx, [ebp - 0x148]
push str.minerune
push edx
call fcn.004087c0
add esp, 8
test eax, eax
jne 0x403461
add esi, 0xf
jmp 0x40334d
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
inc ecx
and ecx, 0xffff
shl ecx, 0x10
inc edx
and edx, 0xffff
or ecx, edx
push ecx
push 1
push 0x200
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push edi
push ebx
push esi
call fcn.00402590
push edi
push ebx
push esi
call fcn.00402590
add esp, 0x18
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x38]
test esi, esi
jle 0x40357e
push 0x42c170
call fcn.004082b4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add esi, 8
push esi
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
jmp 0x4035a7
mov esi, dword [ebp - 0x34]
test esi, esi
jle 0x40360a
push 0x42c164
call fcn.004082b4
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add esi, 8
push esi
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.00403020
add esp, 0x18
cmp eax, 1
jne 0x4035bf
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x42c154
call fcn.004082b4
push edi
call fcn.004086ca
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push eax
push str._d__d_n
call fcn.004082b4
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret