Function at 0x40ecd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a0b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
push edi
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push str.SmallLogo
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
mov di, word [eax]
neg di
sbb edi, edi
and edi, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp edi, eax
mov dword [esp + 0x24], eax
je 0x40edc8
lea ecx, [esp + 0x14]
call fcn.00433a70
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00433a90
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x40edba
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push edx
push eax
mov eax, dword [0x4b8164]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [ebp + 0x1c]
add ecx, 0x28
call fcn.0040a800
mov edx, dword [eax]
lea ecx, [esp + 0x2c]
push edx
call fcn.0040aea0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ed9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40edb4
mov eax, dword [esp + 0x30]
mov edx, dword [0x4b8164]
mov dword [eax + 0xac], edx
inc dword [0x4b8164]
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.0040c0e0
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push str.BigLogo
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, dword [esi + 0xc]
cmp word [edi], 0
je 0x40eed8
test edi, edi
je 0x40eed8
lea ecx, [esp + 0x14]
call fcn.00433a70
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.00433a90
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x40eeae
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov esi, dword [esi + 0xc]
mov ecx, dword [0x4b8164]
push eax
push esi
push ecx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
add ecx, 0x28
call fcn.0040a800
mov eax, dword [eax]
mov esi, dword [esp + 0x2c]
cmp esi, eax
mov byte [esp + 0x24], 3
je 0x40ee74
test eax, eax
mov dword [esp + 0x2c], eax
je 0x40ee6a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
test esi, esi
je 0x40ee74
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], 2
test eax, eax
je 0x40ee87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40ee9f
mov eax, dword [esp + 0x30]
mov edx, dword [0x4b8164]
mov dword [eax + 0xb0], edx
mov eax, dword [0x4b8164]
mov edx, dword [esp + 0x14]
inc eax
mov dword [0x4b8164], eax
mov eax, dword [0x4b7084]
lea ecx, [edx - 0xc]
cmp ecx, eax
je 0x40eed8
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40eed8
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.00437568
add esp, 4
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x18], 0xffffffff
pop ebx
je 0x40eef2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x18
ret 8