Function at 0x46d342
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x49abf8
call fcn.00497a30
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 0x46d390
mov eax, dword [eax + 0x2c]
jmp 0x46d393
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 0x46d5b6
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.00483141
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x130]
push eax
mov byte [ebp - 4], 2
call fcn.0048301b
pop ecx
pop ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 1
call fcn.004833a3
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.00402ee5
cmp eax, edi
jb 0x46d447
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402ee5
push 2
pop edi
cmp eax, edi
jb 0x46d46c
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.00402ee5
cmp eax, 3
jb 0x46d493
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x64], 0x10
jb 0x46d487
mov eax, dword [eax + 0x50]
jmp 0x46d48a
add eax, 0x50
push eax
call esi
pop ecx
mov dword [ebp - 0x28], eax
jmp 0x46d49a
mov dword [ebp - 0x28], 0x15
lea ecx, [ebp - 0x1c]
call fcn.00402ee5
cmp eax, 4
jb 0x46d4bd
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.00402ee5
cmp eax, 5
jb 0x46d4e9
mov eax, dword [ebp - 0x18]
add eax, 0x90
cmp dword [eax + 0x1c], 0x10
jb 0x46d4dd
mov eax, dword [eax + 8]
jmp 0x46d4e0
add eax, 8
push eax
call esi
pop ecx
mov dword [ebp - 0x38], eax
jmp 0x46d4ec
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x1c]
call fcn.00402ee5
cmp eax, 6
jb 0x46d52e
mov eax, dword [ebp - 0x18]
add eax, 0xb4
cmp dword [eax + 0x1c], 0x10
jb 0x46d50c
mov eax, dword [eax + 8]
jmp 0x46d50f
add eax, 8
push eax
call esi
sub eax, ebx
pop ecx
je 0x46d52b
dec eax
je 0x46d522
dec eax
jne 0x46d52b
mov dword [ebp - 0x40], edi
jmp 0x46d52e
mov dword [ebp - 0x40], 1
jmp 0x46d52e
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x1c]
call fcn.00402ee5
cmp eax, 7
jb 0x46d581
mov eax, dword [ebp - 0x18]
add eax, 0xd8
cmp dword [eax + 0x1c], 0x10
jb 0x46d54e
mov eax, dword [eax + 8]
jmp 0x46d551
add eax, 8
push eax
call esi
sub eax, ebx
pop ecx
je 0x46d577
dec eax
je 0x46d56b
dec eax
jne 0x46d577
mov dword [ebp - 0xf8], 4
jmp 0x46d581
mov dword [ebp - 0xf8], 3
jmp 0x46d581
mov dword [ebp - 0xf8], 1
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp + 8]
add eax, 0x48
call fcn.0047b25f
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00403093
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xf8]
push eax
call fcn.00402bb0
jmp 0x46d364
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4