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

Disassembly:
sub esp, 0x88
push esi
push edi
mov edi, dword [esp + 0x94]
test edi, edi
mov esi, ecx
je 0x42121d
mov eax, dword [esp + 0x98]
test eax, eax
je 0x42121d
mov ecx, dword [esi + 0x1100]
push ebx
push ebp
lea eax, [esp + 0x10]
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 + 0x40]
push edx
lea ecx, [esi + 0x1cf0]
call ebx
lea eax, [esp + 0x88]
push eax
lea ecx, [esi + 0x1cb8]
call ebx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esi + 0x1d28]
call ebx
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC71U.DLL_CPreviewDC::ScaleWindowExt
mov al, byte [esi + 0xf9]
test al, al
jne 0x420e6c
mov ecx, edi
imul ecx, ecx, 0x1c
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, edi
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
cmp ebx, 0x11d
jl 0x420e1e
mov ebx, 0x11d
mov al, byte [esi + 0xe1]
test al, al
jne 0x420e3a
lea eax, [ebx + 8]
mov byte [esi + 0xe1], 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
push ebp
push ebx
lea ecx, [esi + 0x10e0]
call dword [sym.imp.SkinControl.dll_public:_void___thiscall_CSkinSplitter::SetSplitterRange_int__int_]
cmp dword [esp + 0x10], ebx
jge 0x420e59
mov dword [esp + 0x10], ebx
add ebx, 8
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], ebp
jle 0x420e7b
mov dword [esp + 0x18], ebp
add ebp, 0xfffffff8
mov dword [esp + 0x10], ebp
jmp 0x420e7b
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
add eax, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xa0]
sub edx, eax
lea eax, [esp + 0x78]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xa98]
push eax
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x40
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, eax
lea eax, [esi + 0xfc]
test eax, eax
je 0x420ebd
mov eax, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_DeferWindowPos]
push 0x115
push 0
push 0
push 2
lea edx, [edi - 0x3b]
push edx
push 0
push eax
push ebx
call ebp
lea eax, [esi + 0x168]
test eax, eax
je 0x420ee5
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 2
lea ecx, [edi - 0x2a]
push ecx
push 0
push eax
push ebx
call ebp
lea eax, [esi + 0x1d4]
test eax, eax
je 0x420f07
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 2
lea edx, [edi - 0x50]
push edx
push 0
push eax
push ebx
call ebp
lea eax, [esi + 0x240]
test eax, eax
je 0x420f29
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 2
add edi, 0xffffffe7
push edi
push 0
push eax
push ebx
call ebp
mov ecx, dword [esi + 0x338]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x9c]
mov eax, edi
sub eax, edx
lea eax, [eax + eax*2]
shl eax, 1
sub ecx, eax
sub ecx, 0x258
mov eax, 0x24924925
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
test ecx, ecx
jbe 0x420f89
cmp ecx, 0x2e
jae 0x420f97
xor edx, edx
cmp edx, ecx
sbb edx, edx
and edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x420fa3
mov dword [esp + 0x2c], 0x2e
mov edx, dword [esp + 0x2c]
mov eax, 6
lea ecx, [esi + 0x318]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jmp 0x420fd0
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
jmp 0x420fd0
sub edi, dword [esp + 0x58]
mov eax, dword [esp + 0x9c]
add edi, edx
imul edi, dword [esp + 0x28]
sub eax, edi
sub eax, edx
test ecx, ecx
je 0x420fed
mov ecx, dword [ecx + 0x20]
push 0x115
push 0
push 0
push 0x17
push eax
push 0
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
dec edx
add ecx, 0x6c
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
jne 0x420fbc
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub eax, ecx
push eax
mov eax, dword [esp + 0xa0]
sub eax, edx
mov edx, dword [esp + 0x1c]
sub eax, edx
push eax
push ecx
lea edi, [esi + 0x9d0]
push edx
mov ecx, edi
call fcn.0043b770
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.0043b480
test edi, edi
je 0x421068
mov edi, dword [edi + 0x20]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
push 0x114
push eax
push edx
mov edx, dword [esp + 0x44]
sub ecx, eax
dec ecx
push ecx
add edx, 8
push edx
push 0
push edi
push ebx
call ebp
lea eax, [esi + 0x12f0]
test eax, eax
je 0x42109a
mov eax, dword [eax + 0x20]
push 0x114
push 0x3e
push 0x168
push 0x11
push 0xdc
push 0
push eax
push ebx
call ebp
lea eax, [esi + 0x10e0]
test eax, eax
jne 0x4210c1
xor edx, edx
jmp 0x4210c4
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push 0x114
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edi, ecx
push edi
push eax
push ecx
push 0
push edx
push ebx
call ebp
lea eax, [esi + 0xa78]
test eax, eax
je 0x4210f4
mov eax, dword [eax + 0x20]
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
push 0x114
sub edx, edi
push edx
mov edx, dword [esp + 0x18]
sub edx, ecx
push edx
mov edx, dword [esp + 0x3c]
push edx
push ecx
push 0
push eax
push ebx
call ebp
lea eax, [esi + 0xc94]
test eax, eax
jne 0x42112e
mov dword [esp + 0x20], eax
jmp 0x421135
mov eax, dword [eax + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x44]
mov edx, ecx
sub edx, eax
sub edx, edi
sub edx, dword [esp + 0x40]
sub edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
add edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x10]
push 0x114
push edx
sub edi, dword [esp + 0x54]
sub edi, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x38]
sub edi, edx
push edi
add eax, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x58]
add eax, edx
push eax
push 0
push ecx
push ebx
call ebp
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_LockWindowUpdate]
push edx
call edi
push ebx
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
push 0
call edi
mov ecx, dword [esi + 0x2cc]
lea eax, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x70]
add eax, ebp
mov ebp, dword [esp + 0x10]
cdq
sub eax, edx
push 0x115
sar eax, 1
push 0
push 0
push eax
mov eax, dword [esp + 0x78]
sub eax, ecx
sub eax, ebp
add eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
lea ecx, [esi + 0x2ac]
call sub.MFC71U.DLL_COleControlSite::SetWindowPos
push 5
push 0
mov edx, dword [esi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_RedrawWindow]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x88
ret 8