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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a769
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
mov ebx, ecx
mov ecx, dword [0x6d1428]
push esi
push edi
mov dword [ebp - 4], 0
test ecx, ecx
mov dword [ebp - 0x10], esp
je 0x4674a7
mov edi, dword [ebp + 8]
push edi
call fcn.00509390
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
je 0x4674a7
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [0x6d1440]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4671e1
mov ecx, dword [0x6d1440]
push edi
push 0x1399
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ecx, ebx
call fcn.0047afc0
mov byte [ebp - 0x11], 0
xor edi, edi
mov eax, dword [ebx + 0x1c8]
cmp edi, dword [eax + 8]
jge 0x467284
mov eax, dword [eax + 4]
mov edx, edi
shl edx, 4
mov esi, dword [eax + edx]
cmp dword [esi + 0x8d4], 1
jne 0x467233
mov eax, dword [esi + 8]
test eax, eax
je 0x46722f
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x484]
cmp ecx, eax
jne 0x46722f
mov ecx, esi
call fcn.005b3710
jmp 0x467233
mov byte [ebp - 0x11], 1
mov eax, dword [esi + 8]
xor ecx, ecx
cmp eax, ecx
je 0x46726d
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x484]
cmp edx, eax
jne 0x46726d
mov eax, dword [esi + 0x314]
mov dword [esi + 8], ecx
cmp eax, 4
je 0x467260
cmp dword [esi + 0x31c], 0x40
jne 0x46726d
mov eax, dword [esi + 0x30c]
cmp eax, ecx
je 0x46726d
mov dword [eax + 8], ecx
mov byte [esi + 0x33f], 0
mov byte [esi + 0x18a], 0
mov esi, dword [ebp - 0x18]
inc edi
jmp 0x4671ef
add esi, 0x24
test esi, esi
je 0x4674a7
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4674a7
mov al, byte [ebx + 0x142c]
test al, al
je 0x4672c7
mov al, byte [ebx + 0xfde]
test al, al
je 0x4672c0
lea eax, [ebx + 0xdd6]
lea ecx, [ebx + 0x6b4]
push eax
call fcn.0051eef0
mov byte [ebx + 0x142c], 0
mov al, byte [esi + 0x18]
test al, al
je 0x467315
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x467315
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x467315
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov al, byte [esi + 0x2f]
test al, al
je 0x467398
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d0c38
call fcn.00602b44
push 1
lea ecx, [ebp - 0x120]
call fcn.0051d5e0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.005fead6
cmp eax, 1
jne 0x467361
mov ecx, ebx
call fcn.00464880
mov ecx, dword [ebx + 0x14c]
call fcn.004373d0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00602ad6
mov edi, 0x631e74
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 2
call fcn.005fd27d
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.005fe717
jmp 0x46739d
mov edi, 0x631e74
mov al, byte [esi + 0x2d]
test al, al
je 0x467492
mov ecx, ebx
call fcn.00464880
push 0
mov ecx, ebx
call fcn.006021da
mov edx, dword [0x6d1440]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4673db
mov eax, dword [0x6d1440]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
mov cl, byte [esi + 0x2c]
push 0
mov dword [ebx + 0x21c], ecx
mov edx, dword [esi + 0x3c]
push 0xc8
push 0x19
push eax
mov dword [ebx + 0x220], edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x467412
mov byte [ebx + 0x209], 1
jmp 0x467492
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d0c38
call fcn.00602b44
push 0
lea ecx, [ebp - 0x120]
call fcn.0051d5e0
mov edx, dword [esi + 0x3c]
xor ecx, ecx
mov cl, byte [esi + 0x2c]
xor eax, eax
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 6
mov dword [ebp - 0xc0], edx
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x220], eax
call fcn.005fead6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00602ad6
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 7
call fcn.005fd27d
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.005fe717
mov al, byte [esi + 0x2e]
test al, al
je 0x4674a7
mov al, byte [ebp - 0x11]
test al, al
jne 0x4674d8
mov ecx, ebx
call fcn.00462270
mov eax, dword [ebx + 0x1c]
push 0
push 0x2710
push 4
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x4674c5
mov byte [ebx + 0x1fd], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d0c38
call fcn.00602b44
push 4
lea ecx, [ebp - 0x1ec]
call fcn.0051d5e0
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xb
call fcn.005fead6
cmp eax, 1
jne 0x467512
mov ecx, ebx
call fcn.00462270
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xf
call fcn.00602ad6
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x14c], edi
mov byte [ebp - 4], 0xc
call fcn.005fd27d
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0
call fcn.005fe717
jmp 0x4674a7