Function at 0x417560
Capabilities:
Access peb ldr_data
Inspect load icon resource
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f68c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
push esi
push edi
push eax
mov esi, ecx
push 0x66
mov dword [esp + 0x18], esi
call fcn.004606b0
xor ebx, ebx
push 0x93
lea ecx, [esi + 0x2d8]
mov dword [esp + 0x20], ebx
mov dword [esi], 0x5044c8
mov dword [esi + 0x20c], 0x5044c4
call fcn.00454a60
mov byte [esp + 0x1c], 1
mov dword [esi + 0x354], ebx
mov dword [esi + 0x358], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004e74f6
push eax
lea ecx, [esi + 0x35c]
call fcn.0040c630
lea ecx, [esi + 0x578]
mov byte [esp + 0x1c], 2
call fcn.00467e90
lea ecx, [esi + 0x67c]
mov byte [esp + 0x1c], 3
call fcn.00410370
push esi
lea ecx, [esi + 0x6d8]
mov byte [esp + 0x20], 4
call fcn.004269e0
lea edi, [esi + 0x768]
mov ecx, edi
mov byte [esp + 0x1c], 5
call fcn.00493e40
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x774]
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.00493e40
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push 0x45
push str..BarClientViewDlg.cpp
mov byte [esp + 0x24], 7
mov dword [esi + 0x788], ebx
mov dword [esi + 0x78c], ebx
mov dword [esi + 0x790], ebx
mov dword [esi + 0x794], ebx
mov dword [esi + 0x798], ebx
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.CBarClientViewDlg::CBarClientViewDlg_Start.
push 4
call fcn.0047fc80
add esp, 8
call fcn.004f05bd
call fcn.004f05bd
mov eax, dword [eax + 0xc]
push 0x93
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
push ecx
mov dword [esi + 0x2d4], eax
call fcn.0042a900
push str.MainDlgResMainDlgSkin.ini
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x2c], 8
call fcn.00401e30
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push eax
push 0x3e8
push str.MinWidth
push str.Background
call edi
mov dword [esi + 0x780], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41772b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41774e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0xc]
push eax
call fcn.0042a900
push str.MainDlgResMainDlgSkin.ini
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x2c], 9
call fcn.00401e30
mov eax, dword [eax]
add esp, 0x10
push eax
push 0x2ee
push str.MinHeight
push str.Background
call edi
mov dword [esi + 0x784], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4177a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.004077c0
mov eax, dword [eax + 0x74]
push eax
call fcn.00401500
mov ecx, eax
call fcn.00485370
call fcn.004077c0
mov edi, dword [eax + 0x5c]
call fcn.004077c0
mov eax, dword [eax + 0x58]
push edi
push eax
call fcn.004079a0
mov ecx, eax
call fcn.004924b0
call fcn.00410910
mov ecx, eax
call fcn.00454430
call fcn.004109b0
mov edi, eax
call fcn.004077c0
add eax, 0x60
push eax
mov ecx, edi
call fcn.00417340
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x502a56
call fcn.00401fd0
mov byte [esp + 0x20], 7
call fcn.00410a50
mov ecx, eax
call fcn.00494fa0
call fcn.0044dda0
lea eax, [esp + 0xc]
push eax
call fcn.0042a900
push str.BCCfgResSkin.ini
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x2c], 0xb
call fcn.00401e30
add esp, 0x10
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x1c], 0xc
jne 0x417879
xor edi, edi
jmp 0x417889
mov edi, eax
lea edx, [edi + 1]
mov edi, edi
mov cl, byte [edi]
inc edi
cmp cl, bl
jne 0x417880
sub edi, edx
push edi
push eax
mov ecx, 0x533500
call fcn.00401880
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4178b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x58
push str..BarClientViewDlg.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.CBarClientViewDlg::LoadSkinDat.
push 4
call fcn.0047fc80
lea eax, [esp + 0x14]
push eax
call fcn.0042a900
push str.BCCfgRes
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x34], 0xd
call fcn.00401e30
add esp, 0x18
mov eax, dword [eax]
push eax
mov ecx, 0x5334f0
mov byte [esp + 0x20], 0xe
call fcn.00462390
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0xd
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417951
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x5d
push str..BarClientViewDlg.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.CBarClientViewDlg::CBarClientViewDlg_End.
push 4
call fcn.0047fc80
push ebx
call fcn.004d54f0
push eax
call fcn.004d4fa2
mov ecx, dword [esp + 0x24]
add esp, 0x10
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4