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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10110e19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 5], 0
je 0x1008d472
call fcn.1008d6d0
test al, al
je 0x1008d495
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x54], esi
call fcn.1008d9a0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1008d465
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 0x1008d465
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1008d37e
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 0x1008d384
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.1008d640
test al, al
je 0x1008d3c0
mov eax, 1
add dword [esp + 0x14], eax
add dword [ebx + 0x54], eax
add dword [esp + 0x18], 0x8d4
mov esi, dword [esp + 0x14]
jmp 0x1008d334
push ebx
call fcn.1008eea0
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 0x1008d495
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 0x1008d495
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1008d42a
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 0x1008d430
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.1008eab0
add dword [esp + 0x14], 1
add dword [esp + 0x18], 0x8d4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x1008d3e0
push ebx
call fcn.1008eea0
mov al, 1
jmp 0x1008d50f
call fcn.1008d6d0
test al, al
mov ecx, ebx
je 0x1008d508
mov eax, dword [ebx]
mov edx, dword [eax + 4]
call edx
test al, al
jne 0x1008d499
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
xor al, al
jmp 0x1008d50f
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 [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x1008d4cd
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1008d4f2
test al, 0x10
jne 0x1008d4f2
push 0
push 0
push 0
push 0x1008f790
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 0x1008d50f
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.1010dc50
mov esp, ebp
pop ebp
ret