Function at 0x401b2d
Capabilities:
Create directory

Disassembly:
push 0x470
mov eax, 0x4797d9
call fcn.0045bedd
mov eax, dword [ebp + 8]
mov ebx, ecx
push str.ExtractFilesFrom7zArchive...
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x47c], ebx
call fcn.004020a6
xor edi, edi
push edi
lea eax, [ebp - 0x470]
push eax
push 2
mov dword [ebp - 4], edi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x470]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00459cf0
mov esi, 0x29874
add esp, 0xc
cmp dword [0x4c4bf8], esi
je 0x401d91
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00459452
pop ecx
pop ecx
test eax, eax
je 0x401d91
push edi
push ecx
mov dword [ebp - 0x470], esp
mov ecx, esp
push ebx
call fcn.004020ea
call fcn.004423ba
mov eax, dword [ebx]
pop ecx
pop ecx
lea ecx, [ebp - 0x46c]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x474], eax
cmp eax, 0xffffffff
jne 0x401c68
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
mov esi, 0x27100
cmp dword [0x4c4bf8], esi
je 0x401c1d
cmp eax, edi
jne 0x401c68
push str.CreateDirectory___failed
lea ecx, [ebp - 0x470]
call fcn.004020a6
mov dword [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov ecx, eax
lea edx, [ebp - 0x470]
mov ebx, 0x4c4bf0
call fcn.0041384f
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.004025d2
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x401dcf
push dword [ebp - 0x474]
call dword [sym.imp.kernel32.dll_FindClose]
mov esi, 0x298d8
cmp dword [0x4c4bf8], esi
je 0x401d78
push dword [ebx]
call main
pop ecx
test eax, eax
jne 0x401d78
mov ecx, dword [ebp - 0x478]
call main
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x478], eax
cmp dword [0x4c4bf8], esi
je 0x401cc5
lea eax, [ebp - 0x21c]
push eax
call main
pop ecx
test eax, eax
je 0x401d09
push str.Failed_to_change_cwd.
lea ecx, [ebp - 0x470]
call fcn.004020a6
mov dword [ebp - 4], 4
call edi
push esi
mov ecx, eax
lea edx, [ebp - 0x470]
mov ebx, 0x4c4bf0
call fcn.0041384f
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.004025d2
mov ebx, dword [ebp - 0x47c]
mov esi, 0x2993c
cmp dword [0x4c4bf8], esi
je 0x401d5d
cmp dword [ebp - 0x478], 0
jne 0x401d5d
push str.Files_extracted_successfully_at:
lea ecx, [ebp - 0x474]
call fcn.004020a6
push 0
push ebx
lea eax, [ebp - 0x474]
push eax
push 2
mov dword [ebp - 4], 6
call fcn.00414e01
mov ecx, dword [ebp - 0x474]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
inc eax
jmp 0x401dd1
push str.Failed_to_extract_files
lea ecx, [ebp - 0x470]
call fcn.004020a6
mov dword [ebp - 4], 5
call edi
jmp 0x401dae
push str.Failed_to_change_cwd
lea ecx, [ebp - 0x470]
call fcn.004020a6
mov dword [ebp - 4], 3
jmp 0x401da8
push str.Failed_to_get_current_working_directory.
lea ecx, [ebp - 0x470]
call fcn.004020a6
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov ecx, eax
lea edx, [ebp - 0x470]
mov ebx, 0x4c4bf0
call fcn.0041384f
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
call fcn.0045bf60
ret