Function at 0x1008b6f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x100b83f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
lea ecx, [ebp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ecx
call fcn.10031e50
mov ecx, dword [esp + 0x3a4]
cmp ecx, edi
jne 0x1008b738
mov eax, 0x80070057
jmp 0x1008bed8
call fcn.1008b4f0
mov eax, dword [esp + 0x3a8]
cmp eax, edi
je 0x1008b754
cmp word [eax], di
je 0x1008b754
mov eax, 1
jmp 0x1008b756
xor eax, eax
mov esi, dword [esp + 0x3ac]
mov dword [ebp + 0x418], eax
cmp esi, edi
je 0x1008b773
cmp word [esi], di
je 0x1008b773
mov eax, 1
jmp 0x1008b775
xor eax, eax
mov dword [ebp + 0x41c], eax
cmp eax, edi
mov eax, dword [esp + 0x3b4]
je 0x1008b799
cmp eax, edi
jl 0x1008b78f
cmp eax, 0xf
jl 0x1008b799
mov eax, 0x80070057
jmp 0x1008bed8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp + 8]
mov dword [esp + 0x39c], edi
test al, 4
mov dword [esp + 0x30], edi
je 0x1008b897
lea ecx, [esp + 0x34]
call fcn.1008f190
push str.SoftwareOpen_Executive_4Cache
push SysReAllocStringLen
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3a4], 1
call fcn.1008f470
mov eax, dword [ebp + 0x41c]
cmp eax, edi
mov eax, esi
jne 0x1008b7ef
mov eax, dword [esp + 0x3b0]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x3a8]
mov esi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x3a0], 2
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x3a4]
lea ecx, [esp + 0x30]
add edx, 0x2c
mov eax, dword [eax]
push edx
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
and ecx, 3
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
push esi
push edi
push ebx
push edx
push ecx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3c4], 3
call fcn.1008f700
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x39c], 2
call fcn.100ae920
lea ecx, [esp + 0x10]
mov byte [esp + 0x39c], 1
call fcn.100ae920
lea ecx, [esp + 0x34]
mov byte [esp + 0x39c], 0
call fcn.1008f240
jmp 0x1008b93b
mov eax, dword [ebp + 0x41c]
cmp eax, edi
mov eax, esi
jne 0x1008b8aa
mov eax, dword [esp + 0x3b0]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_1
mov esi, dword [eax]
mov eax, dword [esp + 0x3a8]
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x20]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 4
mov dword [esp + 0x14], edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x3a4]
lea edx, [esp + 0x30]
add ecx, 0x2c
mov eax, dword [eax]
push ecx
push edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x24]
and edx, 3
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push esi
push edi
push ebx
push ecx
push edx
push eax
mov byte [esp + 0x3c4], 5
call fcn.1008d6f0
add esp, 0x28
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x39c], 4
call fcn.100ae920
lea ecx, [esp + 0x20]
mov byte [esp + 0x39c], 0
call fcn.100ae920
test esi, esi
jl 0x1008bec2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1008b95f
mov ecx, dword [esp + 0x3a4]
lea eax, [esp + 0x1c]
push eax
add ecx, 0x28
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 0x41c]
test eax, eax
jne 0x1008ba3b
mov edi, dword [esp + 0x1c]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0x39c], 6
je 0x1008b9b9
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100af44e
test eax, eax
mov dword [esi], eax
jne 0x1008b9b5
test edi, edi
je 0x1008b9b5
push 0x8007000e
call fcn.100af593
mov edi, esi
jmp 0x1008b9bb
xor edi, edi
test edi, edi
mov byte [esp + 0x39c], 0
jne 0x1008ba37
push 0x8007000e
call fcn.100af593
xor eax, eax
mov edx, dword [esp + 0x3a4]
add edx, 0x24
push edx
push 0
push 0
push 0x10000
push 0
push eax
call dword [sym.imp.ole32.dll_StgOpenStorage]
test edi, edi
mov esi, eax
je 0x1008bea9
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1008bea9
mov eax, dword [edi]
test eax, eax
je 0x1008ba19
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x1008ba29
push eax
call fcn.100ae914
add esp, 4
push edi
call fcn.100ae914
add esp, 4
jmp 0x1008bea9
mov eax, dword [edi]
jmp 0x1008b9d3
mov ecx, dword [esp + 0x3ac]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea edx, [esp + 0x294]
lea ecx, [esp + 0x194]
push edx
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x28]
push edx
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.100ae920
lea edi, [esp + 0x94]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x1008baa9
lea eax, [esp + ecx + 0x93]
mov cl, byte [esp + ecx + 0x93]
cmp cl, 0x5c
jne 0x1008baa9
mov byte [eax], 0
lea edx, [esp + 0x94]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [ebp + 0x140]
push 0x100e0be8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x194]
lea eax, [ebp + 0x13c]
push edx
push 0x100e1710
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x3a4]
add eax, 0x7530
mov dword [esp + 0x10], eax
lea ebx, [ecx + 0x1c]
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x1c]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov byte [esp + 0x39c], 7
je 0x1008bb4f
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.100af44e
test eax, eax
mov dword [esi], eax
jne 0x1008bb4b
test edi, edi
je 0x1008bb4b
push 0x8007000e
call fcn.100af593
mov edi, esi
jmp 0x1008bb51
xor edi, edi
test edi, edi
mov byte [esp + 0x39c], 0
jne 0x1008bbd7
push 0x8007000e
call fcn.100af593
xor eax, eax
push ebx
push 0
push 0
push 0x10000
push 0
push eax
call dword [sym.imp.ole32.dll_StgOpenStorage]
test edi, edi
mov esi, eax
je 0x1008bbb6
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1008bbb6
mov eax, dword [edi]
test eax, eax
je 0x1008bb9d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x1008bbad
push eax
call fcn.100ae914
add esp, 4
push edi
call fcn.100ae914
add esp, 4
test esi, esi
jge 0x1008bbe3
cmp esi, 0x80030021
jne 0x1008bbdb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esp + 0x10], eax
jbe 0x1008bead
jmp 0x1008bb03
mov eax, dword [edi]
jmp 0x1008bb69
test esi, esi
jl 0x1008bead
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
lea eax, [ebp + 0x410]
push 1
push eax
push ecx
push edx
call fcn.100a1eb0
mov esi, eax
add esp, 0x10
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
js 0x1008bead
mov eax, dword [ebp + 0x418]
mov edi, dword [esp + 0x3bc]
test eax, eax
mov eax, dword [esp + 0x3b8]
je 0x1008bd5d
cmp byte [ebp + 0x17c], 1
jne 0x1008bd5d
cmp dword [esp + 0x3c0], 2
jne 0x1008bd5d
test eax, eax
je 0x1008bc59
cmp word [eax], 0
jne 0x1008bd5d
test edi, edi
je 0x1008bc67
cmp word [edi], 0
jne 0x1008bd5d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x2c]
mov byte [esp + 0x39c], 8
test eax, eax
mov ebx, 9
je 0x1008bc88
mov esi, eax
jmp 0x1008bca7
push 0x100f029c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], 1
mov esi, dword [eax]
mov byte [esp + 0x39c], bl
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x1008bcce
push 0x100f029c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
or dword [esp + 0x18], 2
mov eax, dword [eax]
mov dword [esp + 0x39c], 0xa
push esi
push eax
lea eax, [esp + 0x1c]
push str._s_s
push eax
call sub.MFC42.DLL_CString::Format
mov dword [esp + 0x3ac], ebx
mov ebx, dword [esp + 0x28]
add esp, 0x10
test bl, 2
je 0x1008bd02
and ebx, 0xfffffffd
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
call fcn.100ae920
test bl, 1
mov dword [esp + 0x39c], 8
je 0x1008bd1b
lea ecx, [esp + 0x2c]
call fcn.100ae920
mov ecx, dword [esp + 0x14]
push 0x100e0670
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x1008bd3b
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::AllocSysString
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
mov byte [esp + 0x39c], 0
call fcn.100ae920
jmp 0x1008bd6a
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x3c0]
lea eax, [ebp + 0x414]
push eax
mov eax, dword [esp + 0x28]
push edx
push edi
push esi
push eax
call fcn.1008bf00
mov esi, eax
add esp, 0x14
neg esi
sbb esi, esi
and esi, 0x7ff8fffb
add esi, 0x80070005
js 0x1008be84
mov edi, dword [esp + 0x3b4]
test edi, edi
je 0x1008be84
mov eax, dword [esp + 0x3b0]
test eax, eax
je 0x1008be84
cmp word [eax], 0
je 0x1008be84
mov edx, dword [esp + 0x3a4]
mov ecx, dword [esp + 0x28]
lea edi, [edi + edi*2]
mov eax, dword [ecx]
lea ebx, [edx + 0x20]
shl edi, 2
mov ecx, dword [eax]
push ebx
mov edx, dword [edi + 0x100ecbd8]
push 0
push 0
push 0x10
push 0
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jl 0x1008be9e
mov eax, dword [esp + 0x3b0]
cmp word [eax], 0
je 0x1008be9e
mov ecx, dword [esp + 0x3a4]
mov eax, dword [ebx]
mov edx, dword [eax]
lea ebx, [ecx + 0x24]
mov ecx, dword [esp + 0x3b0]
push ebx
push 0
push 0
push 0x10
push 0
push ecx
push eax
call dword [edx + 0x18]
mov esi, eax
test esi, esi
jl 0x1008be9e
mov ecx, dword [ebp + 0x414]
lea edx, [esp + 0x28]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [ebx]
push ecx
mov cl, byte [edi + 0x100ecbdc]
push edx
push eax
push ecx
call fcn.10035540
mov esi, eax
add esp, 0x18
neg esi
sbb esi, esi
and esi, 0x7ff8fffb
add esi, 0x80070005
jns 0x1008be9e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1008be9e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1008be9e
jmp 0x1008be92
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1008be9e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1008be9e
mov edx, dword [ebp + 0x14]
push edx
push 2
push eax
call ecx
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jge 0x1008bec2
mov ecx, dword [esp + 0x24]
call fcn.10031e50
mov ecx, dword [esp + 0x3a4]
call fcn.1008b4f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x39c], 0xffffffff
call fcn.100ae920
mov eax, esi
mov ecx, dword [esp + 0x394]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x390
ret 0x20