Function at 0x4c9ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x38], eax
push esi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 8], 0
push 0x5aed8c
mov eax, dword [ebp - 0x70]
add eax, 4
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004272e0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.004273c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c9f1b
lea ecx, [ebp - 4]
call fcn.004273c0
push eax
call fcn.004b86a0
add esp, 4
test eax, eax
jne 0x4c9f20
jmp 0x4ca126
lea ecx, [ebp - 4]
call fcn.004273c0
push eax
call fcn.004be3a0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c9f3f
jmp 0x4ca126
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.004c9cf0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4ca126
push str.SmartNetAddrQuery
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ca126
lea ecx, [ebp - 0x2c]
call fcn.004caab0
mov dword [ebp - 0x30], 0
jmp 0x4c9f8e
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
call fcn.004ca820
cmp dword [ebp - 0x30], eax
jae 0x4ca055
push 0x5f232c
push 0x1c
call fcn.00563fac
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4c9fc4
mov ecx, dword [ebp - 0x60]
call fcn.004ce140
mov dword [ebp - 0x74], eax
jmp 0x4c9fcb
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x4c9fd9
jmp 0x4ca055
mov eax, dword [ebp - 0x34]
mov dword [eax], 0x1c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call fcn.0055e2a0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
push 0x10
lea edx, [ebp - 0x58]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call fcn.004ca840
add eax, 8
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [ebp - 0x3a], cx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.004ce210
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004cab50
jmp 0x4c9f85
xor ecx, ecx
jne 0x4c9f7c
lea ecx, [ebp - 0x2c]
call fcn.004cab00
test eax, eax
jbe 0x4ca11e
push 0
push 7
lea ecx, [ebp - 0x2c]
call fcn.004cab00
push eax
push 0
lea ecx, [ebp - 0x2c]
call fcn.004cab20
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [ebp - 0x14]
add esp, 0x14
test eax, eax
je 0x4ca11e
mov dword [ebp - 0x5c], 0
jmp 0x4ca0a9
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x2c]
call fcn.004cab00
cmp dword [ebp - 0x5c], eax
jae 0x4ca10d
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004cab20
mov esi, dword [eax]
mov edx, dword [ebp - 0x5c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004ca840
mov cx, word [esi + 8]
mov word [eax + 0x1c], cx
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004cab20
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
je 0x4ca104
push 1
mov ecx, dword [ebp - 0x64]
call fcn.004ca440
mov dword [ebp - 0x78], eax
jmp 0x4ca10b
mov dword [ebp - 0x78], 0
jmp 0x4ca0a0
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x2c]
call fcn.004caae0
jmp 0x4ca126
lea ecx, [ebp - 0x2c]
call fcn.004caae0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.004c9e80
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 4]
call fcn.00426fe0
mov eax, dword [ebp - 0x6c]
pop esi
mov ecx, dword [ebp - 0x38]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret 4