Function at 0x45aaa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov dword [ebp - 0x634], eax
mov eax, dword [0x565b28]
push esi
push edi
mov dword [ebp - 0x628], edx
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x63c], 0x42800648
test eax, eax
je 0x45ab15
push 0x409bbc
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ab09
call eax
mov dword [ebp - 0x634], eax
mov edx, dword [ebp - 0x628]
mov ecx, dword [ebp - 0x630]
cmp dword [0x56a844], 0
je 0x45ab28
mov dword [ebp - 0x63c], 0x52800648
push 0
push edx
push 0xfb01
push ecx
push 0
push 0
push 0
push 0
push 0x54001d68
push 0
push 0x40a0f4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x14
push 0x41e
push eax
mov dword [0x56d21c], eax
call edi
push 0x56d480
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
je 0x45abd4
push 0
lea eax, [ebp - 0x210]
push eax
push 0x104
push 0
push 0x56d480
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x45abac
push 0x56d480
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call esi
mov ebx, eax
test ebx, ebx
je 0x45abd4
mov dword [ebp - 0x624], 1
jmp 0x45ac03
push 0x2000
push 0
push 0
push 0
push 0x64
push dword [ebp - 0x628]
call esi
push 0x2000
push 0
push 0
mov ebx, eax
push 0
push ebx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x654]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x501
cmp word [0x56e1ac], ax
jae 0x45ac32
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, eax
mov ecx, ebx
call fcn.00454990
mov eax, 0x51eb851f
imul dword [ebp - 0x650]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x64c]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, eax
push 0xff000000
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
push 0x430
push dword [0x56d21c]
call edi
push 0x56d240
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x45ad5e
push 0
lea eax, [ebp - 0x210]
push eax
push 0x104
push 0
push 0x56d240
push 0
call esi
test eax, eax
jne 0x45acc8
push 0x56d240
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push 0x2010
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call ebx
mov dword [ebp - 0x638], eax
test eax, eax
je 0x45ad64
lea ecx, [ebp - 0x654]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x51eb851f
imul dword [ebp - 0x650]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x64c]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, eax
push 0xff000000
push dword [ebp - 0x638]
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [ebp - 0x638]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push 0
push 0x434
push dword [0x56d21c]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathW]
jmp 0x45ad64
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
push 0x56dd00
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x45ae27
push 0
lea eax, [ebp - 0x210]
push eax
push 0x104
push 0
push 0x56dd00
push 0
call esi
test eax, eax
jne 0x45ada6
push 0x56dd00
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x2010
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x45ae27
lea eax, [ebp - 0x654]
push eax
push 0x18
push ebx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, 0x51eb851f
imul dword [ebp - 0x650]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x64c]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, eax
push 0xff000000
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push esi
push 0
push 0x436
push dword [0x56d21c]
call edi
jmp 0x45aef3
cmp dword [ebp - 0x624], 0
jne 0x45aeed
mov eax, dword [0x5674b0]
cmp eax, 1
jne 0x45ae5d
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push ecx
push 0xf
call esi
mov ebx, dword [ebp - 0x62c]
mov edx, eax
mov ecx, ebx
call fcn.00454a90
add esp, 4
jmp 0x45ae87
cmp eax, 2
je 0x45ae74
mov ecx, 0x501
cmp word [0x56e1ac], cx
jae 0x45aeed
test eax, eax
jne 0x45aeed
mov ebx, dword [ebp - 0x62c]
mov ecx, ebx
call fcn.00454b90
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
test eax, eax
je 0x45aeed
mov eax, 0x501
cmp word [0x56e1ac], ax
jae 0x45aea6
push 0xf
call esi
mov edx, eax
mov ecx, ebx
call fcn.00454990
mov eax, 0x51eb851f
imul dword [ebp - 0x650]
push 0
push 0
sar edx, 3
push 0x21
push dword [ebp - 0x64c]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov esi, eax
push 0xff000000
push ebx
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push esi
push 0
push 0x436
push dword [0x56d21c]
call edi
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x62c]
test eax, eax
je 0x45af00
push eax
call ebx
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x624], ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
push 0x565908
shr eax, 1
push eax
push ebx
push 0x40a114
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov ebx, 1
xor esi, esi
cmp byte [esi + 0x53d369], 1
je 0x45afac
push ebx
lea eax, [ebp - 0x410]
push 0x40a134
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x624]
add esp, 0xc
lea eax, [ebp - 0x610]
push 0x100
push eax
push 0x407d38
lea edx, [ebp - 0x410]
inc ebx
call fcn.004546a0
add esp, 0xc
test eax, eax
je 0x45afa5
lea eax, [ebp - 0x610]
push eax
push 0
push 0x44d
push dword [0x56d21c]
call edi
or byte [esi + 0x53d369], 0x50
mov dword [esi + 0x53d370], eax
jmp 0x45afac
and byte [esi + 0x53d369], 0xaf
add esi, 0x14
cmp esi, 0x280
jb 0x45af37
push dword [ebp - 0x624]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0x455
push dword [0x56d21c]
call edi
or eax, 8
push eax
push 0
push 0x454
push dword [0x56d21c]
call edi
push 0x53d360
push 0x18
push 0x444
push dword [0x56d21c]
call edi
sub esp, 0xc
call fcn.00455ae0
add esp, 0xc
test eax, eax
jne 0x45b01e
push 0x53d360
push 0x18
push 0x444
push dword [0x56d21c]
call edi
lea eax, [ebp - 0x620]
push eax
push 0
push 0x41d
push dword [0x56d21c]
call edi
cmp dword [0x56daa8], 0
mov eax, 0x54000000
jne 0x45b047
mov eax, 0x44000000
mov esi, dword [ebp - 0x630]
push 0xfb00
push esi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
push 0
push dword [ebp - 0x628]
mov dword [0x56a9b4], eax
push 0xfb02
push esi
push 0
push 0
push 0
push 0
push dword [ebp - 0x63c]
push 0
push 0x40a140
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebp - 0x660]
push ecx
push 0
push 0x404
push eax
mov dword [0x56a838], eax
mov dword [ebp - 0x660], 0xc
mov dword [ebp - 0x65c], 0
mov dword [ebp - 0x658], 0
call edi
mov ebx, dword [ebp - 0x634]
mov dword [ebp - 0x6b0], 0x50
mov dword [ebp - 0x6ac], 0x31
mov dword [ebp - 0x6a8], 2
test ebx, ebx
je 0x45b0f5
mov dword [ebp - 0x6a8], 6
mov eax, dword [0x56d21c]
mov dword [ebp - 0x690], eax
mov eax, dword [ebp - 0x618]
sub eax, dword [ebp - 0x620]
mov dword [ebp - 0x680], 0
shl eax, 5
mov dword [ebp - 0x68c], eax
mov eax, dword [ebp - 0x61c]
add eax, dword [ebp - 0x614]
mov dword [ebp - 0x69c], 0x40a15c
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x6b0]
push eax
push 0xffffffffffffffff
push 0x40a
push dword [0x56a838]
mov dword [ebp - 0x684], 0
call edi
push 4
push 0
push 0
push 0
push 0
push 0
push dword [0x56a838]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x620]
push eax
push dword [0x56a838]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x614]
sub eax, dword [ebp - 0x61c]
mov ecx, dword [ebp - 4]
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 2
pop edi
pop esi
mov dword [0x56dab0], ebx
xor ecx, ebp
mov dword [0x56d454], eax
pop ebx
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret