Function at 0x45f9d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x28]
push edi
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x2c]
push 0x21
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x78]
push eax
push 0
push str.config1
push str.Profile
mov byte [ebp - 0xb0], 1
movups xmmword [ebp - 0x78], xmm0
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x9c], xmm0
movups xmmword [ebp - 0x8c], xmm0
call esi
push edi
push 0x21
lea eax, [ebp - 0x30]
push eax
push 0
push str.config2
push str.Profile
call esi
push edi
push 0x21
lea eax, [ebp - 0x54]
push eax
push 0
push str.config3
push str.Profile
call esi
push edi
push 0x21
lea eax, [ebp - 0x9c]
push eax
push 0
push str.config4
push str.Profile
call esi
push edi
push 0
push str.config5
push str.Profile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x9c]
push ebx
push eax
mov byte [esi], 1
call fcn.004f1f0e
add esp, 8
test eax, eax
je 0x45fafa
mov byte [esi], 0
jmp 0x45fd2e
push dword [ebp - 0xcc]
lea eax, [ebp - 0x30]
push eax
call fcn.004f1f0e
add esp, 8
test eax, eax
je 0x45fd2e
push dword [ebp - 0xd0]
lea eax, [ebp - 0x54]
push eax
call fcn.004f1f0e
add esp, 8
test eax, eax
je 0x45fd2e
lea ecx, [ebp - 0x30]
mov byte [esi], 0
mov dword [ebp - 0xc8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fb55
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.0044c030
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [eax + 0x40]
call fcn.00468ea0
mov ebx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc8]
cmp byte [ebx + 0xd], 0
jne 0x45fd55
cmp dword [ebx + 0x24], 0x10
lea ecx, [ebx + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x45fbb4
mov ecx, dword [ecx]
push edx
push ecx
push dword [ebp - 0xb8]
cmp edi, 0x10
lea eax, [ebp - 0xc8]
cmovae eax, esi
push eax
call fcn.0044fa70
add esp, 0x10
test eax, eax
js 0x45fd55
mov eax, dword [ebp - 0xa4]
cmp ebx, dword [eax + 0x40]
je 0x45fd55
cmp edi, 0x10
jb 0x45fc16
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fc0c
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe8d
push edi
push esi
call fcn.004dafca
add esp, 8
lea ecx, [ebp - 0x54]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xb8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0xb4], 0xf
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fc40
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.0044c030
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [eax + 0x48]
call fcn.00468ea0
mov ebx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc8]
cmp byte [ebx + 0xd], 0
jne 0x45fd00
cmp dword [ebx + 0x24], 0x10
lea ecx, [ebx + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x45fc9b
mov ecx, dword [ecx]
push edx
push ecx
push dword [ebp - 0xb8]
cmp edi, 0x10
lea eax, [ebp - 0xc8]
cmovae eax, esi
push eax
call fcn.0044fa70
add esp, 0x10
test eax, eax
js 0x45fd00
mov eax, dword [ebp - 0xa4]
cmp ebx, dword [eax + 0x48]
je 0x45fd00
cmp edi, 0x10
jb 0x45fcf5
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fceb
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe8d
push edi
push esi
call fcn.004dafca
add esp, 8
mov eax, dword [ebp - 0xa8]
mov byte [eax], 1
jmp 0x45fd2e
cmp edi, 0x10
jb 0x45fd2e
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fd24
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe8d
push edi
push esi
call fcn.004dafca
add esp, 8
lea ecx, [ebp - 0x78]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fd34
sub ecx, edx
cmp ecx, 0x20
je 0x45fd7b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 0x28
cmp edi, 0x10
jb 0x45fd2e
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fd24
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe8d
jmp 0x45fd24
mov edi, dword [ebp - 0xa0]
xor eax, eax
mov word [ebp - 8], ax
xor esi, esi
mov dword [ebp - 0xac], eax
nop
movsx eax, byte [ebp + esi*2 - 0x78]
mov word [ebp - 0xc], ax
movsx eax, byte [ebp + esi*2 - 0x77]
mov word [ebp - 0xa], ax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xc]
push 0x5329d4
push eax
call fcn.0045f400
mov al, byte [ebp - 0xac]
add esp, 0xc
mov byte [edi + esi], al
inc esi
cmp esi, 0x10
jl 0x45fd90
movzx eax, byte [ebp + 0x1c]
lea edx, [ebp - 0x30]
movzx edi, byte [ebp + 0x18]
lea ecx, [edx + 1]
mov bl, byte [ebp + 0x20]
add edi, eax
movzx eax, bl
add edi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x45fde1
lea esi, [ebp - 0x54]
sub edx, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45fdf0
sub esi, ecx
lea ecx, [ebp - 0x9c]
lea eax, [ecx + 1]
mov dword [ebp - 0xa0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fe08
sub ecx, dword [ebp - 0xa0]
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
mov ecx, dword [ebp - 0xb0]
cmp edi, eax
jbe 0x45fe4f
test esi, esi
movzx ecx, cl
mov dword [ebp - 0xa0], 0
cmovne ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0xd4], 0
jne 0x45fe78
test bl, bl
je 0x45fe78
test esi, esi
je 0x45fe64
test edx, edx
jne 0x45fe78
cmp edi, 3
je 0x45fe78
cmp edi, eax
jb 0x45fe78
mov eax, dword [ebp - 0xd8]
xor cl, cl
mov byte [eax], 1
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 0x28
call fcn.004e002c
int3