Function at 0x10076250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187c00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101ed40c]
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 eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
push dword [ecx + 0x58]
lea edi, [ecx + 0x58]
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
jne 0x100762a5
xor edi, edi
jmp 0x1007642b
mov dword [ebp - 0x14], 0
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10076488
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x1019e5ec
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.10042d30
test al, al
jne 0x100762ea
push 0
push 0x1019e5ec
lea ecx, [ebp - 0x20]
call fcn.10043c10
mov byte [ebp - 4], 3
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10076492
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x101a2040
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.10042d30
test al, al
jne 0x1007632c
push 4
push 0x101a2040
lea ecx, [ebp - 0x1c]
call fcn.10043c10
push edi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100a9f30
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10076367
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10076385
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x10076392
xor edi, edi
jmp 0x1007640d
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1004e420
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.10042e70
add eax, 0x10
add esp, 4
mov dword [ebp - 0x18], eax
push 0x1019e5ec
push str.config.ini
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.1005e260
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push dword [ebp - 0x18]
push str._s_s.png
push eax
call fcn.1004e910
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
add esp, 0x10
push eax
call fcn.1004e420
mov edx, dword [ebp - 0x18]
mov edi, 1
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007640d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007642b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10076449
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10076468
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.10126919
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
int3