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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11a67d1
mov eax, dword fs:[0]
push eax
mov eax, 0x1114
call fcn.01113390
mov eax, dword [0x11ef064]
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 0xb428cd
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0xb428c6
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 0xb428c6
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 [0x11f47f4], esi
lea ecx, [ebp - 0x108c]
setae byte [0x11ef01d]
call fcn.00b1a120
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.00b1a0c0
lea eax, [ebp - 0x1038]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1044]
push eax
call fcn.00b19a10
push dword [ebp - 0x1044]
mov byte [ebp - 4], 1
call fcn.01112d76
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.01165df0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.01165df0
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.00b64620
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0xb429d3
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.00b1a0c0
mov eax, dword [ebp - 0x1034]
mov byte [ebp - 4], 3
test eax, eax
je 0xb42a38
mov ecx, dword [ebp - 0x1038]
mov esi, dword [ecx]
test esi, esi
je 0xb42a1d
push dword [esi]
call fcn.01112d76
push 0xc
push esi
call fcn.01112d5f
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.011672c0
add esp, 0xc
dec dword [ebp - 0x1034]
lea ecx, [ebp - 0x1080]
call fcn.00b1a120
lea eax, [ebp - 0x1080]
mov byte [ebp - 4], 4
push eax
call fcn.00b1cc90
lea ecx, [ebp - 0x1074]
call fcn.00b1a120
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x1080]
call fcn.00b1d450
test al, al
jne 0xb42a8e
push str.Error_1329484
push 0
call fcn.00b3a520
mov edi, 1
jmp 0xb42e29
push 0x18
call fcn.01112d2c
mov esi, eax
add esp, 4
mov dword [ebp - 0x102c], esi
test esi, esi
je 0xb42ace
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 0xb42ad0
xor esi, esi
mov dword [ebp - 0x1090], esi
test esi, esi
je 0xb42ae0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00b379b0
test eax, eax
je 0xb42b21
push eax
lea eax, [ebp - 0x1044]
push eax
call fcn.00b3f0d0
push dword [eax]
mov byte [ebp - 4], 7
push 0
call fcn.00b3a520
push dword [ebp - 0x1044]
call fcn.01112d76
add esp, 4
mov edi, 1
jmp 0xb42e1b
push 0xa4
call fcn.01112d2c
add esp, 4
mov dword [ebp - 0x102c], eax
mov byte [ebp - 4], 9
test eax, eax
je 0xb42b47
mov ecx, eax
call fcn.00b424f0
mov edi, eax
jmp 0xb42b49
xor edi, edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x1094], edi
test edi, edi
je 0xb42b5d
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.00b3d1d0
cmp dword [ebp - 0x1088], 0
lea ecx, [edi + 0x58]
setne al
mov byte [edi + 0x54], al
lea eax, [ebp - 0x108c]
push eax
call fcn.00b1a150
lea ecx, [ebp - 0x10ec]
call fcn.00b425f0
mov dword [ebp - 0x10b0], 0
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0xb
call fcn.00b1a120
lea eax, [ebp - 0x10a0]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x1080]
call fcn.00b1d3b0
test al, al
jne 0xb42bdd
push str.Error_1329485
push 0
call fcn.00b3a520
mov dword [ebp - 0x102c], 1
jmp 0xb42de7
lea eax, [ebp - 0x10ac]
push eax
lea ecx, [ebp - 0x10d8]
call fcn.00b1a150
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.00b19920
lea eax, [ebp - 0x1074]
push eax
lea ecx, [ebp - 0x1050]
call fcn.00b19920
lea ecx, [ebp - 0x1120]
call fcn.00b1b540
lea ecx, [ebp - 0x1120]
mov byte [ebp - 4], 0x11
call fcn.00b42700
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.00b42170
lea ecx, [ebp - 0x1068]
mov dword [ebp - 0x102c], eax
call fcn.00b35a50
push dword [ebp - 0x1044]
mov byte [ebp - 4], 0x11
call fcn.01112d76
mov eax, dword [ebp - 0x102c]
add esp, 4
test eax, eax
jne 0xb42d4c
cmp dword [edi + 0x48], eax
jne 0xb42d98
cmp byte [edi + 0x4c], al
jne 0xb42d98
mov dword [ebp - 0x102c], eax
jmp 0xb42da2
cmp eax, 0x80004004
jne 0xb42d5f
mov dword [ebp - 0x102c], 0xff
jmp 0xb42da2
cmp byte [ebp - 0x1025], 0
jne 0xb42d87
cmp eax, 1
jne 0xb42d7b
push str.Error_in_archive
push 0
call fcn.00b3a520
jmp 0xb42d98
push eax
call fcn.00b427a0
mov eax, dword [ebp - 0x102c]
mov dword [ebp - 0x102c], 8
cmp eax, 0x8007000e
je 0xb42da2
mov dword [ebp - 0x102c], 2
lea ecx, [ebp - 0x10f8]
call fcn.00b1b5a0
lea ecx, [ebp - 0x1104]
call fcn.00b1b5a0
lea ecx, [ebp - 0x1110]
call fcn.00b1b620
push dword [ebp - 0x111c]
call fcn.01112d76
add esp, 4
lea ecx, [ebp - 0x1050]
call fcn.00b198d0
lea ecx, [ebp - 0x105c]
call fcn.00b198d0
push dword [ebp - 0x10a0]
call fcn.01112d76
push dword [ebp - 0x10bc]
call fcn.01112d76
push dword [ebp - 0x10d8]
call fcn.01112d76
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 0xb42e29
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x1074]
call fcn.01112d76
push dword [ebp - 0x1080]
call fcn.01112d76
push dword [ebp - 0x10ac]
call fcn.01112d76
add esp, 0xc
lea ecx, [ebp - 0x1038]
call fcn.00b198d0
push dword [ebp - 0x108c]
call fcn.01112d76
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.01112b92
mov esp, ebp
pop ebp
ret