Function at 0x4255b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1320
call fcn.004b6e90
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1308], 0
mov dword [ebp - 0x130c], 0
mov dword [ebp - 0x1314], 0
mov dword [ebp - 0x1320], 0
mov dword [ebp - 0x1310], 0
mov al, byte [0x4fbb3b]
mov byte [ebp - 0x404], al
push 0x1ff
push 0
lea ecx, [ebp - 0x403]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fbb3c]
mov byte [ebp - 0x904], dl
push 0x1ff
push 0
lea eax, [ebp - 0x903]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fbb3d]
mov byte [ebp - 0x1104], cl
push 0x1ff
push 0
lea edx, [ebp - 0x1103]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4fbb3e]
mov byte [ebp - 0x604], al
push 0x1ff
push 0
lea ecx, [ebp - 0x603]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fbb3f]
mov byte [ebp - 0x204], dl
push 0x1ff
push 0
lea eax, [ebp - 0x203]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fbb40]
mov byte [ebp - 0xb04], cl
push 0x1ff
push 0
lea edx, [ebp - 0xb03]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x4fbb41]
mov byte [ebp - 0xd04], al
push 0x1ff
push 0
lea ecx, [ebp - 0xd03]
push ecx
call fcn.004b6780
add esp, 0xc
call fcn.0049edc0
mov dword [ebp - 0x1314], eax
push 0x4f93d8
call fcn.0049cb30
add esp, 4
mov dword [ebp - 0x1320], eax
push 0x4df964
push 0x54efd0
call fcn.004b5ff0
add esp, 8
test eax, eax
jne 0x425732
push str.mone.tr1
push 0x4ed098
call fcn.004b5ff0
add esp, 8
test eax, eax
je 0x4257e1
push 0x4df9ac
push 0x54efd0
call fcn.004b5e60
add esp, 8
push str.http:__mone.download.dyned.com_softwareupdates_courses
push 0x4ed098
call fcn.004b5e60
add esp, 8
push str.WARNING:_Changed_from_mone.tr1_to_mone
push 1
call fcn.004417b0
add esp, 8
push 0x4dfa4c
push 0x4fcad8
push 0x4dfa7c
lea edx, [ebp - 0x604]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x604]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x604]
push ecx
push 0x54efd0
push 0x4dfaa4
push 0x4dfae0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [ebp - 0x604]
push edx
push 0x4ed098
push 0x4dfae8
push 0x4dfaf8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x604]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x4fcad8
call fcn.0049cb30
add esp, 4
cmp eax, 1
jne 0x425a5d
cmp dword [0x4e1478], 0
jne 0x425a5d
push 0x4fef80
push 0x4fcad8
push 0x4dfb90
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call fcn.004196c0
add esp, 4
cmp eax, 1
jne 0x425a5d
mov al, byte [0x4fbb43]
mov byte [ebp - 0xf04], al
push 0x1ff
push 0
lea ecx, [ebp - 0xf03]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x4fbb45]
mov byte [ebp - 0x1304], dl
push 0x1ff
push 0
lea eax, [ebp - 0x1303]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x4fbb47]
mov byte [ebp - 0x704], cl
push 0xfe
push 0
lea edx, [ebp - 0x703]
push edx
call fcn.004b6780
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
push str.WARNING:_VERSION_File_exists_on_the_server:__1___s
push 1
call fcn.004417b0
add esp, 0xc
push 0x4dfc08
push 0x4fcad8
push 0x4dfc14
lea ecx, [ebp - 0x604]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x604]
push edx
push 0x200
lea eax, [ebp - 0x904]
push eax
push 0x4fbb48
push 0x4dfc28
push 0x4dfc34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 0
je 0x425a5d
lea ecx, [ebp - 0x604]
push ecx
push 0x200
lea edx, [ebp - 0x1304]
push edx
push 0x4fbb49
push 0x4dfc50
push 0x4dfc64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
lea eax, [ebp - 0x904]
push eax
call fcn.004b98c7
add esp, 4
push eax
push 0x4dfc6c
lea ecx, [ebp - 0x704]
push ecx
call fcn.004b6e08
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
push 0x200
lea eax, [ebp - 0xf04]
push eax
push 0x4fbb4a
lea ecx, [ebp - 0x704]
push ecx
push 0x4dfc90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 0
jne 0x425a5d
lea edx, [ebp - 0x204]
push edx
push 0x4dfcc0
push 1
call fcn.004417b0
add esp, 0xc
push 0x4dfcf0
push 1
call fcn.004417b0
add esp, 8
call fcn.0041a8a0
mov dword [ebp - 0x1308], eax
lea eax, [ebp - 0x204]
push eax
push 0x200
lea ecx, [ebp - 0xf04]
push ecx
push 0x4fbb4b
lea edx, [ebp - 0x704]
push edx
push 0x4dfd3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 0
jne 0x425a5d
lea eax, [ebp - 0x204]
push eax
push str.WARNING:_VERSION_File_is_old_on_the_server:__s
lea ecx, [ebp - 0x404]
push ecx
call fcn.004b6e08
add esp, 0xc
push 0x4fbb4c
push 0x4fbb4d
push 0x4dfdd8
lea edx, [ebp - 0x404]
push edx
call fcn.00458fb0
add esp, 0x10
push 0x4fbb4e
push 0xc2d
push 0x4dfde8
call fcn.0042b120
add esp, 0xc
xor eax, eax
jmp 0x42609f
push 0x4dfe00
push 0x4fcad8
push 0x4dfe24
lea eax, [ebp - 0x604]
push eax
call fcn.004b6e08
add esp, 0x10
push 0x4fef80
push 0x4fa370
push 0x4dfe2c
lea ecx, [ebp - 0x204]
push ecx
call fcn.004b6e08
add esp, 0x10
lea edx, [ebp - 0x204]
push edx
call fcn.00419c20
add esp, 4
test eax, eax
jne 0x425abb
lea eax, [ebp - 0x204]
push eax
call fcn.00419360
add esp, 4
lea ecx, [ebp - 0x204]
push ecx
call fcn.004196c0
add esp, 4
cmp eax, 1
jne 0x425b15
lea edx, [ebp - 0x204]
push edx
push 0x200
lea eax, [ebp - 0x404]
push eax
push 0x4fbb50
push 0x4dfe58
push 0x4dfe68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 0
jne 0x425b15
lea ecx, [ebp - 0x204]
push ecx
call fcn.00419360
add esp, 4
lea edx, [ebp - 0x204]
push edx
call fcn.004196c0
add esp, 4
test eax, eax
jne 0x425ccd
push 0x4fa370
push 0x4fcad8
call fcn.004bab10
add esp, 8
test eax, eax
je 0x425b5b
push 1
push 0x4fa370
push 0x4fcad8
push 0x4fef80
call fcn.0049b320
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call fcn.004196c0
add esp, 4
test eax, eax
jne 0x425b93
mov dword [0x526bb8], 0
call fcn.0041a8a0
mov dword [ebp - 0x1308], eax
cmp dword [0x54e900], 1
jne 0x425b93
xor eax, eax
jmp 0x42609f
mov dword [ebp - 0x1310], 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.004196c0
add esp, 4
test eax, eax
jne 0x425cc0
push 0x4fcad8
call fcn.0049cb30
add esp, 4
cmp eax, 1
jne 0x425bfa
mov edx, 1
imul edx, edx, 0
mov dword [ebp - 0x131c], edx
cmp dword [ebp - 0x131c], 0x200
jae 0x425be2
jmp 0x425be7
call fcn.004b64ae
mov eax, dword [ebp - 0x131c]
mov byte [ebp + eax - 0x204], 0
jmp 0x425ccd
mov dword [ebp - 0x1310], 1
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0x4dfef0
push 0
call fcn.004766d0
add esp, 0x10
lea eax, [ebp - 0x904]
push eax
push 0x4dff14
push 0
call fcn.00475ed0
add esp, 0xc
push 0x4dff30
lea ecx, [ebp - 0x404]
push ecx
call fcn.004b5e70
add esp, 8
push 0x4dff3c
lea edx, [ebp - 0x404]
push edx
call fcn.004b5e70
add esp, 8
lea eax, [ebp - 0x904]
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.004b5e70
add esp, 8
push 0x4fbb52
push 0x4dff40
push 0x4dff50
lea edx, [ebp - 0x404]
push edx
call fcn.00458fb0
add esp, 0x10
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 2
jne 0x425cc0
push 0x4fbb54
push 0xc6f
push str.Fill_RS_Popup
call fcn.0042b120
add esp, 0xc
xor eax, eax
jmp 0x42609f
cmp dword [ebp - 0x1310], 1
je 0x425b5b
cmp dword [0x54e900], 1
jne 0x425cdd
xor eax, eax
jmp 0x42609f
lea eax, [ebp - 0x604]
push eax
push 0x200
lea ecx, [ebp - 0x1104]
push ecx
push 0x4fbb56
push 0x4dff8c
push 0x4dff98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
cmp dword [ebp - 0x1308], 0
jne 0x425d2a
mov dword [ebp - 0x1314], 1
mov dword [0x4fd0f4], 0
jmp 0x425d5a
lea edx, [ebp - 0x1104]
push edx
call fcn.004b98c7
add esp, 4
mov dword [0x4fd0f4], eax
cmp dword [0x4fd0f4], 1
jl 0x425d50
cmp dword [0x4fd0f4], 0x64
jle 0x425d5a
mov dword [0x4fd0f4], 1
push 0
push 0
push 0x14b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a0360
add esp, 0x14
mov dword [0x4fd0f8], 0
lea edx, [ebp - 0x404]
push edx
push 0x4dffb8
push 0
call fcn.00475ed0
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push 0
push 0x143
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a0360
add esp, 0x14
mov eax, dword [0x4fd0f8]
mov dword [eax*4 + 0x1360160], 0xffffffff
mov ecx, dword [0x4fd0f8]
add ecx, 1
mov dword [0x4fd0f8], ecx
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x204]
test eax, eax
jne 0x425e72
lea ecx, [ebp - 0x604]
push ecx
push 0x200
lea edx, [ebp - 0x904]
push edx
push 0x4fbb59
push 0x4dffe8
push 0x4dfff4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x904]
push eax
push 0
push 0x143
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004a0360
add esp, 0x14
lea eax, [ebp - 0x904]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0049f7c0
add esp, 0xc
mov eax, dword [0x4fd0f8]
mov dword [ebp - 0x130c], eax
mov ecx, dword [0x4fd0f8]
mov edx, dword [0x4fd0f4]
mov dword [ecx*4 + 0x1360160], edx
mov eax, dword [0x4fd0f8]
add eax, 1
mov dword [0x4fd0f8], eax
jmp 0x425e94
lea ecx, [ebp - 0x130c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.004251b0
add esp, 0x14
lea eax, [ebp - 0x130c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x604]
push ecx
call fcn.004251b0
add esp, 0x14
push 0
mov edx, dword [ebp - 0x130c]
push edx
push 0x14e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a0360
add esp, 0x14
cmp dword [ebp - 0x1314], 1
je 0x425ef8
cmp dword [0x4fd0f4], 0
je 0x425ef8
cmp dword [0x54bf18], 1
je 0x425ef8
cmp dword [0x54befc], 0
je 0x425f0c
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00487990
add esp, 0xc
jmp 0x425f30
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00487990
add esp, 0xc
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004879b0
add esp, 0xc
lea edx, [ebp - 0x404]
push edx
push 0x4dfffc
push 0
call fcn.00475ed0
add esp, 0xc
push 0x4e0010
lea eax, [ebp - 0x404]
push eax
call fcn.004b5e70
add esp, 8
lea ecx, [ebp - 0x404]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0049f7c0
add esp, 0xc
mov ecx, 1
imul ecx, ecx, 0
mov dword [ebp - 0x1318], ecx
cmp dword [ebp - 0x1318], 0x200
jae 0x425f8d
jmp 0x425f92
call fcn.004b64ae
mov edx, dword [ebp - 0x1318]
mov byte [ebp + edx - 0xb04], 0
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [ebp + eax - 0x204]
test ecx, ecx
je 0x425fe2
lea edx, [ebp - 0x204]
push edx
push 0x200
lea eax, [ebp - 0xb04]
push eax
push 0x4fbb5b
push 0x4e0014
push 0x4e0024
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
lea ecx, [ebp - 0x604]
push ecx
push 0x200
lea edx, [ebp - 0xd04]
push edx
push 0x4fbb5d
push 0x4e0034
push 0x4e0048
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1308], eax
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + 0x54f210]
test ecx, ecx
je 0x426036
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + 0x54ea80]
test eax, eax
jne 0x426053
cmp dword [0x4fd0f4], 0
je 0x426053
push 0x4e0054
lea ecx, [ebp - 0xd04]
push ecx
call fcn.004b5e60
add esp, 8
lea edx, [ebp - 0xb04]
push edx
lea eax, [ebp - 0xd04]
push eax
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x42609a
lea ecx, [ebp - 0xb04]
push ecx
call fcn.004b5f60
add esp, 4
test eax, eax
je 0x42609a
cmp dword [0x4fd0f4], 0
je 0x42609a
push 0
mov edx, dword [0x4fd0f4]
push edx
call fcn.004260b0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret