Function at 0x4179b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x9b0
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0x9ac], eax
mov eax, dword [esp + 0x9b8]
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], str.Mass_Storage
je 0x4179ed
mov dword [esp + 0x18], eax
xor eax, eax
cmp byte [esp + 0x9c4], bl
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x4e8], bl
mov dword [esp + 0x4e9], eax
mov dword [esp + 0x4ed], eax
mov dword [esp + 0x4f1], eax
mov word [esp + 0x4f5], ax
mov byte [esp + 0x4f7], al
je 0x417a49
cmp ecx, ebx
je 0x417b35
cmp edx, ebx
je 0x417b35
push edx
push ecx
lea eax, [esp + 0x4f0]
push eax
call fcn.0043dca0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x10
lea ecx, [esp + 0x30]
call fcn.00421280
add esp, 8
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
jle 0x417e51
lea ebp, [esp + 0x30]
mov edi, edi
mov edx, dword [esp + 0x9cc]
cmp dword [ebp + 0x40], edx
jne 0x417d78
xor eax, eax
mov dword [esp + 0x4f9], eax
mov dword [esp + 0x4fd], eax
mov dword [esp + 0x501], eax
mov dword [esp + 0x505], eax
mov dword [esp + 0x509], eax
mov dword [esp + 0x50d], eax
mov dword [esp + 0x511], eax
mov word [esp + 0x515], ax
mov byte [esp + 0x517], al
mov eax, ebp
mov byte [esp + 0x4f8], bl
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x417ad0
lea edi, [esp + 0x4f8]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x417ae7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebp
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x417b04
sub eax, edx
je 0x417b3c
lea edi, [esp + 0x4f8]
add edi, 0xffffffff
jmp 0x417b20
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x417b20
mov ax, word [0x44cea8]
mov word [edi], ax
jmp 0x417b70
xor eax, eax
jmp 0x417e55
mov esi, dword [esp + 0x20]
cmp byte [esi], 0x20
jne 0x417b70
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x417b50
mov ecx, dword [esp + 0x18]
sub eax, edx
add eax, 0xffffffff
push eax
add esi, 1
push esi
push ecx
call fcn.0043dca0
add esp, 0xc
lea eax, [ebp + 0x20]
mov edx, eax
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x417b75
lea edi, [esp + 0x4f8]
sub eax, edx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x417b90
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x4f8]
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x417bb4
sub eax, edx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x4fc]
push edx
push eax
call fcn.004317b3
add esp, 0xc
test eax, eax
jne 0x417bf7
lea eax, [esp + 0x4f8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x417be3
sub eax, edx
cmp eax, 1
ja 0x417d95
mov ecx, dword [str.A:InstallPackageD]
mov edx, dword [0x4507a0]
mov eax, dword [0x4507a4]
mov dword [esp + 0x518], ecx
mov ecx, dword [0x4507a8]
push 0xf2
mov dword [esp + 0x528], ecx
mov dword [esp + 0x520], edx
mov dx, word [0x4507ac]
mov dword [esp + 0x524], eax
mov al, byte [0x4507ae]
lea ecx, [esp + 0x52f]
push ebx
push ecx
mov word [esp + 0x534], dx
mov byte [esp + 0x536], al
call fcn.00433570
movzx eax, word [0x4507b4]
mov edx, dword [str.Magic]
push 0xff
lea ecx, [esp + 0x8c6]
push ebx
push ecx
mov dword [esp + 0x8c8], edx
mov word [esp + 0x8cc], ax
call fcn.00433570
mov edx, dword [str.STRING]
movzx eax, word [0x4507bc]
mov cl, byte [0x4507be]
push 0xfe
mov dword [esp + 0x6bc], edx
lea edx, [esp + 0x6c3]
push ebx
push edx
mov word [esp + 0x6c8], ax
mov byte [esp + 0x6ca], cl
call fcn.00433570
push 0x7f
lea eax, [esp + 0x649]
push ebx
push eax
mov byte [esp + 0x650], bl
call fcn.00433570
mov ecx, 8
mov esi, str.su7993cka91nedc70xlampdqax862318x
lea edi, [esp + 0x7d8]
rep movsd dword es:[edi], dword [esi]
push 0xe3
lea ecx, [esp + 0x7fe]
push ebx
push ecx
movsw word es:[edi], word [esi]
call fcn.00433570
mov dl, byte [ebp - 8]
add esp, 0x3c
lea eax, [esp + 0x518]
push eax
push 0x80
lea ecx, [esp + 0x628]
push ecx
mov byte [esp + 0x524], dl
push 0x45029b
lea edx, [esp + 0x6b0]
push edx
lea eax, [esp + 0x8c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x417d78
lea eax, [esp + 0x7a8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x417d50
sub eax, edx
push eax
lea ecx, [esp + 0x7ac]
push ecx
lea edx, [esp + 0x628]
push edx
call fcn.004317b3
add esp, 0xc
test eax, eax
je 0x417d95
mov eax, dword [esp + 0x14]
add eax, 1
add ebp, 0x4c
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jl 0x417a70
jmp 0x417e51
push 0x54
call fcn.0042501f
add esp, 4
cmp eax, ebx
je 0x417dc5
mov ecx, dword [esp + 0x14]
imul ecx, ecx, 0x4c
lea esi, [esp + ecx + 0x28]
mov ecx, 0x13
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x4c], 0xffffffff
mov byte [eax + 0x50], bl
mov esi, eax
jmp 0x417dc7
xor esi, esi
cmp byte [esp + 0x9c4], bl
je 0x417e37
call fcn.00421470
test al, al
jne 0x417df3
mov eax, dword [0x45b820]
cmp eax, ebx
mov dword [0x45b810], 0x4507e4
je 0x417e24
push str.Fail_to_connect_disk_
jmp 0x417e1d
push 0x10
lea edi, [esp + 0x4ec]
call fcn.00421520
test al, al
jne 0x417e28
mov eax, dword [0x45b820]
cmp eax, ebx
mov dword [0x45b810], 0x4507fc
je 0x417e24
push str.Fail_to_do_shift_device_
push 3
call eax
add esp, 8
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x50], bl
jmp 0x417e44
push esi
call fcn.00421620
movzx ecx, al
mov dword [esp + 0x10], ecx
cmp esi, ebx
je 0x417e51
push esi
call fcn.0042504a
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fb8f
add esp, 0x9b0
ret