Function at 0x47b6c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [ebp - 0xc8], eax
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x70], xmm0
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x98], 0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
movups xmmword [ebp - 0xb8], xmm0
movups xmmword [ebp - 0xa8], xmm0
call fcn.00412ea0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x47b77a
movaps xmm0, xmmword [0x565bb0]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x72745365
mov dword [ebp - 0xc], 0x41676e69
mov byte [ebp - 8], 0
call edi
mov dword [ebx + 0x174], eax
push esi
push 0x21
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx + 0x174]
push 0
push str.config1
push str.Profile
call eax
call fcn.00412ea0
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x47b7cd
movaps xmm0, xmmword [0x565bb0]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x72745365
mov dword [ebp - 0xc], 0x41676e69
mov byte [ebp - 8], 0
call edi
mov dword [ebx + 0x174], eax
push esi
push 0x21
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x174]
push 0
push str.config2
push str.Profile
call eax
call fcn.00412ea0
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x47b820
movaps xmm0, xmmword [0x565bb0]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x72745365
mov dword [ebp - 0xc], 0x41676e69
mov byte [ebp - 8], 0
call edi
mov dword [ebx + 0x174], eax
push esi
push 0x21
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebx + 0x174]
push 0
push str.config3
push str.Profile
call eax
call fcn.00412ea0
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x47b876
movaps xmm0, xmmword [0x565bb0]
lea ecx, [ebp - 0x20]
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x72745365
mov dword [ebp - 0xc], 0x41676e69
mov byte [ebp - 8], 0
call edi
mov dword [ebx + 0x174], eax
push esi
push 0x21
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebx + 0x174]
push 0
push str.config4
push str.Profile
call eax
push esi
push 0
push str.config5
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0051362b
add esp, 8
test eax, eax
je 0x47b8ca
xor bl, bl
jmp 0x47b8fe
push dword [ebp - 0xc0]
lea eax, [ebp - 0x70]
mov bl, 1
push eax
call fcn.0051362b
add esp, 8
test eax, eax
je 0x47b8fe
push dword [ebp - 0x28]
lea eax, [ebp - 0x94]
push eax
call fcn.0051362b
xor ecx, ecx
movzx ebx, bl
add esp, 8
test eax, eax
cmovne ebx, ecx
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b904
sub ecx, edx
cmp ecx, 0x20
jne 0x47ba11
test bl, bl
je 0x47b96c
xor eax, eax
xor esi, esi
mov word [ebp - 0x24], ax
mov dword [ebp - 0xbc], eax
nop dword [eax + eax]
movsx eax, byte [ebp + esi*2 - 0x4c]
mov word [ebp - 0x28], ax
movsx eax, byte [ebp + esi*2 - 0x4b]
mov word [ebp - 0x26], ax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x28]
push 0x565708
push eax
call fcn.0047b280
mov al, byte [ebp - 0xbc]
add esp, 0xc
mov byte [esi + 0x5816b8], al
inc esi
cmp esi, 0x10
jl 0x47b930
movzx eax, byte [ebp + 0x1c]
lea edx, [ebp - 0x70]
movzx edi, byte [ebp + 0x18]
lea ecx, [edx + 1]
add edi, eax
movzx eax, byte [ebp + 0x20]
add edi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x47b982
lea esi, [ebp - 0x94]
sub edx, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x47b994
sub esi, ecx
lea ecx, [ebp - 0xb8]
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b9b0
sub ecx, dword [ebp - 0x28]
xor eax, eax
cmp eax, ecx
sbb ecx, ecx
neg ecx
cmp eax, esi
sbb eax, eax
neg eax
add ecx, eax
xor eax, eax
cmp eax, edx
sbb eax, eax
neg eax
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x28], eax
movzx eax, bl
mov ebx, dword [ebp - 0x28]
cmp edi, ebx
cmovbe ecx, eax
cmp dword [ebp - 0xc4], 0
mov al, cl
jne 0x47ba13
cmp byte [ebp + 0x20], 0
je 0x47ba13
test esi, esi
je 0x47b9fd
test edx, edx
jne 0x47ba13
mov al, cl
cmp edi, 3
je 0x47ba13
cmp edi, ebx
jb 0x47ba13
mov ecx, dword [ebp - 0xc8]
mov byte [ecx], 1
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501e95
mov esp, ebp
pop ebp
ret 0x24