Function at 0x1008e0a0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x100b8863
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a0
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x3d8]
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::Empty
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x3cc]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x3cc]
push edx
mov edx, dword [esp + 0x3cc]
push eax
mov eax, dword [esp + 0x3cc]
push ecx
mov ecx, dword [esp + 0x3cc]
push edx
push eax
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.1008db60
cmp eax, ebx
mov dword [esp + 8], eax
jl 0x1008e624
push ebp
push edi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x3dc]
mov ecx, dword [esp + 0x3d4]
lea eax, [esp + 0x28]
mov dword [esp + 0x3b8], ebx
mov edx, dword [ebp]
push eax
push 2
push ecx
mov ecx, esi
mov word [esp + 0xac], bx
mov dword [esp + 0x3c], edx
call fcn.1008dd90
mov edi, dword [esp + 0x28]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebx
mov byte [esp + 0x3b8], 1
je 0x1008e1af
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.100af44e
cmp eax, ebx
mov dword [esi], eax
jne 0x1008e1b1
cmp edi, ebx
je 0x1008e1b1
push 0x8007000e
call fcn.100af593
jmp 0x1008e1b1
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x3b8], bl
mov dword [esp + 0x34], esi
jne 0x1008e1ca
push 0x8007000e
call fcn.100af593
cmp esi, ebx
mov byte [esp + 0x3b8], 2
je 0x1008e1da
mov ecx, dword [esi]
jmp 0x1008e1dc
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x10]
push edi
lea edi, [esp + 0x94]
mov edx, dword [eax]
push ebx
push edi
push 0x59
push 2
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov byte [esp + 0x3b8], bl
je 0x1008e220
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1008e220
push 1
mov ecx, esi
call fcn.100272a0
cmp dword [esp + 0x10], ebx
jl 0x1008e366
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x24], ebx
je 0x1008e357
cmp dword [esp + 0x1c], ebx
jle 0x1008e357
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
cmp dword [esp + 0x10], ebx
jl 0x1008e345
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
and eax, 1
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8 + 0x18]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push ecx
add esi, eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ax, word [edi + 0x20]
lea edx, [esp + 0x4c]
push edx
push eax
push esi
call fcn.10036970
add esp, 0xc
test eax, eax
je 0x1008e33a
cmp word [esp + 0x4c], 7
jne 0x1008e32f
fld qword [esp + 0x54]
fstp qword [esp + 0x40]
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], ebx
call sub.MFC42.DLL_COleDateTime::GetSecond
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_COleDateTime::GetMinute
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_COleDateTime::GetHour
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_COleDateTime::GetYear
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CTime::CTime_1
mov ecx, dword [esp + 0x34]
mov dword [ebp], ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.1008b170
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1008e377
cmp eax, dword [ebp]
je 0x1008e5f0
mov ebp, dword [esp + 0x3d4]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
push 1
push ebp
call fcn.1008dd90
mov edi, dword [esp + 0x28]
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebx
mov byte [esp + 0x3b8], 3
je 0x1008e3d5
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], 1
call fcn.100af44e
cmp eax, ebx
mov dword [esi], eax
jne 0x1008e3d7
cmp edi, ebx
je 0x1008e3d7
push 0x8007000e
call fcn.100af593
jmp 0x1008e3d7
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x3b8], bl
mov dword [esp + 0x30], esi
jne 0x1008e3f0
push 0x8007000e
call fcn.100af593
cmp esi, ebx
mov byte [esp + 0x3b8], 4
je 0x1008e400
mov ecx, dword [esi]
jmp 0x1008e402
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x10]
push edi
lea edi, [esp + 0x94]
mov edx, dword [eax]
push ebx
push edi
push 0x3859
push 2
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [edx + 0x10]
cmp esi, ebx
mov byte [esp + 0x3b8], bl
je 0x1008e466
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1008e466
mov eax, dword [esi]
cmp eax, ebx
je 0x1008e44d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1008e45d
push eax
call fcn.100ae914
add esp, 4
push esi
call fcn.100ae914
add esp, 4
cmp dword [esp + 0x10], ebx
jl 0x1008e5f0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
mov ecx, dword [eax]
push ebx
push edx
push eax
call dword [ecx + 0x54]
cmp dword [esp + 0x10], ebx
jl 0x1008e5e1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
mov byte [esp + 0x3b8], 5
push eax
call fcn.1008c640
mov ecx, dword [esp + 0x24]
add esp, 4
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x3e0]
push ebp
push edx
push str._s_s
push edi
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x3e8]
add esp, 0x10
mov eax, dword [esi + 4]
cmp dword [eax - 8], ebx
je 0x1008e546
mov eax, dword [edi]
lea ecx, [esp + 0x2b0]
lea edx, [esp + 0x1b0]
push ecx
push edx
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__splitpath]
mov eax, dword [esi + 4]
add esp, 0x14
lea ecx, [esp + 0x1b0]
lea edx, [esp + 0xb0]
push eax
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
push str._s_s_s._s
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x18
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.10060e20
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add ecx, 0xfffffffe
mov byte [esp + 0x3b8], 6
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.100610a0
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], ebx
call fcn.100611b0
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [esp + 0x10], eax
js 0x1008e5c0
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.100a46e0
add esp, 8
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3b8], 5
call fcn.10060e90
lea ecx, [esp + 0x20]
mov byte [esp + 0x3b8], bl
call fcn.100ae920
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.1008dd50
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x3b8], 0xffffffff
call fcn.100ae920
pop edi
mov eax, esi
pop ebp
mov ecx, dword [esp + 0x3a8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3ac
ret 0x24