Function at 0x41d680
Capabilities:
Create directory
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x442117
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x4513e0]
xor eax, esp
mov dword [esp + 0x55c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4513e0]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0xffffffff
lea esi, [esp + 0x15c]
mov dword [esp + 0x578], ebp
call fcn.0041c550
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41d6e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x160]
lea ebx, [edi + 0xad4]
push eax
mov esi, ebx
call fcn.004035b0
push ebp
push ebp
lea edx, [esp + 0x18]
push edx
push 0x41d2c0
push ebp
lea ecx, [esp + 0x170]
push ebp
mov dword [esp + 0x30], ecx
mov byte [esp + 0x38], 1
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x41d73f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp esi, ebp
jne 0x41dc12
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x41d765
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebp
jne 0x41dc12
cmp dword [esp + 0x1c], ebp
jne 0x41dc12
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
mov eax, dword [edi + 0x10]
cmp eax, ebp
jne 0x41dc3f
mov eax, dword [edi + 0xabc]
neg eax
sbb eax, eax
and eax, 0xe
cmp eax, ebp
jne 0x41dc3f
lea eax, [edi + 0x814]
push eax
call fcn.0041ea70
mov esi, 8
cmp dword [ebx + 0x18], esi
jb 0x41d7b3
mov eax, dword [ebx + 4]
jmp 0x41d7b6
lea eax, [ebx + 4]
push eax
push str.__Source:__s
push 0x4524d8
xor eax, eax
call fcn.0041eee0
add esp, 0xc
cmp dword [ebx + 0x18], esi
jb 0x41d7d5
mov eax, dword [ebx + 4]
jmp 0x41d7d8
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x160]
push 0x104
push ecx
call fcn.00429cf8
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push str.Lang
lea edx, [esp + 0x160]
push edx
call ebp
lea esi, [esp + 0x15c]
call fcn.0041fe90
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
xor eax, eax
cmp dword [edi + 0xc], eax
je 0x41d90d
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea esi, [esp + 0x24]
mov byte [esp + 0x578], 1
call fcn.0041d0d0
mov byte [esp + 0x578], 2
cmp dword [eax + 0x18], 8
jb 0x41d853
mov eax, dword [eax + 4]
jmp 0x41d856
add eax, 4
push eax
push str.Error_in_command_line:__s
push 0x4524d8
mov eax, 2
call fcn.0041eee0
add esp, 0xc
lea esi, [esp + 0x24]
mov byte [esp + 0x578], 1
call fcn.0041fb60
lea esi, [esp + 0x24]
call fcn.0041d0d0
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x57c], 3
call fcn.004159f0
lea esi, [esp + 0x24]
mov byte [esp + 0x578], 1
call fcn.0041fb60
push 0x7f02
push 7
push 0x84
push 0x7d9
lea edx, [esp + 0x50]
mov ecx, 0x3b
call fcn.004242b0
add esp, 0x10
cmp eax, 7
jne 0x41d8fc
mov dword [0x4524fc], 0xa001
call fcn.0041ee30
lea esi, [esp + 0x40]
mov dword [edi + 0x10], 1
call fcn.00415940
mov eax, dword [esp + 0x10]
test eax, eax
jmp 0x41dc45
lea esi, [esp + 0x40]
mov byte [esp + 0x578], 0
call fcn.00415940
mov edx, 0x446988
call fcn.004051c0
test eax, eax
je 0x41d925
call fcn.0041e670
jmp 0x41db71
mov edx, str.noinstall
call fcn.004051c0
test eax, eax
je 0x41d93f
mov esi, edi
call fcn.0041e2b0
jmp 0x41db71
mov eax, edi
call fcn.00401890
lea esi, [esp + 0x10]
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], 0
call fcn.0041d290
mov esi, eax
test esi, esi
jne 0x41dbdb
call fcn.00405500
test eax, eax
je 0x41da36
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x41d991
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x41dbdb
cmp dword [esp + 0x1c], 0
jne 0x41dbdb
mov eax, edi
call fcn.00401890
push eax
lea eax, [esp + 0x160]
push 0x104
push eax
call fcn.00429cf8
add esp, 0xc
call fcn.004232a0
test al, al
je 0x41da09
call fcn.00423020
cmp eax, 0x5020100
jb 0x41da09
cmp eax, 0xffffffff
ja 0x41da09
lea esi, [esp + 0x364]
call fcn.00423340
push str.msls31.dll
mov ecx, esi
push ecx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8000
call esi
lea edx, [esp + 0x364]
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebp
call esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov edx, 0x449aec
call fcn.004051c0
test eax, eax
je 0x41da56
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
jmp 0x41db71
mov edx, dword [0x453c70]
lea ecx, [esp + 0x10]
push ecx
push 0x41d310
push 0
push 0x64
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
jmp 0x41d991
mov edx, 0x446930
call fcn.004051c0
test eax, eax
jne 0x41db71
mov edx, str.uninstall
call fcn.004051c0
test eax, eax
je 0x41da82
mov esi, edi
call fcn.0041e1f0
jmp 0x41db71
mov edx, str.extract
call fcn.004051c0
test eax, eax
je 0x41db53
mov eax, 0x449af0
call fcn.0041eec0
mov ecx, str.extract
call fcn.00405260
mov edx, eax
lea eax, [esp + 0x40]
call fcn.00402820
mov byte [esp + 0x578], 4
mov eax, dword [esp + 0x44]
mov esi, 8
cmp dword [esp + 0x58], esi
jae 0x41dace
lea eax, [esp + 0x44]
push eax
push str.Extracting_to__s
push 0x4524d8
xor eax, eax
call fcn.0041eee0
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp dword [esp + 0x58], esi
jae 0x41daf1
lea eax, [esp + 0x44]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x41db0a
lea eax, [esp + 0x44]
push 1
push eax
mov eax, edi
call fcn.00401890
push eax
call fcn.0041c8e0
add esp, 0xc
test eax, eax
je 0x41db39
push eax
push str.Extract_error_0x_X
push 0x4524d8
mov eax, 2
call fcn.0041eee0
add esp, 0xc
sub dword [0x4524f8], 1
lea esi, [esp + 0x40]
mov byte [esp + 0x578], 0
call fcn.0041fb60
jmp 0x41db71
mov edx, 0x446ce0
call fcn.004051c0
test eax, eax
je 0x41db6a
call fcn.0041e3c0
test al, al
je 0x41db71
mov esi, edi
call fcn.0041e0e0
mov edx, 0x446984
call fcn.004051c0
test eax, eax
je 0x41db98
call fcn.00405500
test eax, eax
je 0x41db91
mov esi, edi
call fcn.0041e9f0
jmp 0x41dbac
push str.Not_in_silent_mode__ignoring__b_switch
jmp 0x41db9d
push str.IIF_will_NOT_initiate_reboot
push 0x4524d8
xor eax, eax
call fcn.0041eee0
add esp, 8
call fcn.0041ee30
call fcn.00420550
cmp dword [ebx + 0x18], 8
jb 0x41dbc1
mov eax, dword [ebx + 4]
jmp 0x41dbc4
lea eax, [ebx + 4]
push eax
call fcn.0041c3c0
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
test eax, eax
jmp 0x41dc45
push esi
lea eax, [esp + 0x60]
push str.Error_extracting_files.__0x_X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push str.Package_error
lea ecx, [esp + 0x64]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
mov dword [edi + 0x10], 0xb
test eax, eax
jmp 0x41dc45
push esi
lea edx, [esp + 0x60]
push str.Error_extracting_files.__0x_X_
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push ebp
push str.Package_error
lea eax, [esp + 0x64]
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [edi + 0x10], 0xb
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x41dc4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x55c]
xor ecx, esp
call fcn.004289ca
add esp, 0x56c
ret