Function at 0x100910e0
Capabilities:
Check if file exists
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013d6b9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 5], 0
je 0x10091282
call fcn.100914e0
test al, al
je 0x100912a5
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x54], esi
call fcn.100917b0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10091275
mov ecx, dword [ebx + 0x30]
sub ecx, eax
mov eax, 0xe7fc601
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x10091275
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1009118e
mov ecx, dword [ebx + 0x30]
sub ecx, eax
mov eax, 0xe7fc601
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10091194
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 0x2c]
add esi, dword [esp + 0x18]
sub esp, 0x8d4
mov edi, esp
mov ecx, 0x235
rep movsd dword es:[edi], dword [esi]
call fcn.10091450
test al, al
je 0x100911d0
mov eax, 1
add dword [esp + 0x14], eax
add dword [ebx + 0x54], eax
add dword [esp + 0x18], 0x8d4
mov esi, dword [esp + 0x14]
jmp 0x10091144
push ebx
call fcn.10092cb0
mov esi, dword [ebx + 0x54]
mov edi, esi
imul edi, edi, 0x8d4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
lea esp, [esp]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x100912a5
mov ecx, dword [ebx + 0x30]
sub ecx, eax
mov eax, 0xe7fc601
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x100912a5
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1009123a
mov ecx, dword [ebx + 0x30]
sub ecx, eax
mov eax, 0xe7fc601
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10091240
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 0x2c]
sub esp, 0x8d4
add esi, edi
mov edi, esp
mov ecx, 0x235
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.100928c0
add dword [esp + 0x14], 1
add dword [esp + 0x18], 0x8d4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x100911f0
push ebx
call fcn.10092cb0
mov al, 1
jmp 0x1009131f
call fcn.100914e0
test al, al
mov ecx, ebx
je 0x10091318
mov eax, dword [ebx]
mov edx, dword [eax + 4]
call edx
test al, al
jne 0x100912a9
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
xor al, al
jmp 0x1009131f
lea eax, [ebx + 0x38]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.WindowsAB_Function.dat
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0
call dword [0x101464cc]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x100912dd
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10091302
test al, 0x10
jne 0x10091302
push 0
push 0
push 0
push 0x100935b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
jmp 0x1009131f
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
call eax
mov byte [ebx + 5], 0
mov byte [ebx + 4], 0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret