Function at 0x41edd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c0
mov eax, dword [0x633754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x42800648
mov dword [ebp - 0x694], edi
mov dword [ebp - 0x690], ebx
mov dword [ebp - 0x688], 0
mov dword [ebp - 0x684], 0
call fcn.00414200
cmp dword [0x63c738], 0
push 0
push ebx
push 0xfb01
push edi
push 0
push 0
push 0
push 0
push 0x54001d68
push 0
mov dword [ebp - 0x69c], eax
mov eax, 0x52800648
push str.ToolbarWindow32
cmovne esi, eax
push 0
mov dword [ebp - 0x698], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push eax
mov dword [0x640180], eax
call ebx
push 0x63cc80
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x41eedd
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0
push 0x63cc80
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x41eeb5
push 0x63cc80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call esi
mov edi, eax
test edi, edi
je 0x41eedd
mov dword [ebp - 0x684], 1
jmp 0x41ef0c
push 0x2000
push 0
push 0
push 0
push 0x64
push dword [ebp - 0x690]
call esi
push 0x2000
push 0
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x6b4]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x501
cmp word [0x640190], ax
jae 0x41ef3c
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push edi
call fcn.004142e0
add esp, 8
mov eax, 0x51eb851f
imul dword [ebp - 0x6b0]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x6ac]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push edi
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
push 0x430
push dword [0x640180]
call ebx
push 0x63ca60
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x41f068
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0
push 0x63ca60
push 0
call esi
test eax, eax
jne 0x41efd2
push 0x63ca60
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
lea eax, [ebp - 0x20c]
push 0x2010
push 0
push 0
push 0
push eax
push 0
call edi
mov dword [ebp - 0x68c], eax
test eax, eax
je 0x41f06e
lea ecx, [ebp - 0x6b4]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x51eb851f
imul dword [ebp - 0x6b0]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x6ac]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
push dword [ebp - 0x68c]
mov esi, eax
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [ebp - 0x68c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
push 0x434
push dword [0x640180]
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathW]
jmp 0x41f06e
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0x63c840
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41f131
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0
push 0x63c840
push 0
call esi
test eax, eax
jne 0x41f0b0
push 0x63c840
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
call edi
mov edi, eax
test edi, edi
je 0x41f131
lea eax, [ebp - 0x6b4]
push eax
push 0x18
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x51eb851f
imul dword [ebp - 0x6b0]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x6ac]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push edi
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push esi
push 0
push 0x436
push dword [0x640180]
call ebx
jmp 0x41f203
cmp dword [ebp - 0x684], 0
jne 0x41f1fd
mov eax, dword [0x639458]
cmp eax, 1
jne 0x41f166
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x60
push 0xf
call esi
mov edi, dword [ebp - 0x688]
push eax
push edi
call fcn.004143e0
add esp, 0xc
jmp 0x41f196
cmp eax, 2
je 0x41f181
mov ecx, 0x501
cmp word [0x640190], cx
jae 0x41f1fd
test eax, eax
jne 0x41f1fd
mov edi, dword [ebp - 0x688]
push edi
call fcn.004144d0
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
add esp, 4
test eax, eax
je 0x41f1fd
mov eax, 0x501
cmp word [0x640190], ax
jae 0x41f1b6
push 0xf
call esi
push eax
push edi
call fcn.004142e0
add esp, 8
mov eax, 0x51eb851f
imul dword [ebp - 0x6b0]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x6ac]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0xff000000
mov esi, eax
push edi
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push esi
push 0
push 0x436
push dword [0x640180]
call ebx
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x688]
test eax, eax
je 0x41f210
push eax
call edi
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
mov dword [ebp - 0x684], esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push 0x637260
shr eax, 1
push eax
push esi
push str.Toolbar_Labels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov edi, 1
xor esi, esi
cmp byte [esi + 0x5df4f9], 1
je 0x41f2ba
push edi
lea eax, [ebp - 0x40c]
push 0x5df8f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x100
lea eax, [ebp - 0x60c]
inc edi
push eax
push 0x6394b8
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x684]
call fcn.00413fc0
add esp, 0x20
test eax, eax
je 0x41f2b3
lea eax, [ebp - 0x60c]
push eax
push 0
push 0x44d
push dword [0x640180]
call ebx
or byte [esi + 0x5df4f9], 0x50
mov dword [esi + 0x5df500], eax
jmp 0x41f2ba
and byte [esi + 0x5df4f9], 0xaf
add esi, 0x14
cmp esi, 0x280
jb 0x41f247
push dword [ebp - 0x684]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0x455
push dword [0x640180]
call ebx
or eax, 8
push eax
push 0
push 0x454
push dword [0x640180]
call ebx
push 0x5df4f0
push 0x18
push 0x444
push dword [0x640180]
call ebx
push 0x20
push 0x5df4f0
push 0x63cea0
push 0x9efc
push dword [0x640180]
call fcn.00415420
add esp, 0x14
test eax, eax
jne 0x41f340
push 0x5df4f0
push 0x18
push 0x444
push dword [0x640180]
call ebx
lea eax, [ebp - 0x61c]
push eax
push 0
push 0x41d
push dword [0x640180]
call ebx
cmp dword [0x63c734], 0
mov ecx, 0x54000000
mov esi, dword [ebp - 0x694]
mov eax, 0x44000000
push 0xfb00
push esi
cmovne eax, ecx
push 0
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
push 0
push dword [ebp - 0x690]
mov dword [0x640184], eax
push 0xfb02
push esi
push 0
push 0
push 0
push 0
push dword [ebp - 0x698]
push 0
push str.ReBarWindow32
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebp - 0x6c0]
mov dword [0x64017c], eax
push ecx
push 0
push 0x404
push eax
mov dword [ebp - 0x6c0], 0xc
mov dword [ebp - 0x6bc], 0
mov dword [ebp - 0x6b8], 0
call ebx
mov esi, dword [ebp - 0x69c]
mov ecx, 6
test esi, esi
mov dword [ebp - 0x680], 0x64
mov eax, 2
mov dword [ebp - 0x67c], 0x31
cmovne eax, ecx
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x678], eax
mov eax, dword [0x640180]
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x614]
sub eax, dword [ebp - 0x61c]
shl eax, 5
mov dword [ebp - 0x65c], eax
mov eax, dword [ebp - 0x618]
add eax, dword [ebp - 0x610]
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x680]
push eax
push 0xffffffffffffffff
push 0x40a
push dword [0x64017c]
mov dword [ebp - 0x66c], str.Toolbar
mov dword [ebp - 0x654], 0
call ebx
push 4
push 0
push 0
push 0
push 0
push 0
push dword [0x64017c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x61c]
push eax
push dword [0x64017c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x610]
sub eax, dword [ebp - 0x618]
mov dword [0x63c6fc], eax
xor ecx, ecx
mov eax, 2
test esi, esi
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov dword [0x63c6f8], eax
pop ebx
call fcn.0052a352
mov esp, ebp
pop ebp
ret