Function at 0x4143b5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6cc
mov eax, dword [0x4f8004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x68c], 0
and dword [ebp - 0x694], 0
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 0x698], ebx
mov edi, 0x42800648
mov dword [ebp - 0x69c], esi
call fcn.0040f6dc
cmp dword [0x527550], 0
mov dword [ebp - 0x6a4], eax
mov eax, 0x52800648
cmovne edi, eax
mov dword [ebp - 0x6a0], edi
xor edi, edi
push edi
push ebx
push 0xfb01
push esi
push edi
push edi
push edi
push edi
push 0x54001d68
push edi
push str.ToolbarWindow32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x14
push 0x41e
push eax
mov dword [0x527320], eax
call edi
push 0x5276a0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x690], 1
test eax, eax
je 0x4144c1
xor ebx, ebx
lea eax, [ebp - 0x210]
push ebx
push eax
push 0x104
push ebx
push 0x5276a0
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x414495
push 0x5276a0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push ebx
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
call esi
mov ebx, eax
test ebx, ebx
je 0x4144bb
mov dword [ebp - 0x694], 1
xor esi, esi
jmp 0x4144e9
mov ebx, dword [ebp - 0x698]
push 0x2000
xor eax, eax
push eax
push eax
push eax
push 0x64
push ebx
call esi
push 0x2000
xor esi, esi
mov ebx, eax
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 0x68c], eax
lea eax, [ebp - 0x6bc]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x501
cmp word [0x52a5ec], ax
jae 0x414518
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov ecx, ebx
call fcn.0040f745
mov eax, dword [ebp - 0x6b8]
push esi
push esi
push 0x21
push dword [ebp - 0x6b4]
cdq
push 0x19
pop ecx
idiv ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
xor esi, esi
push esi
push 0x430
push dword [0x527320]
call edi
mov ebx, 0x52a140
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x414608
push esi
lea eax, [ebp - 0x210]
push eax
push 0x104
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x414598
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
je 0x414608
lea eax, [ebp - 0x6bc]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x6b8]
push esi
push esi
push 0x21
push dword [ebp - 0x6b4]
cdq
push 0x19
pop ecx
idiv ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
xor esi, esi
push esi
push 0x434
push dword [0x527320]
call edi
mov ebx, 0x527340
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4146a8
push esi
lea eax, [ebp - 0x210]
push eax
push 0x104
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x414644
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
je 0x4146a8
lea eax, [ebp - 0x6bc]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x6b8]
push esi
push esi
push 0x21
push dword [ebp - 0x6b4]
cdq
push 0x19
pop ecx
idiv ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x41474d
cmp dword [ebp - 0x694], 0
jne 0x41475d
mov eax, dword [0x523804]
cmp eax, 1
jne 0x4146da
push ecx
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [ebp - 0x68c]
mov edx, eax
mov ecx, ebx
call fcn.0040f836
pop ecx
jmp 0x4146fe
cmp eax, 2
je 0x4146f1
mov ecx, 0x501
cmp word [0x52a5ec], cx
jae 0x41475d
test eax, eax
jne 0x41475d
mov ebx, dword [ebp - 0x68c]
mov ecx, ebx
call fcn.0040f91d
test eax, eax
je 0x41475d
mov eax, 0x501
cmp word [0x52a5ec], ax
jae 0x414721
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov ecx, ebx
call fcn.0040f745
mov eax, dword [ebp - 0x6b8]
push esi
push esi
push 0x21
push dword [ebp - 0x6b4]
cdq
push 0x19
pop ecx
idiv ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push esi
push 0
push 0x436
push dword [0x527320]
call edi
mov eax, dword [ebp - 0x68c]
test eax, eax
je 0x41476e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
push 0x522d98
shr eax, 1
push eax
push ebx
push str.Toolbar_Labels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor esi, esi
cmp byte [esi + 0x4fa139], 1
je 0x414815
push dword [ebp - 0x690]
lea eax, [ebp - 0x410]
push str._02i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x610]
inc dword [ebp - 0x690]
lea edx, [ebp - 0x410]
mov ecx, ebx
push 0x100
push eax
push 0x4bc498
call fcn.0040f575
add esp, 0xc
test eax, eax
je 0x41480e
lea eax, [ebp - 0x610]
push eax
push 0
push 0x44d
push dword [0x527320]
call edi
or byte [esi + 0x4fa139], 0x50
mov dword [esi + 0x4fa140], eax
jmp 0x414815
and byte [esi + 0x4fa139], 0xaf
add esi, 0x14
cmp esi, 0x280
jb 0x41479a
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
push ebx
push ebx
push 0x455
push dword [0x527320]
call edi
or eax, 8
push eax
push ebx
push 0x454
push dword [0x527320]
call edi
mov esi, 0x4fa130
push esi
push 0x18
push 0x444
push dword [0x527320]
call edi
sub esp, 0xc
call fcn.00410642
add esp, 0xc
test eax, eax
jne 0x414882
push esi
push 0x18
push 0x444
push dword [0x527320]
call edi
lea eax, [ebp - 0x620]
push eax
push ebx
push 0x41d
push dword [0x527320]
call edi
cmp dword [0x5278ec], ebx
mov ecx, 0x54000000
mov esi, dword [ebp - 0x69c]
mov eax, 0x44000000
push 0xfb00
push esi
cmovne eax, ecx
push ebx
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
push ebx
push dword [ebp - 0x698]
mov dword [0x526ce4], eax
push 0xfb02
push esi
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x6a0]
push ebx
push str.ReBarWindow32
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebp - 0x6c8]
mov dword [0x527680], eax
push ecx
push ebx
push 0x404
push eax
mov dword [ebp - 0x6c8], 0xc
mov dword [ebp - 0x6c4], ebx
mov dword [ebp - 0x6c0], ebx
call edi
mov esi, dword [ebp - 0x6a4]
test esi, esi
push 2
pop ebx
push 6
pop ecx
mov eax, ebx
mov dword [ebp - 0x688], 0x64
cmovne eax, ecx
mov dword [ebp - 0x684], 0x31
mov dword [ebp - 0x680], eax
mov eax, dword [0x527320]
and dword [ebp - 0x658], 0
and dword [ebp - 0x65c], 0
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x618]
sub eax, dword [ebp - 0x620]
shl eax, 5
mov dword [ebp - 0x664], eax
mov eax, dword [ebp - 0x61c]
add eax, dword [ebp - 0x614]
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x688]
push eax
push 0xffffffffffffffff
push 0x40a
push dword [0x527680]
mov dword [ebp - 0x674], str.Toolbar
call edi
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [0x527680]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x620]
push eax
push dword [0x527680]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x614]
sub eax, dword [ebp - 0x61c]
mov ecx, dword [ebp - 4]
mov dword [0x5278e8], eax
xor eax, eax
test esi, esi
pop edi
cmovne ebx, eax
xor ecx, ebp
pop esi
mov dword [0x5278bc], ebx
pop ebx
call fcn.00486c63
leave
ret