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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b6d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
push ebx
mov ebx, ecx
mov ecx, dword [0x6d2488]
push esi
push edi
mov dword [ebp - 4], 0
test ecx, ecx
mov dword [ebp - 0x10], esp
je 0x467b97
mov edi, dword [ebp + 8]
push edi
call fcn.0050a300
mov esi, eax
test esi, esi
mov dword [ebp - 0x18], esi
je 0x467b97
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [0x6d24a0]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4678d1
mov ecx, dword [0x6d24a0]
push edi
push 0x1399
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ecx, ebx
call fcn.0047b6b0
mov byte [ebp - 0x11], 0
xor edi, edi
mov eax, dword [ebx + 0x1c8]
cmp edi, dword [eax + 8]
jge 0x467974
mov eax, dword [eax + 4]
mov edx, edi
shl edx, 4
mov esi, dword [eax + edx]
cmp dword [esi + 0x8d4], 1
jne 0x467923
mov eax, dword [esi + 8]
test eax, eax
je 0x46791f
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x484]
cmp ecx, eax
jne 0x46791f
mov ecx, esi
call fcn.005b44f0
jmp 0x467923
mov byte [ebp - 0x11], 1
mov eax, dword [esi + 8]
xor ecx, ecx
cmp eax, ecx
je 0x46795d
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x484]
cmp edx, eax
jne 0x46795d
mov eax, dword [esi + 0x314]
mov dword [esi + 8], ecx
cmp eax, 4
je 0x467950
cmp dword [esi + 0x31c], 0x40
jne 0x46795d
mov eax, dword [esi + 0x30c]
cmp eax, ecx
je 0x46795d
mov dword [eax + 8], ecx
mov byte [esi + 0x33f], 0
mov byte [esi + 0x18a], 0
mov esi, dword [ebp - 0x18]
inc edi
jmp 0x4678df
add esi, 0x24
test esi, esi
je 0x467b97
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x467b97
mov al, byte [ebx + 0x142c]
test al, al
je 0x4679b7
mov al, byte [ebx + 0xfde]
test al, al
je 0x4679b0
lea eax, [ebx + 0xdd6]
lea ecx, [ebx + 0x6b4]
push eax
call fcn.0051fe60
mov byte [ebx + 0x142c], 0
mov al, byte [esi + 0x18]
test al, al
je 0x467a05
mov eax, dword [esi + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x467a05
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x467a05
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 0x467a88
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d1c98
call fcn.00603aaa
push 1
lea ecx, [ebp - 0x120]
call fcn.0051e540
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.005ffa36
cmp eax, 1
jne 0x467a51
mov ecx, ebx
call fcn.00464f70
mov ecx, dword [ebx + 0x14c]
call fcn.00437770
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00603a3c
mov edi, 0x632e74
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 2
call fcn.005fe1e0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.005ff677
jmp 0x467a8d
mov edi, 0x632e74
mov al, byte [esi + 0x2d]
test al, al
je 0x467b82
mov ecx, ebx
call fcn.00464f70
push 0
mov ecx, ebx
call fcn.0060313e
mov edx, dword [0x6d24a0]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x467acb
mov eax, dword [0x6d24a0]
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 0x467b02
mov byte [ebx + 0x209], 1
jmp 0x467b82
push 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x6d1c98
call fcn.00603aaa
push 0
lea ecx, [ebp - 0x120]
call fcn.0051e540
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.005ffa36
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00603a3c
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x80], edi
mov byte [ebp - 4], 7
call fcn.005fe1e0
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.005ff677
mov al, byte [esi + 0x2e]
test al, al
je 0x467b97
mov al, byte [ebp - 0x11]
test al, al
jne 0x467bc8
mov ecx, ebx
call fcn.00462960
mov eax, dword [ebx + 0x1c]
push 0
push 0x2710
push 4
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x467bb5
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 0x6d1c98
call fcn.00603aaa
push 4
lea ecx, [ebp - 0x1ec]
call fcn.0051e540
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xb
call fcn.005ffa36
cmp eax, 1
jne 0x467c02
mov ecx, ebx
call fcn.00462960
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xf
call fcn.00603a3c
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x14c], edi
mov byte [ebp - 4], 0xc
call fcn.005fe1e0
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0
call fcn.005ff677
jmp 0x467b97