Function at 0x411300
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x436418
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x30]
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]
movzx edi, word [eax]
neg edi
sbb edi, edi
xor ebx, ebx
and edi, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x411427
lea ecx, [esp + 0x18]
call fcn.0042fe80
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.00430630
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], ebx
je 0x4113f9
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
push edx
push eax
mov eax, dword [0x447970]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
add ecx, 0x28
call fcn.00410150
mov eax, dword [eax]
test eax, eax
je 0x4113cc
mov edx, dword [eax]
mov ebx, eax
push eax
mov eax, dword [edx + 4]
mov dword [esp + 0x34], ebx
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4113dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, ebx
je 0x4113ef
mov eax, dword [0x447970]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0xbc], eax
inc dword [0x447970]
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
mov byte [esp + 0x28], 0
cmp eax, dword [0x4444f0]
je 0x411427
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x411427
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
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 0x41152c
test edi, edi
je 0x41152c
lea ecx, [esp + 0x18]
call fcn.0042fe80
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.00430630
mov edx, dword [esp + 0x18]
cmp dword [edx - 8], 0
je 0x411503
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 0xc]
mov ecx, dword [0x447970]
push eax
push esi
push ecx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x20]
push edx
add ecx, 0x28
call fcn.00410150
mov eax, dword [eax]
cmp ebx, eax
je 0x4114d5
mov esi, ebx
mov ebx, eax
mov dword [esp + 0x30], ebx
test eax, eax
je 0x4114c9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
test esi, esi
je 0x4114d5
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4114e5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
test ebx, ebx
je 0x4114f9
mov ecx, dword [0x447970]
mov edx, dword [esp + 0x34]
mov dword [edx + 0xc0], ecx
inc dword [0x447970]
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
cmp eax, dword [0x4444f0]
je 0x41152c
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41152c
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x28], 0xffffffff
test ebx, ebx
je 0x411540
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8