Function at 0x46d951
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x49ae78
call fcn.00497cb0
sub esp, 0x318
push ebx
push esi
mov esi, dword [sym.imp.MSVCR71.dll_atoi]
push edi
mov dword [ebp - 0x20], 1
xor ebx, ebx
mov edi, dword [ebp - 0x20]
push edi
push str.Domain
lea eax, [ebp - 0x10c]
push str._s_d
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [eax + 0x40], 0x10
jb 0x46d99f
mov eax, dword [eax + 0x2c]
jmp 0x46d9a2
add eax, 0x2c
push eax
push 0x1f4
lea eax, [ebp - 0x324]
push eax
push 0x4a4630
lea eax, [ebp - 0x10c]
push eax
push str.DOMAINS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x324], bl
je 0x46dbc5
lea eax, [ebp - 0xf8]
push eax
call fcn.00402b56
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.00483361
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 2
call fcn.0048323b
pop ecx
pop ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.004835c3
mov dword [ebp - 0x34], edi
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 1
call fcn.00402f23
cmp eax, edi
jb 0x46da56
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402f23
push 2
pop edi
cmp eax, edi
jb 0x46da7b
mov eax, dword [ebp - 0x18]
add eax, 0x24
push eax
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402f23
cmp eax, 3
jb 0x46daa2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x64], 0x10
jb 0x46da96
mov eax, dword [eax + 0x50]
jmp 0x46da99
add eax, 0x50
push eax
call esi
pop ecx
mov dword [ebp - 0x28], eax
jmp 0x46daa9
mov dword [ebp - 0x28], 0x15
lea ecx, [ebp - 0x1c]
call fcn.00402f23
cmp eax, 4
jb 0x46dacc
mov eax, dword [ebp - 0x18]
add eax, 0x6c
push eax
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xac]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402f23
cmp eax, 5
jb 0x46daf8
mov eax, dword [ebp - 0x18]
add eax, 0x90
cmp dword [eax + 0x1c], 0x10
jb 0x46daec
mov eax, dword [eax + 8]
jmp 0x46daef
add eax, 8
push eax
call esi
pop ecx
mov dword [ebp - 0x38], eax
jmp 0x46dafb
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x1c]
call fcn.00402f23
cmp eax, 6
jb 0x46db3d
mov eax, dword [ebp - 0x18]
add eax, 0xb4
cmp dword [eax + 0x1c], 0x10
jb 0x46db1b
mov eax, dword [eax + 8]
jmp 0x46db1e
add eax, 8
push eax
call esi
sub eax, ebx
pop ecx
je 0x46db3a
dec eax
je 0x46db31
dec eax
jne 0x46db3a
mov dword [ebp - 0x40], edi
jmp 0x46db3d
mov dword [ebp - 0x40], 1
jmp 0x46db3d
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x1c]
call fcn.00402f23
cmp eax, 7
jb 0x46db90
mov eax, dword [ebp - 0x18]
add eax, 0xd8
cmp dword [eax + 0x1c], 0x10
jb 0x46db5d
mov eax, dword [eax + 8]
jmp 0x46db60
add eax, 8
push eax
call esi
sub eax, ebx
pop ecx
je 0x46db86
dec eax
je 0x46db7a
dec eax
jne 0x46db86
mov dword [ebp - 0xf8], 4
jmp 0x46db90
mov dword [ebp - 0xf8], 3
jmp 0x46db90
mov dword [ebp - 0xf8], 1
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp + 8]
add eax, 0x48
call fcn.0047b86e
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004030d1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf8]
push eax
call fcn.00402bb0
jmp 0x46d973
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4