Function at 0x480430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c0588
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x48046f
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov dword [esp + 0x50], 0
test ebx, ebx
je 0x4808fe
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0
je 0x4808fe
cmp dword [edi + 0xbc], 0
je 0x4808fe
mov ecx, dword [edi + 0xbc]
mov edx, dword [ecx]
mov esi, dword [ebx + 0xb4]
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], esi
call eax
mov edx, eax
mov eax, esi
mov ecx, edi
call fcn.004c7ea0
test eax, eax
jne 0x480536
mov dword [esp + 0x10], eax
lea esi, [esp + 0x10]
mov byte [esp + 0x50], 1
call fcn.0048ef40
push eax
push ebx
mov ecx, edi
call fcn.00480ae0
test eax, eax
je 0x4805f3
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x2c]
call eax
cmp eax, 9
jne 0x480615
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
mov ecx, ebx
call eax
test eax, eax
jg 0x4805f3
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x1c]
call fcn.00480c40
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48055b
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x10]
test eax, eax
je 0x480536
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
test eax, eax
jle 0x4805de
mov dword [esp + 0x18], 0
mov byte [esp + 0x50], 3
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
lea esi, [esp + 0x18]
mov edi, eax
add ebx, 0x20
call fcn.0048ef40
mov esi, dword [esp + 0x20]
push eax
mov eax, dword [ebx]
push esi
push edi
call eax
test eax, eax
mov eax, dword [esp + 0x18]
je 0x4805bf
test eax, eax
je 0x4805bf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 1
push eax
push ecx
push edx
call fcn.0047fd40
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 2
test eax, eax
je 0x4805d0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc esi
cmp esi, dword [esp + 0x24]
mov dword [esp + 0x20], esi
jl 0x480573
mov ebx, dword [ebp + 0xc]
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4805f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x480608
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x50], 0xffffffff
jmp 0x48090a
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00406c20
lea edx, [esp + 0x20]
push edx
mov ecx, str.360wapp.exe
mov byte [esp + 0x54], 4
call fcn.00406c20
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x58], 5
call fcn.0052fd70
add esp, 8
mov byte [esp + 0x50], 6
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0040ffc0
test eax, eax
lea ecx, [esp + 0x24]
sete bl
call fcn.004066e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 4
call fcn.004066e0
test bl, bl
je 0x4807d8
lea eax, [esp + 0x18]
push eax
call fcn.0052fc60
add esp, 4
mov bl, 7
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x480777
mov ecx, dword [edi + 0xbc]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, 0x5caac0
mov esi, eax
call fcn.00406c20
push ecx
mov byte [esp + 0x5c], 8
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov ecx, 0x5d1a28
call fcn.00406c20
push ecx
mov byte [esp + 0x60], 9
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
mov ecx, 0x5d1a30
call fcn.00406c20
push ecx
mov ecx, esp
mov byte [esp + 0x64], 0xa
mov dword [esp + 0x40], esp
push ecx
mov ecx, 0x5d1a38
call fcn.00406c20
push 1
push ecx
mov byte [esp + 0x6c], 0xb
mov edx, esp
mov dword [esp + 0x4c], esp
push edx
mov ecx, 0x5d4b90
call fcn.00406c20
mov byte [esp + 0x6c], bl
mov ebx, esi
call fcn.0047e480
add esp, 0x1c
cmp eax, 1
jne 0x480769
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov ecx, 0x5caac0
xor esi, esi
call fcn.00406c20
mov ecx, esi
call fcn.0052ff50
add esp, 4
lea ecx, [esp + 0x18]
call fcn.004066e0
jmp 0x4808b8
mov eax, dword [esp + 0x14]
push eax
call esi
test eax, eax
jne 0x4807ca
lea esi, [esp + 0x38]
call fcn.004e1b80
mov byte [esp + 0x50], 0xc
mov ecx, dword [edi + 0xbc]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push eax
call fcn.004df770
cmp eax, 1
je 0x4807c1
test eax, eax
je 0x4807c1
mov ecx, esi
call fcn.004e1bb0
lea ecx, [esp + 0x18]
call fcn.004066e0
jmp 0x4808b8
lea ecx, [esp + 0x38]
call fcn.004e1bb0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 4
call fcn.004066e0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push eax
call edx
test eax, eax
jne 0x48089c
mov ecx, dword [edi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
push 0
push ecx
mov esi, eax
mov eax, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, 0x5caac0
call fcn.00406c20
push ecx
mov ecx, esp
mov byte [esp + 0x5c], 0xd
mov dword [esp + 0x38], esp
push ecx
mov ecx, 0x5d1a28
call fcn.00406c20
push ecx
mov byte [esp + 0x60], 0xe
mov edx, esp
mov dword [esp + 0x34], esp
push edx
mov ecx, 0x5d1a30
call fcn.00406c20
push ecx
mov byte [esp + 0x64], 0xf
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov ecx, 0x5d1a38
call fcn.00406c20
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push ecx
mov ecx, 0x5d4bb8
mov byte [esp + 0x70], 0x10
call fcn.00406c20
mov ebx, esi
mov byte [esp + 0x6c], 4
call fcn.0047e480
add esp, 0x1c
cmp eax, 1
jne 0x4808b8
mov edx, dword [esp + 0x1c]
mov edi, dword [edi + 0xe8]
push 0
push edx
push 0x658
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4808b8
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, str.OnAllHide
xor ebx, ebx
call fcn.00406c20
call fcn.00568170
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004066e0
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4808d6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x50], 0xffffffff
test ebx, ebx
je 0x480912
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8