Function at 0x467d40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bba2
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x573080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x84], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 0
call fcn.00468590
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x78], 1
jb 0x467dac
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x467dbf
mov byte [ebp - 0x71], al
cmp dword [ebx + 0x10], eax
jne 0x467dc3
mov byte [ebp - 0x71], 1
mov dword [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x78], eax
and eax, 0xfffffffe
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x467e12
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467e08
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46822c
push edx
push ecx
call fcn.004d5b86
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x71], al
je 0x467eee
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x7c], eax
jb 0x467e43
mov ebx, dword [ebx]
cmp eax, 8
jae 0x467e58
push 0x10
push ebx
push edi
call fcn.004d7290
mov esi, 7
jmp 0x467ecf
mov esi, eax
mov eax, 0x7ffffffe
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x467e79
or ecx, 0xffffffff
jmp 0x467e81
cmp ecx, 0x1000
jb 0x467ea8
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004d5b94
add esp, 4
test eax, eax
je 0x46823b
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x467ebb
test ecx, ecx
je 0x467eb9
push ecx
call fcn.004d5b94
add esp, 4
mov ecx, eax
jmp 0x467ebb
xor ecx, ecx
mov eax, dword [ebp - 0x7c]
mov dword [edi], ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push ecx
call fcn.004d7290
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
mov dword [ebp - 0x78], 2
jmp 0x46820e
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.00468520
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
mov esi, 8
mov ecx, ebx
push eax
mov dword [ebp - 0x78], esi
call fcn.00468de0
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00467d40
add esp, 4
mov byte [ebp - 4], 0xb
and esi, 0xfffffff7
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x467fab
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467fa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468231
push edx
push ecx
call fcn.004d5b86
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 7
push eax
call fcn.0043048f
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x468121
cmp dword [ebp - 0x2c], 8
mov edx, eax
mov eax, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
cmp eax, ecx
ja 0x468024
mov ebx, esi
cmp ecx, 8
jb 0x468008
mov ebx, dword [esi]
mov dword [esi + 0x10], eax
lea esi, [eax + eax]
push esi
push edx
push ebx
call fcn.004d7810
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x468121
cmp eax, 0x7ffffffe
ja 0x468236
mov ebx, eax
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x468043
mov ebx, 0x7ffffffe
jmp 0x468061
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x468059
mov ebx, 0x7ffffffe
jmp 0x468061
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x80], ebx
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x468076
or ecx, 0xffffffff
jmp 0x46807e
cmp ecx, 0x1000
jb 0x4680a5
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004d5b94
add esp, 4
test eax, eax
je 0x46823b
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x4680b8
test ecx, ecx
je 0x4680b6
push ecx
call fcn.004d5b94
add esp, 4
mov ebx, eax
jmp 0x4680b8
xor ebx, ebx
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x8c]
push ebx
call fcn.004d7290
mov ecx, dword [ebp - 0x84]
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
mov esi, dword [ebp - 0x7c]
cmp ecx, 8
jb 0x46811f
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x468115
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46823b
mov eax, edx
push ecx
push eax
call fcn.004d5b86
add esp, 8
mov dword [esi], ebx
push 0x18
lea eax, [ebp - 0x58]
mov dword [edi + 0x10], 0
push eax
push edi
mov dword [edi + 0x14], 0
call fcn.004d7290
xor eax, eax
mov dword [ebp - 0x48], 0
add esp, 0xc
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x78], 2
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4681ad
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4681a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46823b
push edx
push ecx
call fcn.004d5b86
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x4681fa
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4681f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46823b
push edx
push ecx
call fcn.004d5b86
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d5b75
mov esp, ebp
pop ebp
ret
call fcn.004dbc26
call fcn.004dbc26
call fcn.00405394
call fcn.004dbc26
int3