Function at 0x47a5d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe80
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe74], 0
mov dword [ebp - 0xe70], 0
mov al, byte [0x54f7e2]
mov byte [ebp - 0x614], al
push 0xfe
push 0
lea ecx, [ebp - 0x613]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x54f7e3]
mov byte [ebp - 0x114], dl
push 0xfe
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x54f7e4]
mov byte [ebp - 0x714], cl
push 0xfe
push 0
lea edx, [ebp - 0x713]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x54f7e6]
mov byte [ebp - 0xe14], al
push 0x1ff
push 0
lea ecx, [ebp - 0xe13]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x54f7e7]
mov byte [ebp - 0x514], dl
push 0xfe
push 0
lea eax, [ebp - 0x513]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x54f7e8]
mov byte [ebp - 0x314], cl
push 0xfe
push 0
lea edx, [ebp - 0x313]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x54f7e9]
mov byte [ebp - 0xb14], al
push 0x1ff
push 0
lea ecx, [ebp - 0xb13]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x54f7ea]
mov byte [ebp - 0x14], dl
xor eax, eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov cl, byte [0x54f7ec]
mov byte [ebp - 0x214], cl
push 0xfe
push 0
lea edx, [ebp - 0x213]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x54f7ee]
mov byte [ebp - 0x914], al
push 0xfe
push 0
lea ecx, [ebp - 0x913]
push ecx
call fcn.004b6780
add esp, 0xc
mov dl, byte [0x54f7f0]
mov byte [ebp - 0x814], dl
push 0xfe
push 0
lea eax, [ebp - 0x813]
push eax
call fcn.004b6780
add esp, 0xc
mov cl, byte [0x54f7f1]
mov byte [ebp - 0x414], cl
push 0xfe
push 0
lea edx, [ebp - 0x413]
push edx
call fcn.004b6780
add esp, 0xc
mov al, byte [0x54f7f2]
mov byte [ebp - 0xc14], al
push 0xfe
push 0
lea ecx, [ebp - 0xc13]
push ecx
call fcn.004b6780
add esp, 0xc
mov dword [ebp - 0xe80], 0
mov dword [ebp - 0xe7c], 0
mov dword [ebp - 0xe78], 0
cmp dword [0x54f6c4], 1
je 0x47a7d5
cmp dword [0x4f9b4c], 1
jne 0x47a7df
mov eax, 1
jmp 0x47ad27
push 0x4edc90
push 0x4fcad8
push 0x4edc9c
lea edx, [ebp - 0x314]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x314]
push eax
push 0x200
lea ecx, [ebp - 0xe14]
push ecx
push 0x54f7f4
push str.server_num
push 0x4edcc0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xe70], eax
push 0x4fef80
push 0x4fa370
push 0x4edcc8
lea edx, [ebp - 0x514]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0xe14]
push eax
call fcn.004b98c7
add esp, 4
push eax
push str.server__03d_serverchecksum
lea ecx, [ebp - 0x614]
push ecx
call fcn.004b6e08
add esp, 0xc
lea edx, [ebp - 0x514]
push edx
push 0x200
lea eax, [ebp - 0xb14]
push eax
push 0x54f7f6
lea ecx, [ebp - 0x614]
push ecx
push 0x4edd2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xe70], eax
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0xb14]
test eax, eax
jne 0x47a92e
lea ecx, [ebp - 0x514]
push ecx
push str.SSCSNULL_in__s
push 0
call fcn.004417b0
add esp, 0xc
lea edx, [ebp - 0x314]
push edx
push 0x200
lea eax, [ebp - 0xb14]
push eax
push 0x54f7f8
lea ecx, [ebp - 0x614]
push ecx
push 0x4edd78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xe70], eax
cmp dword [ebp - 0xe70], 0
jne 0x47a92e
lea edx, [ebp - 0x314]
push edx
push 0x200
lea eax, [ebp - 0xb14]
push eax
push 0x54f7f9
push str.serverchecksum
push 0x4eddb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xe70], eax
lea ecx, [ebp - 0xe6c]
push ecx
call fcn.00443a20
add esp, 4
push 0x54efd0
call fcn.004b5f60
add esp, 4
push eax
push 0x54efd0
lea edx, [ebp - 0xe6c]
push edx
call fcn.00443aa0
add esp, 0xc
push 0x4eddcc
call fcn.004b5f60
add esp, 4
push eax
push 0x4eddf0
lea eax, [ebp - 0xe6c]
push eax
call fcn.00443aa0
add esp, 0xc
push 0x54efd0
call fcn.004b5f60
add esp, 4
push eax
push 0x54efd0
lea ecx, [ebp - 0xe6c]
push ecx
call fcn.00443aa0
add esp, 0xc
push 0x4ede4c
call fcn.004b5f60
add esp, 4
push eax
push str.DeNYd
lea edx, [ebp - 0xe6c]
push edx
call fcn.00443aa0
add esp, 0xc
push 0x54ea80
call fcn.004b5f60
add esp, 4
push eax
push 0x54ea80
lea eax, [ebp - 0xe6c]
push eax
call fcn.00443aa0
add esp, 0xc
push 0x4ede88
call fcn.004b5f60
add esp, 4
push eax
push 0x4ede9c
lea ecx, [ebp - 0xe6c]
push ecx
call fcn.00443aa0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xe6c]
push eax
call fcn.00443bf0
add esp, 8
mov dword [ebp - 0xe74], 0
jmp 0x47aa37
mov ecx, dword [ebp - 0xe74]
add ecx, 1
mov dword [ebp - 0xe74], ecx
cmp dword [ebp - 0xe74], 0x10
jge 0x47aa69
mov edx, dword [ebp - 0xe74]
movzx eax, byte [ebp + edx - 0x14]
push eax
push str._02x
mov ecx, dword [ebp - 0xe74]
lea edx, [ebp + ecx*2 - 0x714]
push edx
call fcn.004b6e08
add esp, 0xc
jmp 0x47aa28
lea eax, [ebp - 0x714]
push eax
lea ecx, [ebp - 0xb14]
push ecx
call fcn.004b68e0
add esp, 8
test eax, eax
je 0x47ab10
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x714]
push ecx
lea edx, [ebp - 0xb14]
push edx
push str._s__s__s__s
push 0
call fcn.004417b0
add esp, 0x18
push 0x54efd0
push str.Corrupted_Records_Server_Settings__1_:_s
lea eax, [ebp - 0x114]
push eax
call fcn.004b6e08
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0
call fcn.004417b0
add esp, 8
push 0x54f7fd
lea edx, [ebp - 0x114]
push edx
push 0xb
push 0x1861480
call fcn.0045ed80
add esp, 0x10
lea eax, [ebp - 0x114]
push eax
call fcn.00486000
add esp, 4
mov eax, 0xfffffffd
jmp 0x47ad27
lea ecx, [ebp - 0x214]
push ecx
push 0x54efd0
call fcn.00491080
add esp, 8
mov edx, 1
imul edx, edx, 0
movsx eax, byte [ebp + edx - 0x214]
test eax, eax
jne 0x47ab88
lea ecx, [ebp - 0x414]
push ecx
push str.MSG_ProblemWithRS
push 0
call fcn.00475ed0
add esp, 0xc
lea edx, [ebp - 0xc14]
push edx
push str.MSG_DNSLookupFailure
push 0
call fcn.00475ed0
add esp, 0xc
push 0x54efd0
lea eax, [ebp - 0xc14]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str._s___s____s_
push 1
call fcn.004417b0
add esp, 0x14
jmp 0x47abcf
lea edx, [ebp - 0x214]
push edx
push str.Corrupted_Records_Server_Settings__2_:_s
lea eax, [ebp - 0x114]
push eax
call fcn.004b6e08
add esp, 0xc
push 0x4ee008
lea ecx, [ebp - 0xe14]
push ecx
call fcn.004b68e0
add esp, 8
test eax, eax
jne 0x47abcf
lea edx, [ebp - 0x214]
push edx
push 0x54efd0
call fcn.004b5e60
add esp, 8
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x914]
push ecx
call fcn.00490e00
add esp, 8
mov dword [ebp - 0xe70], eax
cmp dword [ebp - 0xe70], 0
jne 0x47ac16
mov edx, dword [ebp - 0xe70]
push edx
push str.error_returned_from_GetMyIPAddressAndMask_d
push 1
call fcn.004417b0
add esp, 0xc
mov eax, 1
jmp 0x47ad27
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x914]
push ecx
lea edx, [ebp - 0x214]
push edx
push str._s__s__s
push 1
call fcn.004417b0
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
call fcn.0042b9d0
add esp, 4
mov dword [ebp - 0xe78], eax
lea ecx, [ebp - 0x914]
push ecx
call fcn.0042b9d0
add esp, 4
mov dword [ebp - 0xe7c], eax
lea edx, [ebp - 0x814]
push edx
call fcn.0042b9d0
add esp, 4
mov dword [ebp - 0xe80], eax
mov eax, dword [ebp - 0xe7c]
and eax, dword [ebp - 0xe80]
mov dword [ebp - 0xe7c], eax
mov ecx, dword [ebp - 0xe78]
and ecx, dword [ebp - 0xe80]
mov dword [ebp - 0xe78], ecx
mov edx, dword [ebp - 0xe78]
cmp edx, dword [ebp - 0xe7c]
jne 0x47ad18
push str..corp.dyned.com
push 0x54efd0
call fcn.004b5ff0
add esp, 8
test eax, eax
jne 0x47ad18
mov eax, dword [ebp - 0xe7c]
push eax
mov ecx, dword [ebp - 0xe78]
push ecx
push str._x__x
lea edx, [ebp - 0x414]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
push 0x4ee118
push 1
call fcn.004417b0
add esp, 0xc
cmp dword [ebp - 0xe78], 0
je 0x47ad18
lea ecx, [ebp - 0x114]
push ecx
call fcn.00486000
add esp, 4
mov eax, 0xfffffffd
jmp 0x47ad27
mov dword [0x54f6c4], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret