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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xa5119b
mov eax, dword fs:[0]
push eax
mov eax, 0x1118
call fcn.009d9720
mov eax, dword [0xa8d06c]
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 0x4281c5
push str.DllGetVersion
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4281bc
push 0x14
lea eax, [ebp - 0x1024]
push esi
push eax
call fcn.00a2a2c0
add esp, 0xc
mov dword [ebp - 0x1024], 0x14
lea eax, [ebp - 0x1024]
push eax
call ebx
test eax, eax
js 0x4281bc
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]
xor ebx, ebx
cmp esi, 0x40047
mov dword [0xa914dc], esi
lea ecx, [ebp - 0x1094]
sbb al, al
inc al
mov byte [0xa8d01d], al
call fcn.004094fd
mov esi, 0x800
mov dword [ebp - 4], ebx
push esi
lea eax, [ebp - 0x1010]
push ebx
push eax
call fcn.00a2a2c0
push esi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00a2a2c0
add esp, 0x18
lea eax, [ebp - 0x1010]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.7zip
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00480ad0
push ebx
push 0x2000000
push 3
push ebx
xor ebx, ebx
lea eax, [ebp - 0x810]
inc ebx
push ebx
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x428268
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x10b0]
call fcn.004094c7
and dword [ebp - 0x1054], 0
and dword [ebp - 0x1050], 0
and dword [ebp - 0x104c], 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1060]
call fcn.004094c7
lea eax, [ebp - 0x1054]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x1060]
push eax
call fcn.00408fd6
push dword [ebp - 0x1060]
mov byte [ebp - 4], 2
call fcn.009d8f75
cmp dword [ebp - 0x1050], 0
pop ecx
jbe 0x4282e2
push 0
lea ecx, [ebp - 0x1054]
call fcn.0040aa3e
lea ecx, [ebp - 0x1088]
call fcn.004094fd
lea eax, [ebp - 0x1088]
mov byte [ebp - 4], 4
push eax
call fcn.0040b896
lea ecx, [ebp - 0x107c]
call fcn.004094fd
lea eax, [ebp - 0x107c]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x1088]
call fcn.0040be7a
test al, al
jne 0x428333
push str.Error_1329484
push 0
call fcn.004219f5
jmp 0x4286e5
push 0x18
call fcn.009d8f2e
mov esi, eax
mov dword [ebp - 0x102c], esi
pop ecx
test esi, esi
je 0x42837f
xor eax, eax
mov dword [ebp - 0x1070], esi
mov dword [esi + 4], eax
mov dword [esi], vtable.CCodecs.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov word [esi + 0x14], ax
test esi, esi
je 0x428387
mov eax, dword [esi]
cmp dword [eax + 4], 0x40f021
jne 0x428379
inc dword [esi + 4]
jmp 0x428387
push esi
call dword [eax + 4]
jmp 0x428387
xor esi, esi
and dword [ebp - 0x1070], esi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0041f6fe
test eax, eax
je 0x4283a1
push eax
call fcn.004280cc
jmp 0x4286d7
push 0xb8
call fcn.009d8f2e
pop ecx
mov dword [ebp - 0x102c], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4283c5
mov ecx, eax
call fcn.00427ea4
mov edi, eax
jmp 0x4283c7
xor edi, edi
mov byte [ebp - 4], 6
mov dword [ebp - 0x1098], edi
test edi, edi
je 0x4283db
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00423de2
cmp dword [ebp - 0x1090], 0
lea ecx, [edi + 0x68]
setne al
mov byte [edi + 0x64], al
lea eax, [ebp - 0x1094]
push eax
call fcn.004095c8
lea ecx, [ebp - 0x10f0]
call fcn.00427f7f
xor eax, eax
mov dword [ebp - 0x10b4], eax
lea ecx, [ebp - 0x10a4]
mov byte [ebp - 4], 0xa
call fcn.004094fd
lea eax, [ebp - 0x10a4]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x1088]
call fcn.0040be3e
test al, al
jne 0x42844f
push str.Error_1329485
push 0
call fcn.004219f5
jmp 0x4286a9
lea eax, [ebp - 0x10b0]
push eax
lea ecx, [ebp - 0x10dc]
call fcn.004095c8
xor eax, eax
mov byte [ebp - 0x10b2], bl
mov dword [ebp - 0x10e4], ebx
mov dword [ebp - 0x10e8], eax
mov byte [ebp - 0x10b1], al
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x1044], eax
mov dword [ebp - 0x1040], eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1034], eax
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], 0xf
call fcn.00408f92
lea eax, [ebp - 0x107c]
push eax
lea ecx, [ebp - 0x1048]
call fcn.00408ecc
lea ecx, [ebp - 0x103c]
call fcn.00408f92
lea eax, [ebp - 0x107c]
push eax
lea ecx, [ebp - 0x103c]
call fcn.00408ecc
lea ecx, [ebp - 0x1124]
call fcn.0040a55b
lea ecx, [ebp - 0x1124]
mov byte [ebp - 4], 0x10
call fcn.00428034
xor ecx, ecx
mov byte [ebp - 0x1025], cl
mov dword [ebp - 0x1060], ecx
mov dword [ebp - 0x105c], ecx
mov dword [ebp - 0x1058], ecx
mov dword [ebp - 0x106c], ecx
mov dword [ebp - 0x1068], ecx
mov dword [ebp - 0x1064], ecx
push ecx
push edi
lea eax, [ebp - 0x1025]
mov byte [ebp - 4], 0x12
push eax
push ecx
lea eax, [ebp - 0x10f0]
push eax
lea eax, [ebp - 0x1124]
push eax
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x1048]
push eax
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x106c]
push eax
push esi
call fcn.00427bdf
mov dword [ebp - 0x1030], eax
mov eax, dword [ebp - 0x1068]
test eax, eax
je 0x42858b
mov ebx, eax
mov ecx, dword [ebp - 0x106c]
dec ebx
push 0x20
push dword [ecx + ebx*4]
call fcn.009d8f5e
pop ecx
pop ecx
test ebx, ebx
jne 0x428573
inc ebx
push dword [ebp - 0x106c]
call fcn.009d8f75
push dword [ebp - 0x1060]
mov byte [ebp - 4], 0x10
call fcn.009d8f75
mov eax, dword [ebp - 0x1030]
pop ecx
pop ecx
test eax, eax
jne 0x4285bf
cmp dword [edi + 0x58], eax
jne 0x4285e6
cmp byte [edi + 0x5c], al
jne 0x4285e6
xor ebx, ebx
jmp 0x4285e9
cmp eax, 0x80004004
jne 0x4285cd
mov ebx, 0xff
jmp 0x4285e9
cmp byte [ebp - 0x1025], 0
jne 0x428608
cmp eax, ebx
jne 0x4285fc
push str.Error_in_archive
push 0
call fcn.004219f5
push 2
pop ebx
lea ecx, [ebp - 0x1124]
call fcn.0040a635
mov ecx, dword [ebp - 0x1038]
jmp 0x42864a
push eax
call fcn.004280cc
mov eax, dword [ebp - 0x1030]
cmp eax, 0x8007000e
jne 0x4285e6
push 8
jmp 0x4285e8
mov eax, dword [ebp - 0x103c]
dec ecx
mov dword [ebp - 0x1030], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x102c], eax
test eax, eax
je 0x42864a
push dword [eax]
call fcn.009d8f75
push 0xc
push dword [ebp - 0x102c]
call fcn.009d8f5e
mov ecx, dword [ebp - 0x1030]
add esp, 0xc
test ecx, ecx
jne 0x428613
push dword [ebp - 0x103c]
call fcn.009d8f75
pop ecx
mov ecx, dword [ebp - 0x1044]
jmp 0x428699
mov eax, dword [ebp - 0x1048]
dec ecx
mov dword [ebp - 0x1030], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x102c], eax
test eax, eax
je 0x428699
push dword [eax]
call fcn.009d8f75
push 0xc
push dword [ebp - 0x102c]
call fcn.009d8f5e
mov ecx, dword [ebp - 0x1030]
add esp, 0xc
test ecx, ecx
jne 0x428662
push dword [ebp - 0x1048]
call fcn.009d8f75
pop ecx
push dword [ebp - 0x10a4]
call fcn.009d8f75
push dword [ebp - 0x10c0]
call fcn.009d8f75
push dword [ebp - 0x10dc]
call fcn.009d8f75
add esp, 0xc
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1b
call dword [eax + 8]
mov byte [ebp - 4], 0x1c
test esi, esi
je 0x4286e5
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [ebp - 0x107c]
call fcn.009d8f75
push dword [ebp - 0x1088]
call fcn.009d8f75
mov esi, dword [ebp - 0x1050]
pop ecx
pop ecx
jmp 0x428725
mov eax, dword [ebp - 0x1054]
dec esi
mov edi, dword [eax + esi*4]
test edi, edi
je 0x428725
push dword [edi]
call fcn.009d8f75
push 0xc
push edi
call fcn.009d8f5e
add esp, 0xc
test esi, esi
jne 0x428705
push dword [ebp - 0x1054]
call fcn.009d8f75
push dword [ebp - 0x10b0]
call fcn.009d8f75
push dword [ebp - 0x1094]
call fcn.009d8f75
add esp, 0xc
mov eax, ebx
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.009d8d1d
leave
ret