Function at 0x403650
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
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0xffffffff
mov al, byte [0x4f9220]
mov byte [ebp - 0x104], al
push 0xfe
push 0
lea ecx, [ebp - 0x103]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4f9221]
mov byte [ebp - 0x404], dl
push 0xfe
push 0
lea eax, [ebp - 0x403]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4f9222]
mov byte [ebp - 0x204], cl
push 0xfe
push 0
lea edx, [ebp - 0x203]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4f9223]
mov byte [ebp - 0x304], al
push 0xfe
push 0
lea ecx, [ebp - 0x303]
push ecx
call fcn.004b6780
add esp, 0xc
push str.Local_Internet_Records
push 1
call fcn.004417b0
add esp, 8
push 0x4d6678
push 0x4fcad8
push 0x4d6684
lea edx, [ebp - 0x104]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push 0x4f9226
push 0x4d668c
push 0x4d66a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
je 0x4037ad
mov dword [0x4f84a0], 1
lea edx, [ebp - 0x104]
push edx
push 0xff
lea eax, [ebp - 0x204]
push eax
push 0x4f9228
push 0x4d66bc
push 0x4d66cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
push 0x4f84a4
lea ecx, [ebp - 0x204]
push ecx
call fcn.0042d730
add esp, 8
lea edx, [ebp - 0x104]
push edx
push 0xff
push 0x4ed098
push 0x4f922a
push 0x4d66dc
push 0x4d66ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x104]
push eax
push 0xff
lea ecx, [ebp - 0x204]
push ecx
push 0x4f922b
push 0x4d66f4
push 0x4d6700
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x4f84ac], eax
push 0x4f84ac
lea edx, [ebp - 0x204]
push edx
call fcn.0042d730
add esp, 8
lea eax, [ebp - 0x104]
push eax
push 0xff
push 0x4f93d8
push 0x4f922c
push 0x4fe980
push 0x4d6708
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x408], eax
cmp dword [0x4e1478], 1
jne 0x40386b
push 0x4d6718
push 0x4fcad8
push 0x4d6720
push 0x4f93d8
call fcn.004b6e08
add esp, 0x10
mov ecx, 1
mov word [0x4e853c], cx
cmp dword [ebp - 0x408], 0
je 0x40391e
push 0x4d6728
push 0x5c
push 0x4f93d8
push 0x4d6740
lea edx, [ebp - 0x404]
push edx
call fcn.004b6e08
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
call fcn.004196c0
add esp, 4
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 1
jne 0x40391e
push 0
push 0xfffffc19
call fcn.0040af40
add esp, 8
mov dword [ebp - 0x408], eax
cmp dword [0x4f93c8], 0
jl 0x40391e
mov ecx, dword [0x4f93c8]
imul ecx, ecx, 0x127c
add ecx, 0x14b63c0
push ecx
push 0
call fcn.0040b8f0
add esp, 8
mov edx, dword [0x4f93c8]
imul edx, edx, 0x127c
movsx eax, word [edx + 0x14b641c]
test eax, eax
je 0x40391e
mov dword [0x4f84a8], 1
cmp dword [0x4f84ac], 1
jne 0x403947
push 0x4d5dd0
push 0x4d6758
push 0x4d6770
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b6e08
add esp, 0x10
jmp 0x4039e6
cmp dword [0x4f84a0], 1
jne 0x40397f
cmp dword [0x4f84a4], 0
jne 0x40397f
cmp dword [0x4f84a8], 1
jne 0x40397f
push 0x4d5dd0
push 0x4d67b0
push str.DynEd_Installation_Type:_s_sDual_Local_Internet_Records
mov edx, dword [ebp + 8]
push edx
call fcn.004b6e08
add esp, 0x10
jmp 0x4039e6
cmp dword [0x4f84a0], 1
jne 0x4039a5
push 0x4d5dd0
push 0x4d67fc
push str.DynEd_Installation_Type:_s_sInternet_Records
mov eax, dword [ebp + 8]
push eax
call fcn.004b6e08
add esp, 0x10
jmp 0x4039e6
cmp dword [0x4f84a8], 1
jne 0x4039cb
push 0x4d5dd0
push 0x4d684c
push str.DynEd_Installation_Type:_s_sLocal_Records
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b6e08
add esp, 0x10
jmp 0x4039e6
push 0x4d5dd0
push 0x4d687c
push str.DynEd_Installation_Type:_s_sERROR__Local_Internet_Records_Unknown
mov edx, dword [ebp + 8]
push edx
call fcn.004b6e08
add esp, 0x10
cmp dword [0x4f84a0], 1
je 0x403a01
cmp dword [0x4f84ac], 1
je 0x403a01
cmp dword [0x4f84a4], 1
jne 0x403a0d
mov dword [0x4d5da0], 1
jmp 0x403a17
mov dword [0x4d5da0], 0
cmp dword [0x4e1478], 1
jne 0x403a40
push 0x4d5dd0
push 0x4d68f0
push str._s_sStand_Alone__USB_Drive_
lea eax, [ebp - 0x304]
push eax
call fcn.004b6e08
add esp, 0x10
jmp 0x403a90
push 0x4fcad8
call fcn.0049cb30
add esp, 4
cmp eax, 1
jne 0x403a72
push 0x4d5dd0
push 0x4d6914
push str._s_sNetworked__not_Stand_Alone_
lea ecx, [ebp - 0x304]
push ecx
call fcn.004b6e08
add esp, 0x10
jmp 0x403a90
push 0x4d5dd0
push 0x4d6954
push str._s_sStand_Alone__not_Networked_
lea edx, [ebp - 0x304]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x304]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b5e70
add esp, 8
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret