Function at 0x418213
Capabilities:
Create directory

Disassembly:
push 0x230
mov eax, 0x48f0dd
call fcn.00458f67
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x23c], eax
mov eax, dword [0x4c12e0]
mov dword [ebp - 0x238], edx
test ecx, ecx
je 0x418276
test eax, eax
je 0x418276
cmp dword [0x4c3630], 0
je 0x418276
mov eax, dword [ecx]
push str.In_CInfFile::_CreateVerDirAndMoveFile__
push ecx
call dword [eax + 0x10]
mov eax, dword [0x4c12e0]
mov edx, dword [ebp - 0x238]
pop ecx
pop ecx
test edx, edx
je 0x4184c9
cmp byte [edx], 0
je 0x4184c9
test edi, edi
je 0x4184c9
cmp byte [edi], 0
je 0x4184c9
test ebx, ebx
je 0x4184c9
cmp byte [ebx], 0
je 0x4184c9
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4182da
test eax, eax
je 0x4182da
cmp dword [0x4c3630], 0
je 0x4182da
mov eax, dword [ecx]
push edx
push ebx
push dword [ebp - 0x23c]
push dword [ebp - 0x234]
push edi
push str...Tring_to_create_folder_under_base__s__subfolder:__s__for_file__s_with_version__s_and_then_move__s_to_there
push ecx
call dword [eax + 0x10]
add esp, 0x1c
push ebx
push dword [ebp - 0x234]
lea eax, [ebp - 0x218]
push edi
push 0x49a210
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x218]
push eax
call fcn.004447fc
add esp, 0x18
test eax, eax
je 0x418355
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x418355
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi + 0xc]
mov edi, eax
test edx, edx
je 0x41834e
cmp dword [0x4c12e0], 0
je 0x41834e
mov ecx, dword [edx]
lea eax, [ebp - 0x218]
push edi
push dword [ebp - 0x23c]
push eax
push str.Unable_to_create_directory__s_for_moving_file__s._Error:__d
push edx
call dword [ecx + 0x14]
add esp, 0x14
mov eax, edi
jmp 0x4184e4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x418383
cmp dword [0x4c12e0], 0
je 0x418383
cmp dword [0x4c3630], 0
je 0x418383
mov eax, dword [ecx]
lea edx, [ebp - 0x218]
push edx
push str...Successfully_created_directory__s
push ecx
call dword [eax + 0x10]
add esp, 0xc
push 0x494bbc
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00465e4f
push dword [ebp - 0x23c]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00465e4f
add esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esi
push 1
push eax
push dword [ebp - 0x238]
call fcn.00420d15
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov ebx, eax
mov dword [ebp - 0x21c], 0xf
lea edi, [esi + 0x20]
mov byte [ebp - 0x230], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4183ec
sub ecx, edx
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a9d0
mov eax, dword [esi + 0x24]
lea ecx, [ebp - 0x230]
and dword [ebp - 4], 0
push ecx
push eax
cmp eax, dword [esi + 0x28]
je 0x41842b
push edi
call fcn.0040e6ea
add esp, 0xc
add dword [edi + 4], 0x18
jmp 0x418432
mov ecx, edi
call fcn.00412f51
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x418485
mov ecx, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], ecx
cmp eax, 0x1000
jb 0x41847c
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00403184
mov eax, dword [ebp - 0x238]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x234]
push eax
push ecx
call fcn.00458ecf
pop ecx
pop ecx
and dword [ebp - 0x220], 0
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
test ecx, ecx
je 0x4184c5
cmp dword [0x4c12e0], 0
je 0x4184c5
cmp dword [0x4c3630], 0
je 0x4184c5
mov eax, dword [ecx]
push ebx
push str.CInfFile::_CreateVerDirAndMoveFile___returns__d
push ecx
call dword [eax + 0x10]
add esp, 0xc
mov eax, ebx
jmp 0x4184e4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4184e1
test eax, eax
je 0x4184e1
mov eax, dword [ecx]
push str.Parameters_to_CInfFile::_CreateVerDirAndMoveFile___are_incorrect
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
push 0x57
pop eax
call fcn.00458f11
ret 0x14