Function at 0x4d3a20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b6b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], 0
je 0x4d3a5c
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x4d3a63
xor al, al
jmp 0x4d3c5f
mov byte [ebp - 0xd], 0
mov esi, esp
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
push 0x5c
push 0x2f
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace_1]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0x52534c
push 0x525350
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Replace]
cmp esi, esp
call fcn.004f90e1
test eax, eax
jle 0x4d3ad2
jmp 0x4d3ab0
mov esi, esp
push 0x5c
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::TrimRight]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x2c], 0
mov eax, 1
test eax, eax
je 0x4d3c21
mov esi, esp
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x5c
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4d3b33
mov esi, esp
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
jmp 0x4d3b8f
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
mov esi, esp
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov esi, esp
push 0
push 0x2000080
push 3
push 0
push 1
push connect
mov edi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x4d3c01
mov esi, esp
push 0
mov edi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp edi, esp
call fcn.004f90e1
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4d3bff
mov byte [ebp - 0xd], 1
jmp 0x4d3c21
jmp 0x4d3c14
mov esi, esp
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004f90e1
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4d3c1c
jmp 0x4d3c21
jmp 0x4d3aed
movzx eax, byte [ebp - 0xd]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x39], al
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov al, byte [ebp - 0x39]
push edx
mov ecx, ebp
push eax
lea edx, [0x4d3c8a]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x44
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret