Function at 0x1001f7d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fd78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
mov edi, ecx
push eax
mov dword [ebp - 0x30], edi
call sub.mfc42.dll_CTime::GetTickCount
lea ecx, [ebp - 0x28]
call sub.mfc42.dll_CString::CString_2
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call sub.mfc42.dll_CString::CString_2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.mfc42.dll_CString::CString_2
mov bl, 2
push 0x100c4e1c
push 0x100c36f8
mov byte [ebp - 4], bl
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.staff.dll_class_CString___cdecl_STAFFGetInstancePathAndFilename_struct_HINSTANCE_____char_const__]
add esp, 0xc
mov eax, dword [eax]
lea edx, [ebp - 0x24]
push eax
push edx
mov byte [ebp - 4], 3
call sub.mfc42.dll_CString::Format
add esp, 8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.mfc42.dll_CString::CString
push 0
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CTime::GetLocalTm
mov ebx, dword [eax]
push 0
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CTime::GetLocalTm
mov eax, dword [eax + 4]
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call sub.mfc42.dll_CTime::GetLocalTm
mov ecx, dword [eax + 8]
push 0
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x18]
call sub.mfc42.dll_CTime::GetLocalTm
mov edx, dword [eax + 0xc]
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], edx
call sub.mfc42.dll_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [ebp - 0x18]
inc esi
call sub.mfc42.dll_CTime::GetLocalTm
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
push ebx
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [edi + 0xbeed4]
add eax, 0x76c
push ecx
push esi
push eax
push edx
lea eax, [ebp - 0x28]
push 0x100c4df4
push eax
call sub.mfc42.dll_CString::Format
mov eax, dword [edi + 0xbeed4]
add esp, 0x24
cmp eax, 0x270f
jne 0x1001f900
xor ebx, ebx
mov dword [edi + 0xbeed4], ebx
jmp 0x1001f909
inc eax
xor ebx, ebx
mov dword [edi + 0xbeed4], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
push ecx
push edx
lea eax, [ebp - 0x2c]
push 0x100c4dec
push eax
call sub.mfc42.dll_CString::Format
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.msvcrt.dll__mkdir]
mov eax, dword [edi + 0x20]
add esp, 0x14
lea edx, [ebp - 0x68]
push edx
push eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x20], ebx
push ecx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 4
call dword [sym.imp.user32.dll_GetDC]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x1001f966
lea edx, [ebp - 0x48]
push 0x100b58c8
push edx
mov dword [ebp - 0x48], ebx
call sub.msvcrt.dll__CxxThrowException
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
sub esi, edx
sub edi, ecx
mov ecx, esi
push ebx
shl ecx, 4
add ecx, 0x1f
lea edx, [ebp - 0x50]
sar ecx, 3
and ecx, 0xfffffffc
push ebx
imul ecx, edi
mov dword [ebp - 0x90], ecx
push edx
lea ecx, [ebp - 0xa4]
push ebx
push ecx
push eax
mov dword [ebp - 0xa4], 0x28
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], edi
mov word [ebp - 0x98], 1
mov word [ebp - 0x96], 0x10
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x84], ebx
call dword [sym.imp.gdi32.dll_CreateDIBSection]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x1001f9fd
lea edx, [ebp - 0x44]
push 0x100b58c8
push edx
mov dword [ebp - 0x44], ebx
call sub.msvcrt.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x1001fa21
lea ecx, [ebp - 0x4c]
push 0x100b58c8
push ecx
mov dword [ebp - 0x4c], eax
call sub.msvcrt.dll__CxxThrowException
mov edx, dword [ebp - 0x20]
push edx
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x64]
push 0xcc0020
push eax
push ecx
push edx
push edi
push esi
xor esi, esi
push esi
push esi
push ebx
call dword [sym.imp.gdi32.dll_BitBlt]
test eax, eax
jne 0x1001fa62
lea eax, [ebp - 0x58]
push 0x100b58c8
push eax
mov dword [ebp - 0x58], esi
call sub.msvcrt.dll__CxxThrowException
mov ecx, dword [ebp - 0x54]
push ecx
push ebx
call dword [sym.imp.gdi32.dll_SelectObject]
push ebx
call dword [sym.imp.gdi32.dll_DeleteDC]
mov ecx, dword [ebp - 0x90]
mov ax, word [0x100c4de8]
xor edx, edx
add ecx, 0x9a
mov dword [ebp - 0x40], edx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x3e], ecx
mov ecx, 0x19
xor eax, eax
lea edi, [ebp - 0x108]
mov dword [ebp - 0x1c], esi
rep stosd dword es:[edi], eax
mov ecx, 0xa
mov esi, 0x100c4dbc
lea edi, [ebp - 0x108]
mov dword [ebp - 0x38], edx
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x34], dx
mov dword [ebp - 0x36], 0x9a
movsw word es:[edi], word [esi]
xor ecx, ecx
cmp ecx, 0x10
jge 0x1001fb08
mov edx, dword [ebp - 0x30]
cmp ecx, dword [edx + 0x13c]
jne 0x1001fae8
lea eax, [ebp + ecx - 0xde]
inc ecx
mov byte [eax], 0xff
jmp 0x1001facb
mov al, cl
mov dl, 0x11
imul dl
and eax, 0xff
mov edx, 0xff
sub edx, eax
lea eax, [ebp + ecx - 0xde]
mov dh, dl
inc ecx
mov byte [eax], dl
jmp 0x1001facb
mov ecx, dword [ebp - 0x30]
push 0x1001
add ecx, 0x75941
mov edx, dword [ecx]
mov dword [ebp - 0xce], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xca], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc6], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xc2], eax
call sub.mfc42.dll_CFile::CFile_1
lea edx, [ebp - 0x40]
push 0xe
push edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call sub.mfc42.dll_CFile::Write
lea eax, [ebp - 0xa4]
push 0x28
push eax
lea ecx, [ebp - 0x78]
call sub.mfc42.dll_CFile::Write
lea ecx, [ebp - 0x108]
push 0x64
push ecx
lea ecx, [ebp - 0x78]
call sub.mfc42.dll_CFile::Write
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x50]
push edx
push eax
lea ecx, [ebp - 0x78]
call sub.mfc42.dll_CFile::Write
lea ecx, [ebp - 0x78]
call sub.mfc42.dll_CFile::Close
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.1009d192
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call sub.mfc42.dll_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call sub.mfc42.dll_CString::CString
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call sub.mfc42.dll_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret