Function at 0x410090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d10f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
xor bl, bl
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x410277
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00410ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.004112d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.004113a0
push 0x635e78
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.0040fa40
sub esp, 8
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
mov edx, esi
push dword [ebp - 0x18]
call fcn.00410bd0
add esp, 0x10
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00406a90
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410160
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41017e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41019c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4101b7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4101d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov edx, esi
call fcn.00410cd0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp - 0x10]
cmp eax, 0xffffffff
mov eax, edi
setne bh
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41020b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bh, bh
je 0x410245
push str.Chinese_simplified
push 0
call fcn.005b4227
mov ecx, dword [ebp - 0x20]
add esp, 4
add ecx, 4
push 0x635e74
push esi
call fcn.0040fbf0
test eax, eax
je 0x410245
push str.___________application_started___________
push dword [ebp - 0x20]
call fcn.00410290
add esp, 8
mov bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x410261
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00405600
int3