Function at 0x403ba0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x14c]
sub esp, 0x14c
push 0xffffffffffffffff
push 0x524201
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x58a87c]
xor eax, ebp
mov dword [ebp + 0x148], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x154]
xor eax, eax
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
push 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
push str.1.0.0.0
mov word [esi], ax
call fcn.00407120
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x30]
push 0xa
xor eax, eax
mov dword [ebp - 0x10], 1
push str.config.ini
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
call fcn.00407120
lea eax, [ebp + 0x30]
mov dword [ebp - 4], 1
push eax
lea eax, [ebx + 0x64]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.004179c0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x403c9d
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403c93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e1f
push edx
push ecx
call fcn.004ef177
add esp, 8
lea eax, [ebp + 0x18]
push eax
call fcn.00413940
add esp, 4
test al, al
je 0x403dc2
push 0x100
lea eax, [ebp + 0x48]
push 0
push eax
call fcn.004f1ee0
mov eax, dword [ebx]
lea ecx, [ebp]
add esp, 0xc
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x30]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
cmp dword [ebp + 0x2c], 8
lea edx, [ebp + 0x18]
mov ecx, esi
cmovae edx, dword [ebp + 0x18]
cmp dword [esi + 0x14], 8
jb 0x403cf5
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x403cfd
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x403d05
mov eax, dword [eax]
push edx
push 0x7f
lea edx, [ebp + 0x48]
push edx
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp + 0x44]
cmp edx, 8
jb 0x403d4f
mov ecx, dword [ebp + 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e24
push edx
push ecx
call fcn.004ef177
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
cmp edx, 8
jb 0x403da1
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403d97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e29
push edx
push ecx
call fcn.004ef177
add esp, 8
lea ecx, [ebp + 0x48]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403da7
sub ecx, edx
lea eax, [ebp + 0x48]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407120
mov edx, dword [ebp + 0x2c]
cmp edx, 8
jb 0x403df8
mov ecx, dword [ebp + 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403dee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403e2e
push edx
push ecx
call fcn.004ef177
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x148]
xor ecx, ebp
call fcn.004ef136
lea esp, [ebp + 0x14c]
pop ebp
ret 4
call fcn.004f3de9
call fcn.004f3de9
call fcn.004f3de9
call fcn.004f3de9
int3