Function at 0x49cb30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4e1478], 0xffffffff
jne 0x49cddb
call fcn.0049cfc0
push 0x4f333c
push 0x4fc4b8
push 0x4f3348
lea eax, [ebp - 0x404]
push eax
call fcn.004b6e08
add esp, 0x10
lea ecx, [ebp - 0x404]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
push 0x552c4b
push 0x4f3350
push 0x4f3354
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 0x204]
cmp ecx, 0x79
je 0x49cbcb
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x204]
cmp eax, 0x59
jne 0x49cbd7
mov dword [0x4e1478], 1
jmp 0x49cbe1
mov dword [0x4e1478], 0
cmp dword [0x4e145c], 0
jne 0x49ccac
push 0x4fc4b8
call fcn.0049b260
add esp, 4
mov dword [ebp - 0x408], eax
cmp dword [0x4e1478], 1
jne 0x49cc60
cmp dword [ebp - 0x408], 2
je 0x49cc60
push 0x4fc4b8
call fcn.0049ad20
add esp, 4
test eax, eax
jne 0x49cc60
push 0x552d4f
push 0x552e4f
push 0x4f335c
push str.Illegal_USB_Drive__2_
call fcn.00458fb0
add esp, 0x10
push 0x552e58
push 0x63a
push 0x4f3378
call fcn.0042b120
add esp, 0xc
xor eax, eax
jmp 0x49cfa4
cmp dword [0x4e1478], 0
jne 0x49ccac
cmp dword [ebp - 0x408], 2
jne 0x49ccac
push 0x552e59
push 0x552e5a
push 0x4f3388
push str.Illegal_USB_Drive__3_
call fcn.00458fb0
add esp, 0x10
push 0x552e5b
push 0x640
push str.IsPathNetworked
call fcn.0042b120
add esp, 0xc
xor eax, eax
jmp 0x49cfa4
lea ecx, [ebp - 0x404]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
push 0x552e5c
push str.use_user_folder
push 0x4f33c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
push eax
call fcn.004ca5db
add esp, 4
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ebp + ecx - 0x204]
cmp edx, 0x79
jne 0x49cd02
mov dword [0x4fc6b8], 1
lea eax, [ebp - 0x404]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push 0x552e5d
push 0x4f33cc
push 0x4f33e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x204]
cmp eax, 0x79
je 0x49cd5a
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ebp + ecx - 0x204]
cmp edx, 0x59
jne 0x49cd64
mov dword [0x4f9f0c], 1
cmp dword [0x4e1478], 1
jne 0x49cddb
mov eax, dword [ebp + 8]
push eax
call fcn.0049ae80
add esp, 4
lea ecx, [ebp - 0x404]
push ecx
push 0xff
lea edx, [ebp - 0x204]
push edx
push 0x552e5e
push str.no_share
push 0x4f33f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 0x204]
cmp ecx, 0x79
je 0x49cdd1
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x204]
cmp eax, 0x59
jne 0x49cddb
mov dword [0x4fe970], 1
cmp dword [0x4e1478], 1
jne 0x49cdee
mov eax, 1
jmp 0x49cfa4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0049d140
add esp, 4
cmp eax, 1
jne 0x49ce06
xor eax, eax
jmp 0x49cfa4
push 0x4fc4b8
mov edx, dword [ebp + 8]
push edx
call fcn.004bab10
add esp, 8
test eax, eax
jne 0x49ce2e
cmp dword [0x4f9f0c], 1
jne 0x49ce2e
mov eax, 1
jmp 0x49cfa4
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
cmp edx, 0x5c
jne 0x49ce69
mov eax, dword [ebp + 8]
push eax
call fcn.0049b260
add esp, 4
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 1
jne 0x49ce67
mov dword [ebp - 0x408], 4
jmp 0x49cec0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.004b5e60
add esp, 8
mov eax, 1
imul eax, eax, 3
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0x200
jae 0x49ce98
jmp 0x49ce9d
call fcn.004b64ae
mov ecx, dword [ebp - 0x40c]
mov byte [ebp + ecx - 0x204], 0
lea edx, [ebp - 0x204]
push edx
call fcn.0049b260
add esp, 4
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 4
jne 0x49cf90
push 0x4fc4b8
mov eax, dword [ebp + 8]
push eax
call fcn.004bab10
add esp, 8
test eax, eax
jne 0x49cf90
push 0x4f3400
push 0x4fc4b8
push 0x4f340c
lea ecx, [ebp - 0x404]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x404]
push edx
call fcn.004196c0
add esp, 4
cmp eax, 1
jne 0x49cf90
lea eax, [ebp - 0x404]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push 0x552e5f
push 0x4f3414
push 0x4f342c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x204]
cmp eax, 0x79
je 0x49cf86
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ebp + ecx - 0x204]
cmp edx, 0x59
je 0x49cf86
lea eax, [ebp - 0x404]
push eax
push 0x4f3434
push str.networked_installation
push 0x4f3450
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [0x4f9f0c], 1
cmp dword [ebp - 0x408], 4
jne 0x49cfa2
mov eax, 1
jmp 0x49cfa4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret