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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb2bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebx + 0x3ee8], edi
mov eax, dword [0x53aa48]
cmp eax, 0x320
jne 0x437294
add edi, 2
mov dword [ebx + 0x3ee8], edi
mov ecx, dword [ebx + 0x3ee8]
add edi, 2
add ecx, 2
mov dword [ebp + 8], edi
mov dword [ebx + 0x3ee8], ecx
mov eax, dword [ebx + edi*4 + 0x3f14]
mov dword [0x533728], eax
mov ecx, dword [ebx + 0x3ee8]
fld dword [ebx + ecx*4 + 0x3eec]
fmul dword [0x50a6b0]
call sub.MSVCRT.dll__ftol
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x3ee4], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov edi, dword [ebx + edi*4 + 0x3f14]
mov esi, eax
push edi
mov edx, dword [esi]
mov dword [esp + 0x14], edx
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
mov eax, dword [esp + 0x14]
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x154]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x160]
mov ecx, dword [esp + 0x154]
add eax, edx
add eax, ecx
mov esi, dword [esp + 0x168]
mov dword [esp + 0x20], eax
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x437375
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x437387
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x3ee4]
mov ecx, dword [ebx + 0x20]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov dword [ebx + 0x494], edx
shl eax, 1
mov dword [esp + 0x28], eax
lea eax, [esp + 0x98]
push eax
push ecx
mov dword [ebx + 0x498], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0xe8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0xec]
mov edi, dword [esp + 0xf4]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xa4]
sub esi, edi
mov edi, dword [esp + 0xa0]
sub esi, edx
mov edx, dword [esp + 0x98]
sub edi, eax
add esi, ecx
mov ecx, dword [esp + 0xe8]
sub edi, edx
add edi, ecx
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea edx, [esp + 0x98]
mov ecx, eax
push edx
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x9c]
add esi, eax
mov eax, dword [esp + 0x98]
push 1
add edi, ecx
push esi
push edi
push edx
push eax
mov ecx, ebx
call sub.MFC42.DLL_CWnd::MoveWindow
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
fst qword [esp + 0x3c]
fmul qword [0x50aac0]
lea edi, [ecx + ecx]
mov dword [esp + 0x94], edi
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x3c]
fmul qword [0x50aab8]
mov dword [esp + 0x54], eax
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x4374b0
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x4374c2
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x3c]
fmul qword [0x50aab0]
mov esi, eax
mov dword [esp + 0x7c], esi
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x4374fb
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x43750d
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x3c]
fmul qword [0x50aaa8]
mov dword [esp + 0x80], eax
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x437547
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x437559
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x28]
mov dword [esp + 0x50], eax
inc edi
mov dword [esp + 0x10c], edi
fst qword [esp + 0x3c]
fmul qword [0x50aaa0]
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x43759c
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x4375ae
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fstp qword [esp + 0x34]
fld qword [esp + 0x44]
fmul qword [0x50aa98]
add esp, 8
fcom qword [0x508230]
fst qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4375e4
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x4375f6
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x2c]
mov dword [esp + 0xf8], eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x3c]
fmul qword [0x50aa90]
mov dword [esp + 0x100], eax
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x437640
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x437652
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
fstp qword [esp + 0x34]
fld qword [esp + 0x44]
fmul qword [0x50aa88]
add esp, 8
fcom qword [0x508230]
fnstsw ax
test ah, 0x41
jne 0x437684
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x437696
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x2c]
mov dword [esp + 0x84], eax
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x14]
fcom qword [0x508230]
mov dword [esp + 0x8c], eax
fnstsw ax
test ah, 0x41
jne 0x4376da
fadd qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
jmp 0x4376ec
fsub qword [0x508288]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
mov edi, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
mov eax, esi
mov ecx, dword [0x53aa48]
sub eax, edi
add esi, 0xfffffff6
add eax, 0xfffffff6
mov dword [esp + 0xb4], esi
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
cmp ecx, 0x320
mov dword [esp + 0x3c], eax
jne 0x43774a
lea ecx, [eax + 0x3c]
xor edx, edx
add eax, 0xa0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
jmp 0x43775b
xor ecx, ecx
lea edx, [eax + 0x64]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x74], edi
mov eax, dword [ebx + edx*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437776
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
mov eax, dword [ebx + 0x3fa4]
push 0x30
push eax
call esi
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x70]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [ebx + 0x3f84]
call sub.MFC42.DLL_CWnd::MoveWindow
push edi
lea eax, [esp + 0x6c]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + ecx*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x4377d4
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x3ffc]
push 1
push eax
push 0x30
push edx
call esi
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x70]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [ebx + 0x3fdc]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [ebx + 0x3ee8]
fld dword [ebx + eax*4 + 0x3eec]
fmul dword [0x50aa84]
call sub.MSVCRT.dll__ftol
mov cx, word [0x52aa7c]
mov dword [esp + 0x4c], eax
mov ax, word [0x52b124]
xor edx, edx
mov word [esp + 0xb8], cx
mov dword [esp + 0xba], edx
mov word [esp + 0xc2], ax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xbe], edx
mov dx, word [0x52aa78]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xce], eax
mov dword [esp + 0xc8], ecx
mov word [esp + 0xcc], dx
mov dword [esp + 0xd2], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0x538550
lea edi, [ebx + 0x804]
mov esi, dword [esp + 0x34]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
imul eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul qword [0x5087b0]
fadd qword [0x508790]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xd8], eax
add ecx, eax
and esi, reloc.super32.dll_Ordinal_1
jns 0x4378d4
dec esi
or esi, 0xfffffffe
inc esi
lea esi, [esi*4 + 3]
lea edx, [esp + 0xb8]
imul esi, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp eax, 0x538550
lea edx, [esi + ecx]
mov dword [esp + 0x2c], edx
jle 0x437936
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x48]
push ecx
push edx
push eax
lea ecx, [esp + 0x198]
push str._s_10.3lf
push ecx
jmp 0x43795a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov edx, dword [eax + 0x538554]
mov eax, dword [eax + 0x538550]
push edx
push eax
push ecx
lea edx, [esp + 0x198]
push str._s_10.3lf
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [ebp + 8]
add esp, 0x14
mov eax, dword [ebx + eax*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x43797a
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x20]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xd8]
sub edx, esi
push 1
push edx
push eax
push esi
push ecx
mov ecx, edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
add eax, 8
add edi, 0x4c
add ecx, 8
add edx, 0xa
cmp eax, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x48], edx
jl 0x437901
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
add eax, 0x18
inc esi
cmp eax, 0x5385b0
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], eax
jl 0x437891
lea edx, [ebx + 0xb94]
mov dword [esp + 0x34], 0
mov edi, 0x5385b0
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x34]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
imul eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x5087b0]
fadd qword [0x508790]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xd8], eax
add ecx, eax
and esi, reloc.super32.dll_Ordinal_1
jns 0x437a51
dec esi
or esi, 0xfffffffe
inc esi
lea esi, [esi*4 + 3]
lea edx, [esp + 0xb8]
imul esi, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 3
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 4]
push eax
lea eax, [esp + 0x190]
lea edx, [esi + ecx]
mov ecx, dword [edi]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
push ecx
push edx
push str._s_10.3lf
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [ebp + 8]
add esp, 0x14
mov eax, dword [ebx + ecx*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437ac2
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x24]
push 1
push eax
push 0x30
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xd8]
sub ecx, esi
push 1
push ecx
push edx
push esi
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
add edi, 8
add esi, 0x4c
add ecx, 0xa
dec eax
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x38], eax
jne 0x437a7e
mov ecx, dword [esp + 0x34]
inc ecx
cmp edi, 0x5385f8
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
jl 0x437a0e
lea edx, [ebx + 0xe44]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], edx
mov eax, dword [ebx + 0x3ee4]
mov esi, eax
imul esi, dword [esp + 0x14]
lea edi, [eax + esi]
mov eax, dword [ebp + 8]
mov eax, dword [ebx + eax*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437b75
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push 1
push eax
push 0x30
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x94]
push 1
sub edi, esi
push eax
push edi
push 0
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x14]
add esi, 0x58
inc eax
mov dword [esp + 0xc], esi
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x437b4e
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x28]
sub esi, eax
push 1
push esi
lea edi, [ebx + 0xd8]
push ecx
push eax
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10c]
push 1
push esi
push edx
push eax
lea ecx, [ebx + 0x2b4]
push 0
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x118]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CRichEditCtrl::GetDefaultCharFormat
fild dword [ebx + 0x49c]
mov edx, dword [ebp + 8]
mov dword [esp + 0x12c], 0xffffff
fmul dword [ebx + edx*4 + 0x3eec]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x78]
mov dword [esp + 0x124], eax
call sub.MFC42.DLL_CString::CString_3
push 0xe820
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1fc], 0
call sub.MFC42.DLL_CString::LoadStringA
mov edi, dword [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x132]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x120]
mov esi, dword [esp + 0x11c]
lea ecx, [esp + 0x118]
and edi, 0xbffffffe
or esi, 0xe0000001
push ecx
lea ecx, [ebx + 0xd8]
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], esi
call sub.MFC42.DLL_CRichEditCtrl::SetDefaultCharFormat
mov edx, dword [ebx + 0xf8]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x443
push edx
call esi
lea eax, [esp + 0x118]
lea ecx, [ebx + 0x2b4]
push eax
call sub.MFC42.DLL_CRichEditCtrl::SetDefaultCharFormat
mov ecx, dword [ebx + 0x2d4]
push 0
push 0
push 0x443
push ecx
call esi
push 1
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
sub eax, edx
push eax
mov eax, dword [esp + 0x44]
sub eax, ecx
push eax
push edx
push ecx
lea ecx, [ebx + 0x6c4]
call sub.MFC42.DLL_CWnd::MoveWindow
mov edx, dword [esp + 0x28]
xor eax, eax
mov esi, dword [esp + 0x54]
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xe0], edx
mov eax, dword [ebx + eax*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437d4a
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x7e4]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x28]
sub esi, eax
push 1
sub edx, edi
push esi
push edx
push eax
push edi
lea ecx, [ebx + 0x7c4]
call sub.MFC42.DLL_CWnd::MoveWindow
mov esi, dword [ebp + 8]
mov eax, dword [ebx + esi*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437d93
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x4c4]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0xf8]
sub edi, edx
push 1
sub eax, ecx
push edi
push eax
push edx
push ecx
lea ecx, [ebx + 0x4a4]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [ebx + esi*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437de4
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x4c4]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x54]
push 1
sub eax, ecx
push edi
push eax
push edx
push ecx
lea ecx, [ebx + 0x4e4]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [ebx + esi*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437e2f
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x431c]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
mov ecx, edi
sub ecx, eax
push 1
push ecx
push edx
push eax
push 0
lea ecx, [ebx + 0x42fc]
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], 2
sub eax, edi
mov dword [esp + 0x3c], eax
lea eax, [ebx + 0x403c]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x3ee4]
lea ecx, [edi - 1]
imul edi, eax
imul ecx, eax
mov eax, dword [ebx + esi*4 + 0x3f14]
mov dword [esp + 0x84], ecx
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437eb0
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push 1
push eax
push 0x30
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x80]
push 1
push eax
mov eax, dword [esp + 0x8c]
sub edi, eax
push edi
mov edi, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x14]
add edi, 0x58
inc eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], eax
add eax, 0xfffffffe
cmp eax, 8
jl 0x437e82
mov eax, dword [ebx + esi*4 + 0x3f14]
mov edi, dword [ebx + 0x3ee4]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437f1a
mov eax, dword [eax + 4]
mov edx, dword [ebx + 0x457c]
push 1
push eax
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
sub eax, ecx
push 1
push eax
push edi
push ecx
push 0
lea ecx, [ebx + 0x455c]
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CWnd::MoveWindow
lea eax, [ebx + 0x435c]
mov dword [esp + 0x14], 2
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x3ee4]
lea ecx, [edi - 1]
imul edi, eax
imul ecx, eax
mov eax, dword [ebx + esi*4 + 0x3f14]
mov dword [esp + 0x84], ecx
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x437f8c
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push 1
push eax
push 0x30
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push 1
push eax
mov eax, dword [esp + 0x8c]
sub edi, eax
push edi
mov edi, dword [esp + 0x18]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::MoveWindow
mov eax, dword [esp + 0x14]
add edi, 0x40
inc eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], eax
add eax, 0xfffffffe
cmp eax, 8
jl 0x437f5e
mov eax, dword [ebx + 0x3ee4]
lea edx, [eax + eax*8]
lea edi, [eax + eax*4]
mov eax, dword [ebx + esi*4 + 0x3f14]
mov dword [esp + 0x84], edx
push eax
shl edi, 1
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x438002
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x45bc]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
push 1
sub edi, eax
push ecx
push edi
push edx
push eax
lea ecx, [ebx + 0x459c]
call sub.MFC42.DLL_CWnd::MoveWindow
fld dword [ebx + esi*4 + 0x3eec]
fmul dword [0x50aa80]
call sub.MSVCRT.dll__ftol
fld dword [ebx + esi*4 + 0x3eec]
fmul dword [0x50aa7c]
mov edi, eax
call sub.MSVCRT.dll__ftol
fld dword [ebx + esi*4 + 0x3eec]
fmul dword [0x50aa78]
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], edi
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
lea edx, [esp + 0x58]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
push ecx
push eax
push edx
call edi
mov eax, dword [ebx + esi*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x4380ad
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x7a4]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x60]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [ebx + 0x784]
call sub.MFC42.DLL_CWnd::MoveWindow
fld dword [ebx + esi*4 + 0x3eec]
fmul dword [0x50aa74]
call sub.MSVCRT.dll__ftol
push 0
push eax
lea eax, [esp + 0x60]
push eax
call edi
mov eax, dword [ebx + esi*4 + 0x3f14]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x438114
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x764]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sub edx, eax
push 1
push edx
mov edx, dword [esp + 0x68]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [ebx + 0x744]
call sub.MFC42.DLL_CWnd::MoveWindow
fld dword [ebx + esi*4 + 0x3eec]
fmul dword [0x50aa74]
call sub.MSVCRT.dll__ftol
push 0
push eax
lea eax, [esp + 0x60]
push eax
call edi
mov esi, dword [ebx + esi*4 + 0x3f14]
push esi
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x43817b
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x724]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sub edx, eax
push 1
push edx
mov edx, dword [esp + 0x68]
sub edx, ecx
push edx
push eax
push ecx
lea ecx, [ebx + 0x704]
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x78]
mov dword [esp + 0x1f8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1f0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4