Function at 0x427864
Capabilities:
Accept command line arguments
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xabed5d
mov eax, dword fs:[0]
push eax
mov eax, 0x1108
call fcn.00abbf50
mov eax, dword [0xb00008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push str.comctl32.dll
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42790f
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1028], eax
test eax, eax
je 0x427908
push 0x14
lea eax, [ebp - 0x1024]
push ebx
push eax
call fcn.00a99070
add esp, 0xc
mov dword [ebp - 0x1024], 0x14
lea eax, [ebp - 0x1024]
push eax
call dword [ebp - 0x1028]
test eax, eax
js 0x427908
movzx esi, word [ebp - 0x1020]
movzx eax, word [ebp - 0x101c]
shl esi, 0x10
or esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, 0x40047
mov dword [0xb0500c], esi
lea ecx, [ebp - 0x108c]
sbb al, al
inc al
mov byte [0xb00976], al
call fcn.004092bf
mov dword [ebp - 4], ebx
mov dword [ebp - 0x105c], ebx
mov dword [ebp - 0x1058], ebx
mov dword [ebp - 0x1054], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x1028], eax
mov byte [ebp - 4], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1038]
call fcn.004092e3
lea edx, [ebp - 0x105c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1038]
call fcn.00408992
mov byte [ebp - 4], 1
push dword [ebp - 0x1038]
call fcn.00a96a21
mov esi, 0x800
lea eax, [ebp - 0x1010]
push esi
push ebx
push eax
call fcn.00a99070
push esi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00a99070
add esp, 0x1c
lea eax, [ebp - 0x1010]
push ebx
push 0x1c
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
lea edx, [ebp - 0x1010]
lea ecx, [ebp - 0x810]
call fcn.0042e4a2
push ebx
push 0x2000000
push 3
push ebx
push 1
push SysReAllocString
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4279fd
push ebx
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x101c]
call fcn.004092e3
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1058], 0
jbe 0x427a28
push ebx
lea ecx, [ebp - 0x105c]
call fcn.0040a1d6
lea ecx, [ebp - 0x1038]
call fcn.004092bf
lea ecx, [ebp - 0x1038]
mov byte [ebp - 4], 4
call fcn.0040ad4b
lea ecx, [ebp - 0x1080]
call fcn.004092bf
lea eax, [ebp - 0x1080]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1038]
xor ecx, ecx
push eax
call fcn.0040c9bc
test al, al
jne 0x427a81
push 0x10
push 0xacff40
push str.Error_1329484
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x427d8a
push 0x18
call fcn.00a96bd4
mov esi, eax
mov dword [ebp - 0x1028], esi
pop ecx
mov dword [esi + 4], ebx
mov dword [esi], vtable.CCodecs.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov word [esi + 0x14], bx
mov byte [ebp - 4], 6
mov eax, dword [esi]
push esi
mov dword [ebp - 0x1090], esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0041edf5
test eax, eax
je 0x427adb
mov ecx, eax
call fcn.00427838
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1028], ebx
jmp 0x427d80
push 0xa4
call fcn.00a96bd4
pop ecx
mov dword [ebp - 0x1028], eax
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00427771
mov edi, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1094], edi
test edi, edi
je 0x427b0d
mov ecx, dword [edi]
push edi
call dword [ecx + 4]
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00422d99
cmp dword [ebp - 0x1088], 0
lea ecx, [edi + 0x58]
setne al
mov byte [edi + 0x54], al
lea eax, [ebp - 0x108c]
push eax
call fcn.0040940a
lea ecx, [ebp - 0x10e0]
call fcn.004276fd
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0xc
call fcn.004092bf
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x10a0]
mov ecx, dword [ebp - 0x1038]
call fcn.0040b472
test al, al
jne 0x427b88
push 0x10
push 0xacff40
push str.Error_1329485
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1028], ebx
jmp 0x427d5f
lea eax, [ebp - 0x101c]
push eax
lea ecx, [ebp - 0x10cc]
call fcn.0040940a
xor eax, eax
mov dword [ebp - 0x10d8], ebx
inc eax
mov byte [ebp - 0x10a1], bl
mov byte [ebp - 0x10a2], al
mov dword [ebp - 0x10d4], eax
mov dword [ebp - 0x1050], ebx
mov dword [ebp - 0x104c], ebx
mov dword [ebp - 0x1048], ebx
mov dword [ebp - 0x1044], ebx
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x103c], ebx
lea ecx, [ebp - 0x1050]
mov byte [ebp - 4], 0x11
call fcn.00408b56
lea eax, [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00408b17
lea ecx, [ebp - 0x1044]
call fcn.00408b56
lea eax, [ebp - 0x1080]
push eax
lea ecx, [ebp - 0x1044]
call fcn.00408b17
lea ecx, [ebp - 0x1114]
call fcn.00409be8
lea ecx, [ebp - 0x1114]
mov byte [ebp - 4], 0x12
call fcn.0042765c
mov byte [ebp - 0x1029], bl
mov dword [ebp - 0x1074], ebx
mov dword [ebp - 0x1070], ebx
mov dword [ebp - 0x106c], ebx
mov dword [ebp - 0x1068], ebx
mov dword [ebp - 0x1064], ebx
mov dword [ebp - 0x1060], ebx
push ecx
push edi
lea eax, [ebp - 0x1029]
mov byte [ebp - 4], 0x14
push eax
push ebx
lea eax, [ebp - 0x10e0]
mov ecx, esi
push eax
lea eax, [ebp - 0x1114]
push eax
lea eax, [ebp - 0x1044]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x1074]
push eax
lea edx, [ebp - 0x1068]
call fcn.0042727f
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x1028], eax
call fcn.0041e804
mov byte [ebp - 4], 0x12
push dword [ebp - 0x1074]
call fcn.00a96a21
mov eax, dword [ebp - 0x1028]
pop ecx
test eax, eax
jne 0x427ce0
cmp dword [edi + 0x48], ebx
jne 0x427cd0
cmp byte [edi + 0x4c], al
jne 0x427cd0
mov bl, 1
movzx eax, bl
xor eax, 1
add eax, eax
mov dword [ebp - 0x1028], eax
jmp 0x427d3e
cmp eax, 0x80004004
jne 0x427cf3
mov dword [ebp - 0x1028], 0xff
jmp 0x427d3e
cmp byte [ebp - 0x1029], 0
jne 0x427d23
cmp eax, 1
jne 0x427d16
push 0x10
push 0xacff40
push str.Error_in_archive
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x427d34
mov ecx, eax
call fcn.00427838
mov eax, dword [ebp - 0x1028]
mov dword [ebp - 0x1028], 8
cmp eax, 0x8007000e
je 0x427d3e
mov dword [ebp - 0x1028], 2
lea ecx, [ebp - 0x1114]
call fcn.0040a31e
lea ecx, [ebp - 0x1044]
call fcn.00408adf
lea ecx, [ebp - 0x1050]
call fcn.00408adf
push dword [ebp - 0x10a0]
call fcn.00a96a21
pop ecx
lea ecx, [ebp - 0x10e0]
call fcn.0042775a
mov byte [ebp - 4], 0x1d
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], 0x1e
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x1080]
call fcn.00a96a21
push dword [ebp - 0x1038]
call fcn.00a96a21
push dword [ebp - 0x101c]
call fcn.00a96a21
add esp, 0xc
lea ecx, [ebp - 0x105c]
call fcn.00408adf
push dword [ebp - 0x108c]
call fcn.00a96a21
mov eax, dword [ebp - 0x1028]
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a96a13
leave
ret