Function at 0x4155d2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437adc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push esi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 2
push 0x49f574
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
push 0x49f578
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 4
push 0x49f57c
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 5
push 0x49f580
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 6
push 0x49f584
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x10], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp + 0xc]
call fcn.004060b0
mov esi, eax
push 0x5c
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x88]
push edx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
push 0x4a3d60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x80]
add eax, 0x89ec
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator_1
push 0
lea ecx, [ebp - 0x34]
call fcn.004190e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x481de8
lea ecx, [ebp - 0x34]
call fcn.0043549e
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004354d4
push 0
lea ecx, [ebp - 0x34]
call fcn.004190e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x481dec
lea ecx, [ebp - 0x34]
call fcn.0043549e
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, 1
test eax, eax
je 0x4157bb
push 0xc
lea ecx, [ebp - 0x44]
push ecx
call fcn.0041e231
add esp, 8
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004354d4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
mov edx, dword [ebp + 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x94], eax
call fcn.00401590
add esp, 4
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x4157b1
jmp 0x4157bb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41573b
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::operator_1
push 0
lea ecx, [ebp - 0x34]
call fcn.004190e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push str.PDF
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.00408c20
mov byte [ebp - 0x4c], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x4c]
and edx, 0xff
test edx, edx
je 0x415939
push 0x481df8
lea ecx, [ebp - 0x34]
call fcn.0043549e
lea ecx, [ebp - 0x20]
call fcn.004060b0
mov esi, eax
push 0x2e
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
push 0x2e
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.004354d4
push 0x481dfc
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x34]
call fcn.004354d4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.004354d4
push 0
lea ecx, [ebp - 0x34]
call fcn.004190e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x80]
add edx, 0x89ec
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp + 0xc]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 7
call fcn.0041b734
add esp, 8
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x415b19
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x4a19b8
call fcn.00418bd0
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
jmp 0x4159df
push 0
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004191c0
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x4a19b8
call fcn.0040fd40
push eax
lea ecx, [ebp - 0x3c]
call fcn.00418c40
and eax, 0xff
test eax, eax
je 0x415b19
lea ecx, [ebp - 0x3c]
call fcn.00418bb0
add eax, 4
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x30]
call fcn.004190e0
push eax
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x415b14
push 0x49f588
lea ecx, [ebp - 0x30]
call fcn.004190e0
push eax
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Replace
push 0x5c
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString
push 0x49f58c
push 0x481e00
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Replace
lea ecx, [ebp - 0x3c]
call fcn.00418bb0
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp + 0xc]
call fcn.004190e0
push eax
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x415b0b
lea ecx, [ebp + 0xc]
push ecx
push 0x481e04
lea edx, [ebp - 0x78]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004354d4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x1c], 3
jmp 0x415b19
jmp 0x4159d1
lea ecx, [ebp - 0x2c]
call fcn.00418970
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2c]
call fcn.00418930
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::operator_1
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x4a19b8
call fcn.00418c10
push 0x4a3d60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x7c]
or ecx, 1
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.004189c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10