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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa9bf11
mov eax, dword fs:[0]
push eax
mov eax, 0x1114
call fcn.00a08a80
mov eax, dword [0xae4064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push str.comctl32.dll
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4328bd
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4328b6
xorps xmm0, xmm0
mov dword [ebp - 0x1014], esi
lea ecx, [ebp - 0x1024]
movups xmmword [ebp - 0x1024], xmm0
push ecx
mov dword [ebp - 0x1024], 0x14
call eax
test eax, eax
js 0x4328b6
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 [0xae97f4], esi
lea ecx, [ebp - 0x108c]
setae byte [0xae401d]
call fcn.0040a170
mov dword [ebp - 4], 0
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1044]
call fcn.0040a110
lea eax, [ebp - 0x1038]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1044]
push eax
call fcn.00409a60
push dword [ebp - 0x1044]
mov byte [ebp - 4], 1
call fcn.00a08466
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00a5b4a0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00a5b4a0
add esp, 0x1c
lea eax, [ebp - 0x1010]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MPC_HC
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00458760
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocString
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4329c3
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x10ac]
call fcn.0040a110
mov eax, dword [ebp - 0x1034]
mov byte [ebp - 4], 3
test eax, eax
je 0x432a28
mov ecx, dword [ebp - 0x1038]
mov esi, dword [ecx]
test esi, esi
je 0x432a0d
push dword [esi]
call fcn.00a08466
push 0xc
push esi
call fcn.00a0844f
mov eax, dword [ebp - 0x1034]
add esp, 0xc
mov ecx, dword [ebp - 0x1038]
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.00a5c970
add esp, 0xc
dec dword [ebp - 0x1034]
lea ecx, [ebp - 0x1080]
call fcn.0040a170
lea eax, [ebp - 0x1080]
mov byte [ebp - 4], 4
push eax
call fcn.0040cce0
lea ecx, [ebp - 0x1074]
call fcn.0040a170
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x1080]
call fcn.0040d4a0
test al, al
jne 0x432a7e
push str.Error_1329484
push 0
call fcn.0042a490
mov edi, 1
jmp 0x432e19
push 0x18
call fcn.00a0841c
mov esi, eax
add esp, 4
mov dword [ebp - 0x102c], esi
test esi, esi
je 0x432abe
mov dword [esi + 4], 0
mov dword [esi], vtable.CCodecs.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0
jmp 0x432ac0
xor esi, esi
mov dword [ebp - 0x1090], esi
test esi, esi
je 0x432ad0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00427960
test eax, eax
je 0x432b11
push eax
lea eax, [ebp - 0x1044]
push eax
call fcn.0042f030
push dword [eax]
mov byte [ebp - 4], 7
push 0
call fcn.0042a490
push dword [ebp - 0x1044]
call fcn.00a08466
add esp, 4
mov edi, 1
jmp 0x432e0b
push 0xa4
call fcn.00a0841c
add esp, 4
mov dword [ebp - 0x102c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x432b37
mov ecx, eax
call fcn.004324e0
mov edi, eax
jmp 0x432b39
xor edi, edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x1094], edi
test edi, edi
je 0x432b4d
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0042d130
cmp dword [ebp - 0x1088], 0
lea ecx, [edi + 0x58]
setne al
mov byte [edi + 0x54], al
lea eax, [ebp - 0x108c]
push eax
call fcn.0040a1a0
lea ecx, [ebp - 0x10ec]
call fcn.004325e0
mov dword [ebp - 0x10b0], 0
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0xb
call fcn.0040a170
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x1080]
call fcn.0040d400
test al, al
jne 0x432bcd
push str.Error_1329485
push 0
call fcn.0042a490
mov dword [ebp - 0x102c], 1
jmp 0x432dd7
lea eax, [ebp - 0x10ac]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.0040a1a0
mov word [ebp - 0x10ae], 1
mov dword [ebp - 0x10e0], 1
mov dword [ebp - 0x10e4], 0
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x105c]
call fcn.00409910
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00409910
lea ecx, [ebp - 0x1120]
call fcn.0040b590
lea ecx, [ebp - 0x1120]
mov byte [ebp - 4], 0x11
call fcn.004326f0
mov byte [ebp - 0x1025], 0
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1060], 0
push 0
push edi
lea eax, [ebp - 0x1025]
mov byte [ebp - 4], 0x13
push eax
push 0
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x1120]
push eax
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x1044]
push eax
lea eax, [ebp - 0x1068]
push eax
push esi
call fcn.00432160
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x102c], eax
call fcn.00425a20
push dword [ebp - 0x1044]
mov byte [ebp - 4], 0x11
call fcn.00a08466
mov eax, dword [ebp - 0x102c]
add esp, 4
test eax, eax
jne 0x432d3c
cmp dword [edi + 0x48], eax
jne 0x432d88
cmp byte [edi + 0x4c], al
jne 0x432d88
mov dword [ebp - 0x102c], eax
jmp 0x432d92
cmp eax, 0x80004004
jne 0x432d4f
mov dword [ebp - 0x102c], 0xff
jmp 0x432d92
cmp byte [ebp - 0x1025], 0
jne 0x432d77
cmp eax, 1
jne 0x432d6b
push str.Error_in_archive
push 0
call fcn.0042a490
jmp 0x432d88
push eax
call fcn.00432790
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x102c], 8
cmp eax, 0x8007000e
je 0x432d92
mov dword [ebp - 0x102c], 2
lea ecx, [ebp - 0x10f8]
call fcn.0040b5f0
lea ecx, [ebp - 0x1104]
call fcn.0040b5f0
lea ecx, [ebp - 0x1110]
call fcn.0040b670
push dword [ebp - 0x111c]
call fcn.00a08466
add esp, 4
lea ecx, [ebp - 0x1050]
call fcn.004098d0
lea ecx, [ebp - 0x105c]
call fcn.004098d0
push dword [ebp - 0x10a0]
call fcn.00a08466
push dword [ebp - 0x10bc]
call fcn.00a08466
push dword [ebp - 0x10d8]
call fcn.00a08466
add esp, 0xc
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1c
call dword [eax + 8]
mov edi, dword [ebp - 0x102c]
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x432e19
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x1074]
call fcn.00a08466
push dword [ebp - 0x1080]
call fcn.00a08466
push dword [ebp - 0x10ac]
call fcn.00a08466
add esp, 0xc
lea ecx, [ebp - 0x1038]
call fcn.004098d0
push dword [ebp - 0x108c]
call fcn.00a08466
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00a0828c
mov esp, ebp
pop ebp
ret