Function at 0x45fb00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x550144]
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.004f56ce
add esp, 8
test eax, eax
je 0x45fc2a
mov byte [esi], 0
jmp 0x45fe5e
push dword [ebp - 0xcc]
lea eax, [ebp - 0x30]
push eax
call fcn.004f56ce
add esp, 8
test eax, eax
je 0x45fe5e
push dword [ebp - 0xd0]
lea eax, [ebp - 0x54]
push eax
call fcn.004f56ce
add esp, 8
test eax, eax
je 0x45fe5e
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 0x45fc85
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.0044c0b0
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [eax + 0x40]
call fcn.00468fc0
mov ebx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc8]
cmp byte [ebx + 0xd], 0
jne 0x45fe85
cmp dword [ebx + 0x24], 0x10
lea ecx, [ebx + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x45fce4
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.0044fbb0
add esp, 0x10
test eax, eax
js 0x45fe85
mov eax, dword [ebp - 0xa4]
cmp ebx, dword [eax + 0x40]
je 0x45fe85
cmp edi, 0x10
jb 0x45fd46
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fd3c
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ffbd
push edi
push esi
call fcn.004de50a
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 0x45fd70
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.0044c0b0
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [eax + 0x48]
call fcn.00468fc0
mov ebx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc8]
cmp byte [ebx + 0xd], 0
jne 0x45fe30
cmp dword [ebx + 0x24], 0x10
lea ecx, [ebx + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x45fdcb
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.0044fbb0
add esp, 0x10
test eax, eax
js 0x45fe30
mov eax, dword [ebp - 0xa4]
cmp ebx, dword [eax + 0x48]
je 0x45fe30
cmp edi, 0x10
jb 0x45fe25
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fe1b
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ffbd
push edi
push esi
call fcn.004de50a
add esp, 8
mov eax, dword [ebp - 0xa8]
mov byte [eax], 1
jmp 0x45fe5e
cmp edi, 0x10
jb 0x45fe5e
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fe54
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ffbd
push edi
push esi
call fcn.004de50a
add esp, 8
lea ecx, [ebp - 0x78]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fe64
sub ecx, edx
cmp ecx, 0x20
je 0x45feab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 0x28
cmp edi, 0x10
jb 0x45fe5e
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x45fe54
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ffbd
jmp 0x45fe54
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 0x536b64
push eax
call fcn.0045f530
mov al, byte [ebp - 0xac]
add esp, 0xc
mov byte [edi + esi], al
inc esi
cmp esi, 0x10
jl 0x45fec0
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 0x45ff11
lea esi, [ebp - 0x54]
sub edx, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x45ff20
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 0x45ff38
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 0x45ff7f
test esi, esi
movzx ecx, cl
mov dword [ebp - 0xa0], 0
cmovne ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0xd4], 0
jne 0x45ffa8
test bl, bl
je 0x45ffa8
test esi, esi
je 0x45ff94
test edx, edx
jne 0x45ffa8
cmp edi, 3
je 0x45ffa8
cmp edi, eax
jb 0x45ffa8
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.004de51d
mov esp, ebp
pop ebp
ret 0x28
call fcn.004e36fa
int3