Function at 0x4026a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x441098
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458778]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x74]
xor edi, edi
push esi
mov dword [esp + 0x70], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4029b4
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x4029b4
mov ebx, dword [esp + 0x78]
push ebx
call fcn.0042bb90
add esp, 4
cmp eax, edi
mov dword [esp + 0x1c], eax
jge 0x40271c
push 0x4457f8
mov ecx, 0x459d88
call fcn.00402060
jmp 0x4029c5
lea ecx, [esp + 0x24]
call fcn.00401400
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edx, [ebp + 1]
sub eax, edx
or eax, ecx
mov byte [esp + 0x6c], 1
jge 0x40274f
push edx
lea ecx, [esp + 0x78]
call fcn.00401870
mov esi, dword [esp + 0x74]
add ebp, 0xffffffff
js 0x4029aa
cmp ebp, dword [esi - 0xc]
jg 0x4029aa
cmp byte [esi + ebp], 0x5c
je 0x402775
push 0x4457f4
lea ecx, [esp + 0x78]
call fcn.004023b0
push 0x4457f0
lea ecx, [esp + 0x78]
call fcn.004023b0
lea ecx, [esp + 0x4c]
call fcn.0040fc9d
mov ecx, dword [esp + 0x74]
push 0
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 2
call fcn.0040fd29
mov dword [esp + 0x18], 1
lea esp, [esp]
lea ecx, [esp + 0x4c]
call fcn.0040f99b
test eax, eax
jne 0x4027c1
mov dword [esp + 0x18], eax
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x50]
call fcn.0040fec8
mov eax, dword [esp + 0x78]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x6c], 3
jl 0x402800
push 0x4457ec
push eax
call fcn.0042aa8c
add esp, 8
test eax, eax
je 0x402800
mov ecx, dword [esp + 0x78]
sub eax, ecx
js 0x402800
lea eax, [ecx - 0x10]
jmp 0x4028ed
push ebx
call fcn.0042bb90
mov ebp, eax
add esp, 4
test ebp, ebp
jl 0x402958
mov ecx, dword [esp + 0x78]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
push ebx
push ecx
test eax, eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], esp
mov esi, esp
je 0x40285a
add eax, 0xfffffff0
push eax
call fcn.004018c0
mov ecx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004026a0
test al, al
je 0x402999
mov esi, 0xffffff80
jmp 0x40287e
add eax, 0xfffffff0
push eax
call fcn.004018c0
mov ecx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004021b0
test al, al
je 0x402999
xor esi, esi
push ebx
call fcn.0042bb90
add esp, 4
test eax, eax
jl 0x402999
push esi
sub eax, ebp
push edi
push eax
mov eax, dword [esp + 0x84]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.004018c0
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esi], eax
call fcn.004090f0
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 4
call fcn.004017a0
add edi, dword [esp + 0x40]
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 3
call fcn.004090c0
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x6c], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40290b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x18], 0
jne 0x4027b0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x2c]
push edx
call fcn.004025d0
lea ecx, [esp + 0x4c]
mov bl, al
mov byte [esp + 0x6c], 1
call fcn.0040fcc1
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.00401320
lea ecx, [esp + 0x74]
call fcn.00401a20
mov al, bl
jmp 0x4029eb
push 0
push 0x184
push str.Occur_Error_._.CombineFiles.cpp__d__n
call fcn.0040f82d
lea ecx, [esp + 0x78]
call fcn.00401a20
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 1
call fcn.0040fcc1
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 0
call fcn.00401320
lea ecx, [esp + 0x74]
call fcn.00401a20
jmp 0x4029e9
push 0x4457f8
mov ecx, 0x459d88
call fcn.00402060
jmp 0x402969
push 0x80070057
call fcn.004010a0
push 0x14
push 0x4457f8
mov ecx, 0x459d88
call fcn.00401c00
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x6c], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8