Function at 0x401128
Capabilities:
Create directory
Delete directory
Identify system language via api
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x4043bc], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0x4042d4
and eax, 0x3ff
push dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
call fcn.00401b9f
mov edi, eax
push 0x4042d0
push dword [ebp + 0x10]
neg edi
sbb edi, edi
neg edi
mov dword [ebp - 4], edi
call fcn.00401b9f
neg eax
sbb eax, eax
push str._xpi
push dword [ebp + 0x10]
xor ebx, ebx
neg eax
mov dword [0x4043b8], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.00401b9f
add esp, 0x18
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
je 0x4011bf
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.VideoDownloadConverter_4zEI:Installer:Shared03
push ebx
push 1
push ebx
call esi
push str.VideoDownloadConverter_4zEI:Installer:Shared04
push ebx
push 1
push ebx
mov dword [ebp - 0x14], eax
call esi
mov dword [ebp - 0x18], eax
cmp edi, ebx
jne 0x4011dc
push 0x404234
push dword [ebp + 0x10]
call fcn.00401b9f
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x4043b8], eax
cmp edi, ebx
mov dword [ebp - 8], ebx
jne 0x4011fd
push 0x404230
push dword [ebp + 0x10]
call fcn.00401b9f
pop ecx
test eax, eax
pop ecx
je 0x4011fd
mov dword [ebp - 8], 1
push str.SETUPAPI
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4015b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetupGetFileCompressionInfoA
push eax
call esi
push str.SetupDecompressOrCopyFileA
mov dword [0x4043c0], eax
push dword [ebp - 0x10]
call esi
cmp dword [0x4043c0], ebx
mov dword [0x4043c4], eax
je 0x4015a4
cmp eax, ebx
je 0x4015a4
push str.MyFree
push dword [ebp - 0x10]
call esi
push ebx
push ebx
mov esi, str.Installer
push 0x4041dc
push esi
mov dword [0x4043c8], eax
call fcn.0040234e
add esp, 0x10
cmp edi, ebx
jne 0x40128a
cmp dword [ebp - 8], ebx
jne 0x40128a
push ebx
push str.VideoDownloadConverter
push 0x4041dc
push esi
call fcn.0040234e
add esp, 0x10
mov al, byte [0x4043d0]
push 0x4a
mov byte [ebp - 0x158], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x157]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 4]
push ebx
neg eax
sbb eax, eax
push str.CurInstall
and eax, 2
push esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
call fcn.00402003
add esp, 0xc
cmp dword [ebp - 4], ebx
mov dword [ebp + 0x10], eax
jne 0x4012d4
cmp dword [ebp - 8], ebx
jne 0x4012d4
inc dword [ebp + 0x10]
push ebx
lea eax, [ebp - 0x158]
push 0xfa
push eax
push ebx
push ebx
push 0x403138
push esi
call fcn.004024ca
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
test eax, eax
je 0x4014c2
cmp byte [ebp - 0x158], bl
je 0x4014c2
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0x10]
lea eax, [ebp + eax - 0x158]
mov dword [ebp - 0xc], eax
push str._x.bin_
push eax
call edi
add esp, 0xc
cmp dword [ebp - 4], ebx
jne 0x4013ab
cmp dword [ebp - 8], ebx
jne 0x4013ab
lea eax, [ebp - 0x158]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4013ab
mov eax, dword [ebp + 0x10]
lea ecx, [eax + 5]
cmp eax, ecx
jge 0x4013ab
inc eax
mov dword [ebp + 8], eax
push eax
push str._x.bin_
push dword [ebp - 0xc]
call edi
add esp, 0xc
lea eax, [ebp - 0x158]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40138d
mov eax, dword [ebp + 0x10]
add eax, 5
cmp dword [ebp + 8], eax
jg 0x401393
inc dword [ebp + 8]
push dword [ebp + 8]
jmp 0x40135b
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], eax
je 0x4013ab
push dword [ebp + 0x10]
push str._x.bin_
push dword [ebp - 0xc]
call edi
add esp, 0xc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4014c2
xor eax, eax
cmp dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
sete al
cmp dword [ebp - 8], ebx
mov dword [0x4043cc], eax
jne 0x401409
lea eax, [ebp - 0x158]
push eax
push 0x4015c4
push str.PART
push dword [0x4043bc]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
cmp dword [ebp - 0x28], ebx
setne al
lea eax, [eax + ecx*2]
mov eax, dword [eax*4 + 0x40327c]
cmp eax, 4
mov dword [ebp - 0x2c], eax
jne 0x4013cf
cmp dword [ebp - 0x28], ebx
mov dword [0x4043cc], ebx
jne 0x4014bc
cmp dword [ebp - 8], ebx
jne 0x40144f
cmp dword [ebp - 4], ebx
jne 0x401452
push ebx
push ebx
push str.ConfigDateStamp
push esi
call fcn.0040234e
push 3
push ebx
push ebx
push str.ConfigDateStamp
push esi
call fcn.00402369
push dword [ebp + 0x10]
push str.CurInstall
push esi
call fcn.004020cc
add esp, 0x30
dec dword [ebp + 0x10]
cmp dword [ebp + 0x10], ebx
jle 0x4014b9
push dword [ebp + 0x10]
push str._x.bin_
push dword [ebp - 0xc]
call edi
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x40144f
lea eax, [ebp - 0x158]
mov dword [ebp - 0x28], ebx
push eax
push 0x4015c4
push str.PART
mov dword [ebp - 0x2c], 3
push dword [0x4043bc]
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0x4041a0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x40144f
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x4043b8], ebx
jne 0x40150e
cmp dword [ebp - 4], ebx
mov ecx, 0x4041dc
jne 0x4014d9
mov ecx, 0x4043d0
cmp dword [ebp - 0x28], ebx
mov eax, str.The_VideoDownloadConverter_Easy_Installer_has_been_successfully__sinstalled
je 0x4014e8
mov eax, str.Failed_to__sinstall_the_VideoDownloadConverter_Easy_Installer
push ecx
push eax
lea eax, [ebp - 0x1bc]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x1bc]
push 0x1000
push str.VideoDownloadConverter_Easy_Installer_Installer
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x28]
push 0x404150
push esi
call fcn.004020cc
movzx eax, word [ebp - 0x24]
push eax
push 0x40414c
push esi
call fcn.004020cc
add esp, 0x18
mov dword [0x4043c0], ebx
mov dword [0x4043c4], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x28], ebx
jne 0x40158a
cmp dword [ebp - 0x1c], ebx
je 0x40158a
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x40158a
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40158a
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push ebx
push eax
push 2
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 1
jne 0x40157f
mov dword [ebp - 0x28], 0x12
jmp 0x40158a
cmp eax, ebx
je 0x40158a
mov dword [ebp - 0x28], 0x13
push dword [ebp - 0x28]
push str.result_x
push str.http:__imgfarm.com_images_nocache_tr_au1.gif
call fcn.004015c3
mov eax, dword [ebp - 0x28]
add esp, 0xc
jmp 0x4015bc
push dword [ebp - 0x10]
mov dword [0x4043c0], ebx
mov dword [0x4043c4], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 8
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10