Function at 0x401390
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x954
mov dword [0x414ab0], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0xff
push 0x4148e0
mov dword [0x4148d0], ebx
call fcn.00406a0f
mov ecx, dword [esp + 0x978]
add esp, 8
mov dword [0x4147a4], ecx
push 0xff
push 0x4147d0
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x4147d0
call fcn.004028e0
push 0x4148d0
push eax
mov dword [0x4148d8], eax
call fcn.00402d20
mov eax, dword [0x4148d0]
add esp, 0xc
cmp eax, ebx
jne 0x40141e
push str.Corrupted_file__Exiting..._n
call fcn.00401320
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x954
ret 0x10
mov edx, dword [0x4148d8]
push edx
call fcn.00403120
mov eax, dword [0x4148d0]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
add esp, 4
xor esi, esi
cmp eax, ebx
jbe 0x4017aa
mov edx, dword [0x4148d8]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x174]
push 0xff
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
call fcn.00402d40
add esp, 0x20
cmp eax, 0xfffffff4
je 0x4014ad
cmp eax, 0xfffffff3
je 0x4014cc
lea eax, [esp + 0x164]
push str.sfx.ini
push eax
call fcn.0040cd80
add esp, 8
test eax, eax
je 0x4014eb
mov ecx, dword [0x4148d8]
push 0x4148dc
push ecx
call fcn.00403170
mov eax, dword [0x4148d0]
add esp, 8
inc esi
cmp esi, eax
jb 0x401442
jmp 0x4017aa
push str.Read_error
call fcn.00401320
add esp, 4
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x954
ret 0x10
push str.ZIP_file_format_error_
call fcn.00401320
add esp, 4
mov eax, 0xfffffff3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x954
ret 0x10
mov edx, dword [0x4148d8]
push 0x414ab4
push edx
call fcn.00403350
add esp, 8
lea eax, [esp + 0x164]
push eax
push 0x800
call ebp
mov edi, str.sfx.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x164]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4105f0
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x68]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x168]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x168]
push ecx
call fcn.004069fc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4015cf
mov eax, dword [0x4148d8]
lea edx, [esp + 0x164]
push 0x800
push edx
push eax
call fcn.004037d0
add esp, 0xc
cmp eax, ebx
jle 0x4015cf
push esi
push eax
lea ecx, [esp + 0x16c]
push 1
push ecx
call fcn.004068d2
mov eax, dword [0x4148d8]
lea edx, [esp + 0x174]
push 0x800
push edx
push eax
call fcn.004037d0
add esp, 0x1c
cmp eax, ebx
jg 0x40159f
mov ecx, dword [0x4148d8]
push ecx
call fcn.00403a10
add esp, 4
cmp esi, ebx
je 0x4017aa
push esi
call fcn.0040687c
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x64]
push edx
push 0xff
push 0x414bb4
push 0x414bb4
push str.DefaultDir
push str.Options
call esi
lea eax, [esp + 0x64]
push eax
push 0xff
push 0x414cb4
push 0x414cb4
push str.PromptDir
push str.Options
call esi
lea ecx, [esp + 0x64]
push ecx
push 0xff
push 0x414fb4
push 0x414fb4
push str.RunBefore
push str.Options
call esi
lea edx, [esp + 0x64]
push edx
push 0xff
push 0x414db4
push 0x414db4
push 0x4105c0
push str.Options
call esi
lea eax, [esp + 0x64]
push eax
push 5
push 0x4147c8
push 0x4105bc
push str.ExtractAll
push str.Options
call esi
lea ecx, [esp + 0x64]
push ecx
push 5
push 0x4147c0
push 0x4105ac
push str.DoneBox
push str.Options
call esi
lea edx, [esp + 0x64]
push edx
push 0x64
push 0x4104a4
push 0x4152ac
push str.Title
push str.Options
call esi
lea eax, [esp + 0x64]
push eax
push 0x64
push 0x410440
push str.Choose_destination_folder
push str.Caption
push str.Options
call esi
lea ecx, [esp + 0x64]
push ecx
push 0x190
push 0x4150b4
push 0x4152ac
push str.Note
push str.Options
call esi
lea edx, [esp + 0x64]
push edx
push 0xa
push 0x4147b4
push 0x41056c
push 0x41056c
push str.Options
call esi
lea eax, [esp + 0x64]
push eax
push 0xa
push 0x4147a8
push 0x410564
push 0x410564
push str.Options
call esi
lea ecx, [esp + 0x64]
push ecx
push 0xa
push 0x410508
push 0x4105ac
push str.AskOverwrite
push str.Options
call esi
lea edx, [esp + 0x64]
push edx
push 0xa
push 0x410514
push 0x4105ac
push str.Silent
push str.Options
call esi
lea eax, [esp + 0x64]
push eax
push 0xff
push 0x414eb4
push 0x4152ac
push str.Banner
push str.Options
call esi
lea ecx, [esp + 0x64]
push ecx
call fcn.0040cd6a
add esp, 4
mov al, byte [0x414eb4]
mov dword [esp + 0x10], ebx
cmp al, bl
je 0x40193c
mov eax, dword [0x4148d8]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x414eb4
push eax
call fcn.004031f0
add esp, 0x10
test eax, eax
jne 0x40193c
mov ecx, dword [0x4148d8]
push 0x414ab4
push ecx
call fcn.00403350
add esp, 8
lea edx, [esp + 0x164]
push edx
push 0x800
call ebp
or ecx, 0xffffffff
mov edi, str.sfxbanner.
xor eax, eax
lea edx, [esp + 0x164]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4105f0
mov ebp, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0x168]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x414eb4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x414eb4
mov edi, ecx
sub eax, 3
add edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x168]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x414eb4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x168]
push ecx
call fcn.004069fc
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40190d
mov eax, dword [0x4148d8]
lea edx, [esp + 0x164]
push 0x800
push edx
push eax
call fcn.004037d0
add esp, 0xc
cmp eax, ebx
jle 0x401904
push esi
push eax
lea ecx, [esp + 0x16c]
push 1
push ecx
call fcn.004068d2
mov eax, dword [0x4148d8]
lea edx, [esp + 0x174]
push 0x800
push edx
push eax
call fcn.004037d0
add esp, 0x1c
cmp eax, ebx
jg 0x4018d4
push esi
call fcn.0040687c
add esp, 4
mov ecx, dword [0x4148d8]
push ecx
call fcn.00403a10
mov edx, dword [0x4148d8]
push edx
call fcn.00402ce0
mov eax, dword [0x414ab0]
add esp, 8
push ebx
push 0x401aa0
push ebx
push 0x83
push eax
jmp 0x40195b
mov ecx, dword [0x4148d8]
push ecx
call fcn.00402ce0
mov edx, dword [0x414ab0]
add esp, 4
push ebx
push 0x401aa0
push ebx
push 0x67
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x401a89
cmp byte [0x414db4], bl
je 0x401a89
cmp byte [0x414fb4], bl
je 0x401a78
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x14]
push 0x2f
rep stosd dword es:[edi], eax
push 0x414fb4
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0x440
call fcn.004067c0
add esp, 8
test eax, eax
je 0x4019c8
push 0x2f
push 0x414fb4
call fcn.004067c0
mov dword [esp + 0x30], eax
add esp, 8
mov byte [eax - 1], bl
push 0x4147d0
push 0xff
mov byte [0x4147d0], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x4147d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + 0x4147cf], 0x5c
je 0x401a23
mov edi, 0x410534
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x4147d0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x414fb4
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], 0x4147d0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x30], 0xa
mov esi, edi
mov edx, ecx
mov edi, 0x4147d0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xa
push ebx
push ebx
push 0x414db4
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x954
ret 0x10