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

Disassembly:
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0x98]
test ebx, ebx
push esi
mov esi, ecx
je 0x42258e
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x42258e
push ebp
mov ebp, dword [sym.imp.USER32.dll_SetRect]
push edi
push 0x7a
push 0x3f2
push 0x62
push 0x2fd
lea eax, [esi + 0x2818]
push eax
call ebp
mov edx, dword [esi + 0x1c40]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.SkinControl.dll_public:_bool___thiscall_CEncircleBMP::GetEncircleInfo_struct_tagEncircleInfo__]
lea eax, [esp + 0x50]
push eax
lea ecx, [esi + 0x2784]
call edi
lea ecx, [esp + 0x24]
xor eax, eax
push ecx
lea ecx, [esi + 0x27c0]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
call edi
mov edx, dword [esi + 0x27f8]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x28], edx
call sub.MFC71U.DLL_CPreviewDC::ScaleWindowExt
mov al, byte [esi + 0xfd]
test al, al
jne 0x42214a
mov al, byte [esi + 0xe5]
test al, al
mov edi, dword [esi + 0x27bc]
jne 0x422132
mov byte [esi + 0xe5], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
push edi
push edi
lea ecx, [esi + 0x1c20]
call dword [sym.imp.SkinControl.dll_public:_void___thiscall_CSkinSplitter::SetSplitterRange_int__int_]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
jmp 0x422154
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
sub edx, eax
push 0
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
call ebp
push 0x40
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov edi, eax
lea eax, [esi + 0x100]
test eax, eax
je 0x422196
mov eax, dword [eax + 0x20]
mov ebp, dword [sym.imp.USER32.dll_DeferWindowPos]
push 0x115
push 0
push 0
push 1
lea ecx, [ebx - 0x64]
push ecx
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x16c]
test eax, eax
je 0x4221be
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 1
lea edx, [ebx - 0x46]
push edx
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x1d8]
test eax, eax
je 0x4221e0
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 1
lea ecx, [ebx - 0x82]
push ecx
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x244]
test eax, eax
je 0x422205
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 1
add ebx, 0xffffffd8
push ebx
push 0
push eax
push edi
call ebp
mov eax, dword [esi + 0x480]
lea edx, [esp + 0x80]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x460]
xor ebx, ebx
mov dword [esp + 0x10], ecx
jmp 0x422241
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
add eax, 5
imul eax, ebx
add eax, 0x170
test ecx, ecx
je 0x422261
mov ecx, dword [ecx + 0x20]
push 0x115
push 0
push 0
push 0
push eax
push 0
push ecx
push edi
call ebp
mov ecx, dword [esp + 0x10]
inc ebx
add ecx, 0x6c
cmp ebx, 5
mov dword [esp + 0x10], ecx
jb 0x42223d
mov edx, dword [esi + 0x33c]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x60]
push ecx
push edx
call ebx
lea eax, [esi + 0x31c]
test eax, eax
je 0x4222a5
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0x7e
push 0x2c0
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x388]
test eax, eax
je 0x4222c8
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push 0x115
push 0
push 0
push 0x7e
sub ecx, edx
add ecx, 0x2cc
push ecx
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x3f4]
test eax, eax
je 0x4222f7
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
push 0x115
push 0
push 0
push 0x7e
sub edx, ecx
lea ecx, [edx + edx + 0x2d8]
push ecx
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x67c]
test eax, eax
je 0x422327
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0x5f
push 0x14
push 0
push eax
push edi
call ebp
mov eax, dword [esi + 0x708]
lea edx, [esp + 0x70]
push edx
push eax
call ebx
mov ecx, dword [esp + 0xa8]
add ecx, 0xffffffda
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], ecx
lea ebx, [esi + 0x6e8]
jmp 0x422370
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
imul eax, dword [esp + 0x10]
add eax, 0xc
test ebx, ebx
jne 0x422388
xor ecx, ecx
jmp 0x42238b
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x34]
push 0x115
push 0
push 0
push edx
push eax
push 0
push ecx
push edi
call ebp
mov cl, byte [esi + 0xfd]
xor eax, eax
test cl, cl
setne al
mov ecx, ebx
dec eax
and eax, 5
push eax
call sub.MFC71U.DLL_COleControlSite::ShowWindow
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x6c
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x422370
lea eax, [esi + 0x2894]
test eax, eax
je 0x4223d7
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0x62
push 0x271
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x2828]
test eax, eax
je 0x4223fa
mov eax, dword [eax + 0x20]
push 0x115
push 0
push 0
push 0x7e
push 0x271
push 0
push eax
push edi
call ebp
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x38]
xor eax, eax
sub edx, eax
mov eax, dword [esp + 0x28]
sub edx, ecx
sub edx, eax
sub edx, dword [esp + 0x24]
mov eax, dword [esp + 0xa4]
push edx
sub eax, dword [esp + 0x44]
xor edx, edx
sub eax, edx
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
sub eax, edx
push eax
mov eax, dword [esp + 0x2c]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x4c]
add ecx, edx
lea ebx, [esi + 0x11a0]
push ecx
mov ecx, ebx
call fcn.0043e940
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.0043e760
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
jne 0x422481
mov dword [esp + 0x10], eax
jmp 0x422488
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push 0x114
push eax
push eax
add ecx, edx
mov edx, dword [esp + 0x28]
push ecx
add edx, 0xa
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push edi
call ebp
push 0
mov ecx, ebx
call sub.MFC71U.DLL_COleControlSite::ShowWindow
lea eax, [esi + 0x1e30]
test eax, eax
je 0x4224c1
mov eax, dword [eax + 0x20]
push 0x114
push 0x4c
push 0x10f
push 0x11
push 0xfd
push 0
push eax
push edi
call ebp
lea eax, [esi + 0x1c20]
test eax, eax
jne 0x4224e8
xor edx, edx
jmp 0x4224eb
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push 0x114
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
sub ebx, ecx
push ebx
push eax
push ecx
push 0
push edx
push edi
call ebp
lea eax, [esi + 0x19fc]
test eax, eax
jne 0x42251c
xor ebx, ebx
jmp 0x42251f
mov ebx, dword [eax + 0x20]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, ecx
sub eax, edx
mov edx, dword [esp + 0x24]
push 0x114
sub eax, edx
push eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x64]
add ecx, edx
sub eax, dword [esp + 0x60]
mov edx, dword [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
add ecx, edx
push ecx
push 0
push ebx
push edi
call ebp
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_LockWindowUpdate]
push eax
call ebx
push edi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
push 0
call ebx
mov ecx, dword [esi + 0x20]
push 5
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x90
ret 8