Function at 0x47eda0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x641a9c
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x80f]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.005ff630
push 0x3ff
lea ecx, [ebp - 0x40f]
push ebx
push ecx
mov byte [ebp - 0x410], bl
call fcn.005ff630
mov dword [ebp - 0x830], ebx
push 8
mov byte [ebp - 4], 1
call fcn.005f0fe0
add esp, 0x1c
cmp eax, ebx
je 0x47f05b
mov dword [ebp - 0x830], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x830]
lea edx, [ebp - 0x830]
mov dword [eax], edx
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], ebx
mov byte [ebp - 0x82c], bl
mov esi, edx
mov byte [ebp - 4], 2
call fcn.004c4b60
push 0xd
push str.config_ad.ini
mov ecx, esi
call fcn.00412ae0
cmp dword [ebp - 0x818], 0x10
mov eax, dword [ebp - 0x82c]
jae 0x47ee82
lea eax, [ebp - 0x82c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0x6745b6
push str.interface
push str.msggateway
call esi
cmp dword [ebp - 0x818], 0x10
mov eax, dword [ebp - 0x82c]
jae 0x47eebb
lea eax, [ebp - 0x82c]
push eax
push 0x400
lea edx, [ebp - 0x410]
push edx
push 0x6745b6
push str.content
push str.msggateway
call esi
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47eee2
sub eax, edx
cmp eax, ebx
jne 0x47ef05
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47eef8
sub eax, edx
cmp eax, ebx
je 0x47ef43
sub esp, 0x20
lea eax, [ebp - 0x410]
mov ecx, esp
mov dword [ebp - 0x844], esp
push eax
call fcn.00412330
sub esp, 0x20
lea edx, [ebp - 0x810]
mov ecx, esp
mov dword [ebp - 0x848], esp
push edx
mov byte [ebp - 4], 3
call fcn.00412330
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0x18]
call fcn.00484e00
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ef50
sub eax, edx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [edi + 0x84]
call fcn.00412c10
lea eax, [ebp - 0x410]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47ef75
sub eax, edx
push eax
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [edi + 0xa4]
call fcn.00412c10
mov esi, 0x10
cmp dword [ebp - 0x818], esi
jb 0x47efad
mov edx, dword [ebp - 0x82c]
push edx
call fcn.005f0cb0
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x818], edi
mov dword [ebp - 0x81c], ebx
mov byte [ebp - 0x82c], bl
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 4
call fcn.0040ed70
mov eax, dword [ebp - 0x830]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x830], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp + 0x20], esi
jb 0x47f007
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005f0cb0
add esp, 4
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
lea ecx, [ebp + 8]
mov dword [ebp - 4], 5
call fcn.0040ed70
mov edx, dword [ebp + 8]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 0x20
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x834], ebx
call fcn.005f41f0
push 0x6a361c
lea ecx, [ebp - 0x840]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.006009e0
int3