Function at 0x40d8b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x437f7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x449320]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x124], eax
mov esi, ecx
mov dword [esp + 0x14], ebx
call fcn.00429b49
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [esi + 0x16c]
push str.UpateExE
push esi
mov dword [esp + 0x13c], ebx
call fcn.0041cd02
add esp, 8
test eax, eax
jne 0x40d935
lea eax, [esp + 0x10]
push eax
call fcn.00407200
add esp, 4
mov byte [esp + 0x134], 1
push eax
jmp 0x40dae9
lea eax, [esp + 0x14]
push eax
call fcn.00407200
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call fcn.00401b90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d979
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405460
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 3
call fcn.00401b90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d9c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0xc]
push 0x5c
push esi
call fcn.0041dd8f
add esp, 8
cmp eax, ebx
jne 0x40d9df
or eax, 0xffffffff
jmp 0x40d9e1
sub eax, esi
inc eax
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.00405460
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 4
call fcn.00401b90
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x14]
push eax
call fcn.00407200
push str.Config.ini
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x144], 5
call fcn.00401c00
add esp, 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x134], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40da73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x10]
push eax
call fcn.00406d50
add esp, 4
test eax, eax
je 0x40daf2
mov byte [esp + 0x18], bl
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
push 0x104
lea edx, [esp + 0x20]
push edx
push 0x439c83
stosw word es:[edi], ax
push str.Path
push 0x43c1b0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40dac3
sub eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00401a40
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x40daf2
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00401b90
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.004018a0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x134], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40db51
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
mov eax, edi
call fcn.0041c22b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4