Function at 0x4205c0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x270]
sub esp, 0x270
push 0xffffffffffffffff
push 0x425d19
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x430038]
xor eax, ebp
mov dword [ebp + 0x26c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x278]
xor eax, eax
mov edi, dword [ebp + 0x27c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x18]
push 0xa
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
push str.config.ini
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
call fcn.00407aa0
mov byte [ebp - 4], 2
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push edi
push eax
call fcn.0040e070
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x4206af
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4206a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4206a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
xor eax, eax
mov dword [ebp + 0x28], 0
mov word [ebp + 0x18], ax
lea eax, [ebp + 0x30]
push eax
mov dword [ebp + 0x2c], 7
call fcn.0040e380
add esp, 4
test al, al
je 0x420732
push 0x20a
lea eax, [ebp + 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x44], 8
cmovae eax, dword [ebp + 0x30]
push eax
push 0x104
lea eax, [ebp + 0x60]
push eax
push 0x427aec
push str.Version
push str.Plugin
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp + 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420716
sub ecx, edx
lea eax, [ebp + 0x60]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x48]
call fcn.00407aa0
cmp dword [ebp + 0x58], 0
jne 0x4207f8
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x427aec
mov word [esi], ax
call fcn.00407aa0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x4207a3
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420799
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x420799
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov byte [ebp - 4], al
mov edx, dword [ebp + 0x5c]
cmp edx, 8
jb 0x42088d
mov ecx, dword [ebp + 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x420883
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp]
push edi
push eax
call fcn.0040e070
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, eax
push 1
push 0x427e9c
call fcn.00407c00
push eax
mov ecx, esi
call fcn.00406d70
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x42086a
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420860
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x420860
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004212e0
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
jmp 0x420763
push edx
push ecx
call fcn.004212e0
add esp, 8
xor eax, eax
mov dword [ebp + 0x5c], 7
mov dword [ebp + 0x58], eax
mov word [ebp + 0x48], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x26c]
xor ecx, ebp
call fcn.004210a4
lea esp, [ebp + 0x270]
pop ebp
ret