Function at 0x1001e590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x6c], 0
push 0x7f00
push 0
mov dword [ebp - 0xc], edi
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0xffffffff
mov dword [edi], eax
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 4
mov dword [ebp - 0x54], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x50], eax
mov eax, dword [0x1005dc3c]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x48], str.LogoffPane
mov dword [ebp - 0x68], 0x1001d830
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x28
push 0xc8
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp byte [0x1005dbdc], 0
mov ebx, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
jne 0x1001e66a
push 0x29c
call ebx
add esp, 4
test eax, eax
je 0x1001e65a
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x1001e66f
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x1001e66f
mov eax, dword [0x1005e0e4]
lea ecx, [ebp - 0x44]
push ecx
push 0xe
mov ecx, eax
call fcn.10033ed0
cmp byte [0x1005dbdc], 0
jne 0x1001e6c2
push 0x29c
call ebx
add esp, 4
test eax, eax
je 0x1001e6ae
mov ecx, eax
call fcn.10032660
mov esi, eax
mov dword [ebp - 8], eax
mov dword [0x1005e0e4], esi
mov byte [0x1005dbdc], 1
jmp 0x1001e6cb
xor esi, esi
mov byte [0x1005dbdc], 1
mov dword [ebp - 8], esi
mov dword [0x1005e0e4], esi
jmp 0x1001e6cb
mov esi, dword [0x1005e0e4]
mov dword [ebp - 8], esi
lea ebx, [edi + 0xc]
push ebx
lea eax, [ebp - 0x44]
push eax
push 0xe12
push 0
push 0xe
push 0
push dword [esi + 0x214]
call dword [sym.imp.UxTheme.dll_GetThemeMargins]
cmp byte [esi + 3], 0
mov dword [ebp - 0x34], eax
je 0x1001e75b
lea ecx, [ebp - 0x274]
call fcn.10032340
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x274]
push eax
push dword [ebx + 8]
push str.SearchY
push str.StartPanel.BottomBar
call edi
mov dword [ebx + 8], eax
lea eax, [ebp - 0x274]
push eax
push dword [ebx + 4]
push str.PartHeight
push str.StartPanel.BottomBar
call edi
mov esi, eax
lea eax, [ebp - 0x274]
sub esi, dword [ebx + 8]
push eax
push 0x18
push str.SearchHeight
push str.StartPanel.BottomBar
call edi
mov edi, dword [ebp - 0xc]
sub esi, eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xc], esi
mov esi, dword [ebp - 8]
test eax, eax
jne 0x1001e767
cmp dword [esi + 0x214], eax
jne 0x1001e782
mov dword [ebx], 8
mov dword [ebx + 4], 8
mov dword [ebx + 8], 8
mov dword [ebx + 0xc], 8
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
push 0
mov dword [edi + 0x34], eax
push dword [0x1005dc3c]
mov eax, dword [ecx]
push 8
call dword [eax]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0
push 0
push 0x56000000
push 0
push str.LogoffPane
push 0
call esi
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x1005dc3c]
push 0x62
push dword [edi + 4]
push 0
push 0
push 0
push 0
push 0x5600400c
push 0
push str.Button
push 0
call esi
push 0x1004fd84
push 0x1004fd84
push eax
mov dword [edi + 8], eax
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push edi
push 0
push 0x1001dbc0
push dword [edi + 8]
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
cmp byte [0x1005dbdc], 0
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x10], 0x14
jne 0x1001e86a
push 0x29c
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x1001e859
mov ecx, eax
call fcn.10032660
mov edi, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x1001e870
xor edi, edi
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x1001e870
mov edi, dword [0x1005e0e4]
mov eax, dword [edi + 0x214]
test eax, eax
je 0x1001e88f
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
push 0
push 0x17
push 0
push eax
call dword [sym.imp.UxTheme.dll_GetThemePartSize]
lea eax, [ebp - 0x30]
push eax
push 0
push 0xe11
push ecx
push 0x17
mov ecx, edi
call fcn.10033d00
mov ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sub ebx, dword [ebp - 0x24]
add eax, dword [ebp - 0x30]
sub dword [ebp - 0x14], eax
mov esi, dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], ebx
cmp byte [edi + 2], 0
je 0x1001e8d1
mov eax, dword [edi + 0x238]
push 0xc
neg eax
jmp 0x1001e903
mov eax, dword [0x1005e1fc]
test eax, eax
jne 0x1001e901
push eax
call esi
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1005e1fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1005e1fc]
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0x60
push eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp byte [edi + 2], 0
mov dword [ebp + 8], ecx
je 0x1001e928
mov eax, dword [edi + 0x238]
push 0xc
neg eax
jmp 0x1001e957
mov eax, dword [0x1005e1fc]
test eax, eax
jne 0x1001e955
push eax
call esi
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [0x1005e1fc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1005e1fc]
mov ecx, dword [ebp + 8]
push 0x60
push eax
push ecx
call ebx
mov edi, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add eax, edx
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x1607
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [edi + 0x1c]
xor esi, esi
mov dword [ebx], 0
mov eax, dword [esi + 0x1004ef68]
push ebx
call eax
add esp, 4
test eax, eax
jns 0x1001e9ab
add esi, 4
cmp esi, 0xc
jb 0x1001e993
push dword [ebp - 0x38]
mov ecx, edi
push dword [ebp - 0x3c]
call fcn.1001e1e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4