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

Disassembly:
push 0xffffffffffffffff
push 0x435e50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x68], 3
test ebx, ebx
jl 0x430172
cmp ebx, 3
jg 0x430172
mov ebp, ebx
push ecx
sub ebp, 3
lea eax, [esp + 0x74]
neg ebp
sbb ebp, ebp
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
and ebp, ebx
call fcn.0043153a
lea ecx, [ebp + ebp*4]
lea edi, [esi + ecx*4]
lea ecx, [edi + 0x40]
call fcn.00431110
push ecx
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.0043153a
lea ecx, [edi + 0x7c]
call fcn.00431110
push ecx
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.0043153a
lea ecx, [edi + 0xb8]
call fcn.00431110
push ecx
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.0043153a
lea ecx, [edi + 0xf4]
call fcn.00431110
cmp ebx, 3
jne 0x430113
test esi, esi
je 0x430172
mov eax, dword [esi + 0x20]
test eax, eax
je 0x430172
mov ecx, dword [edi + 0x44]
lea eax, [esp + 0x30]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea edx, [esp + 0x20]
mov ecx, eax
push edx
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 1
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
xor edi, edi
add esi, 0x7c
cmp edi, ebp
je 0x430108
lea ebx, [esi - 0x3c]
mov ecx, ebx
call fcn.00430940
test al, al
jne 0x4300cc
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
call fcn.00430940
test al, al
jne 0x4300de
mov ecx, esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.00430940
test al, al
jne 0x4300f3
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ebx, [esi + 0x78]
mov ecx, ebx
call fcn.00430940
test al, al
jne 0x430108
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
inc edi
add esi, 0x14
cmp edi, 3
jl 0x4300b3
jmp 0x430172
cmp ebx, 1
jne 0x430172
mov edx, dword [edi + 0x44]
lea ecx, [esp + 0x48]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push ebx
push edx
mov edx, dword [esp + 0x1c]
sub ecx, eax
push ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x14