Function at 0x4609c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 8], 0
jne 0x4609db
jmp 0x460e0f
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xf4], ecx
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
add edx, 2
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xec], edx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x5c
call fcn.00447160
push 1
push 0x5b1c
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.004344e0
mov ecx, eax
call fcn.00436a70
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x38
call fcn.0044c340
lea ecx, [ebp - 0xc]
call fcn.004373f0
push 0x4fe654
lea ecx, [ebp - 8]
call fcn.00413a00
cmp dword [ebp + 0xc], 0
je 0x460a58
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x44], ecx
jmp 0x460a61
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0xc], 0
je 0x460a89
push str.IDS_DETAIL_RB
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xf0]
call fcn.0048b530
or dword [ebp - 0x3c], 1
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x460aa9
push str.IDS_DETAIL_MID
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xf0]
call fcn.0048b530
or dword [ebp - 0x3c], 2
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push str.IDS_DETAIL_POPNUM
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0xf0]
call fcn.0048b530
mov ecx, eax
call fcn.00413b20
push eax
lea edx, [ebp - 8]
push edx
call fcn.00415220
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00413a40
mov eax, dword [ebp - 0x3c]
and eax, 2
je 0x460af8
and dword [ebp - 0x3c], 0xfffffffd
lea ecx, [ebp - 0x14]
call fcn.00413a40
mov ecx, dword [ebp - 0x3c]
and ecx, 1
je 0x460b0c
and dword [ebp - 0x3c], 0xfffffffe
lea ecx, [ebp - 0x10]
call fcn.00413a40
push 0
push 0
lea edx, [ebp - 8]
push edx
push 0x5b4a
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x2c]
mov eax, dword [edx + 8]
call eax
mov ecx, 0x518d2c
call fcn.00461ae0
test eax, eax
je 0x460ba9
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.004139e0
mov ecx, 0x518d2c
call fcn.00461af0
mov ecx, eax
call fcn.0048bbf0
cmp eax, 1
jne 0x460b8f
mov ecx, dword [ebp + 8]
add ecx, 8
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460b8f
push 1
push 0x5b90
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x2c]
mov eax, dword [edx + 0x28]
call eax
jmp 0x460ba7
push 0
push 0x5b90
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax + 0x28]
call edx
jmp 0x460bc1
push 0
push 0x5b90
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x2c]
mov eax, dword [edx + 0x28]
call eax
cmp dword [0x514130], 0xffffffff
jne 0x460cad
push 0x4fe6b8
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040d0e0
add esp, 8
or dword [ebp - 0x3c], 4
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.004123a0
add esp, 0xc
or dword [ebp - 0x3c], 8
mov ecx, eax
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460c4d
push 0x4fe6d8
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d0e0
add esp, 8
or dword [ebp - 0x3c], 0x10
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004123a0
add esp, 0xc
or dword [ebp - 0x3c], 0x20
mov ecx, eax
call fcn.00413b20
push eax
call fcn.0044da10
add esp, 4
test eax, eax
je 0x460c4d
mov dword [ebp - 0x48], 1
jmp 0x460c54
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x48]
mov dword [0x514130], edx
mov eax, dword [ebp - 0x3c]
and eax, 0x20
je 0x460c71
and dword [ebp - 0x3c], 0xffffffdf
lea ecx, [ebp - 0x30]
call fcn.00413a40
mov ecx, dword [ebp - 0x3c]
and ecx, 0x10
je 0x460c85
and dword [ebp - 0x3c], 0xffffffef
lea ecx, [ebp - 0x2c]
call fcn.00413a40
mov edx, dword [ebp - 0x3c]
and edx, 8
je 0x460c99
and dword [ebp - 0x3c], 0xfffffff7
lea ecx, [ebp - 0x28]
call fcn.00413a40
mov eax, dword [ebp - 0x3c]
and eax, 4
je 0x460cad
and dword [ebp - 0x3c], 0xfffffffb
lea ecx, [ebp - 0x24]
call fcn.00413a40
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.004139e0
lea eax, [ebp - 4]
push eax
call fcn.0048e4e0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x460cdd
push 0x4fe6f8
lea ecx, [ebp - 4]
call fcn.0041fe40
cmp dword [0x514130], 0
je 0x460d0b
xor ecx, ecx
cmp dword [ebp + 0xc], 1
setne cl
add ecx, 1
push ecx
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call fcn.004607c0
add esp, 8
movzx edx, al
test edx, edx
jne 0x460d25
push 0
push 0x5be4
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x2c]
mov eax, dword [edx + 0x28]
call eax
jmp 0x460d3d
push 1
push 0x5be4
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax + 0x28]
call edx
cmp dword [ebp + 0xc], 0
je 0x460d4e
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x4c], eax
jmp 0x460d57
mov ecx, dword [ebp + 8]
add ecx, 0x64
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
push 0x5b96
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x2c]
mov edx, dword [eax + 0x3c]
call edx
mov ecx, dword [ebp - 0x40]
call fcn.004612f0
push 0x5b4c
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.004344d0
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x3c
call fcn.00433b00
push 0x5b90
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.004344d0
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x3c
call fcn.00433b00
push 0x5be4
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.004344d0
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x3c
call fcn.00433b00
push 0x5b96
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.004344d0
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x3c
call fcn.00433b00
lea ecx, [ebp - 4]
call fcn.00413a40
lea ecx, [ebp - 8]
call fcn.00413a40
mov esp, ebp
pop ebp
ret 0xc