Function at 0x41fc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa8
push esi
mov esi, dword [esp + 0xb0]
test esi, esi
push edi
mov edi, ecx
je 0x420256
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x420256
mov ecx, dword [edi + 0x1548]
push ebx
push ebp
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CEncircleBMP::GetEncircleInfo_struct_tagEncircleInfo__]
lea edx, [esp + 0x60]
push edx
lea ecx, [edi + 0x208c]
call ebx
lea eax, [esp + 0x80]
push eax
lea ecx, [edi + 0x2054]
call ebx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 0x20c4]
call ebx
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call sub.MFC71U.DLL_CPreviewDC::ScaleWindowExt
mov al, byte [edi + 0xf9]
test al, al
jne 0x41fd3c
mov ecx, esi
imul ecx, ecx, 0x1c
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, esi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
cmp ebx, 0x11d
jl 0x41fcee
mov ebx, 0x11d
mov al, byte [edi + 0xe1]
test al, al
jne 0x41fd0a
lea eax, [ebx + 8]
mov byte [edi + 0xe1], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
push ebp
push ebx
lea ecx, [edi + 0x1528]
call dword [sym.imp.SkinControl.dll_public:_void___thiscall_CSkinSplitter::SetSplitterRange_int__int_]
cmp dword [esp + 0x14], ebx
jge 0x41fd29
mov dword [esp + 0x14], ebx
add ebx, 8
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebp
jle 0x41fd4b
mov dword [esp + 0x1c], ebp
add ebp, 0xfffffff8
mov dword [esp + 0x14], ebp
jmp 0x41fd4b
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xc0]
sub edx, eax
lea eax, [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0xbe0]
push eax
push ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x40
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, eax
lea eax, [edi + 0xfc]
test eax, eax
je 0x41fd8d
mov eax, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_DeferWindowPos]
push 0x115
push 0
push 0
push 0
lea edx, [esi - 0x5e]
push edx
push 0
push eax
push ebx
call ebp
lea eax, [edi + 0x168]
test eax, eax
je 0x41fdb5
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0
lea ecx, [esi - 0x42]
push ecx
push 0
push eax
push ebx
call ebp
lea eax, [edi + 0x1d4]
test eax, eax
je 0x41fdd7
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0
lea edx, [esi - 0x7a]
push edx
push 0
push eax
push ebx
call ebp
lea eax, [edi + 0x240]
test eax, eax
je 0x41fdf9
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0
lea ecx, [esi - 0x26]
push ecx
push 0
push eax
push ebx
call ebp
mov eax, dword [edi + 0x4e8]
lea edx, [esp + 0x98]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
mov eax, ecx
sub eax, edx
lea eax, [eax + eax*4]
mov edx, esi
sub edx, eax
sub edx, 0x2bc
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 2
test eax, eax
jbe 0x41fe57
cmp eax, 0x24
jae 0x41fe65
xor edx, edx
cmp edx, eax
sbb edx, edx
and edx, eax
mov dword [esp + 0x3c], edx
jmp 0x41fe71
mov dword [esp + 0x3c], 0x24
mov edx, dword [esp + 0x3c]
lea eax, [edi + 0x4c8]
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 5
jmp 0x41fea0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
jmp 0x41fea0
sub ecx, dword [esp + 0x98]
add ecx, edx
imul ecx, dword [esp + 0x38]
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x34]
sub eax, edx
sub eax, 0x64
test ecx, ecx
je 0x41fec2
mov ecx, dword [ecx + 0x20]
push 0x115
push 0
push 0
push 8
push eax
push 0
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
dec edx
add ecx, 0x6c
dec eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], eax
jne 0x41fe8d
mov edx, dword [edi + 0x3a4]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x24]
add edx, 2
lea eax, [edi + 0x384]
test eax, eax
mov dword [esp + 0x10], edx
jne 0x41ff1e
xor ecx, ecx
jmp 0x41ff21
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x50]
push 0x115
push 0
push 0
push edx
sub eax, dword [esp + 0x68]
mov edx, dword [esp + 0x40]
lea eax, [eax + eax*2]
sub eax, edx
lea edx, [eax + esi - 0x1f]
push edx
push 0
push ecx
push ebx
call ebp
lea eax, [edi + 0x3f0]
test eax, eax
je 0x41ff54
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
push 0x115
push 0
push 0
push ecx
sub edx, dword [esp + 0x68]
lea ecx, [edx + edx - 0x18]
sub ecx, dword [esp + 0x40]
add ecx, esi
push ecx
push 0
push eax
push ebx
call ebp
lea eax, [edi + 0x45c]
test eax, eax
je 0x41ff88
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push 0x115
push 0
push 0
push edx
sub ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x40]
lea edx, [ecx + esi - 0x11]
push edx
push 0
push eax
push ebx
call ebp
mov ecx, dword [edi + 0x338]
lea eax, [esp + 0x70]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [edi + 0x318]
test eax, eax
jne 0x41ffcf
mov dword [esp + 0x10], eax
jmp 0x41ffd6
mov edx, dword [eax + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
sub eax, edx
mov edx, dword [esp + 0x4c]
push 0x114
push eax
mov eax, dword [esp + 0x78]
sub ecx, eax
push ecx
sub edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
lea edx, [edx + ecx + 4]
mov ecx, dword [esp + 0x20]
push edx
sub eax, dword [esp + 0x88]
lea edx, [eax + ecx - 0xd]
mov eax, dword [esp + 0x20]
push edx
push 0
push eax
push ebx
call ebp
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0xc0]
sub edx, eax
mov eax, dword [esp + 0x80]
sub edx, eax
sub edx, dword [esp + 0x28]
lea ecx, [edi + 0xb18]
sub edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x8c]
sub esi, edx
sub esi, dword [esp + 0x90]
sub esi, dword [esp + 0x34]
sub esi, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
add eax, esi
push eax
mov eax, dword [esp + 0x28]
add edx, eax
push edx
call fcn.0043a5e0
lea ecx, [esp + 0x90]
push ecx
lea esi, [edi + 0xb18]
mov ecx, esi
call fcn.0043a380
test esi, esi
je 0x42008c
mov esi, dword [esi + 0x20]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x90]
push 0x114
push eax
push edx
mov edx, dword [esp + 0x28]
sub ecx, eax
add ecx, dword [esp + 0x30]
push ecx
add edx, 0xa
push edx
push 0
push esi
push ebx
call ebp
lea eax, [edi + 0x1738]
test eax, eax
je 0x4200ca
mov eax, dword [eax + 0x20]
push 0x114
push 0x41
push 0x10f
push 7
push 0x140
push 0
push eax
push ebx
call ebp
lea eax, [edi + 0x1528]
test eax, eax
jne 0x4200f1
xor edx, edx
jmp 0x4200f4
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
push 0x114
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
sub esi, ecx
push esi
push eax
push ecx
push 0
push edx
push ebx
call ebp
lea eax, [edi + 0xbc0]
test eax, eax
je 0x420124
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
push 0x114
sub edx, esi
push edx
mov edx, dword [esp + 0x1c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x30]
push edx
push ecx
push 0
push eax
push ebx
call ebp
lea eax, [edi + 0x1364]
test eax, eax
jne 0x42015b
mov dword [esp + 0x10], eax
jmp 0x420162
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x64]
mov edx, ecx
sub edx, eax
sub edx, esi
sub edx, dword [esp + 0x60]
sub edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
add edx, dword [esp + 0xc0]
mov esi, dword [esp + 0x14]
push 0x114
push edx
sub esi, dword [esp + 0x74]
sub esi, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
sub esi, edx
push esi
add eax, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x78]
add eax, edx
push eax
push 0
push ecx
push ebx
call ebp
mov edx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_LockWindowUpdate]
push edx
call esi
push ebx
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
push 0
call esi
mov ecx, dword [edi + 0x2cc]
lea eax, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0xb0]
add eax, ebp
mov ebp, dword [esp + 0x14]
cdq
sub eax, edx
push 0x115
sar eax, 1
push 0
push 0
push eax
mov eax, dword [esp + 0xb8]
sub eax, ecx
sub eax, ebp
add eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
lea ecx, [edi + 0x2ac]
call sub.MFC71U.DLL_COleControlSite::SetWindowPos
push 5
push 0
mov edx, dword [edi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xa8
ret 8