Function at 0x40e680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c0f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 0xb8]
lea eax, [esp + 0x24]
push edi
push eax
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ebp, [ebx + 0xbc]
push 0xc0
mov ecx, ebp
call fcn.0042aaa0
mov edi, eax
push 0x68
mov ecx, ebp
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
call fcn.0042b1e0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub esi, edx
push 0xa0
mov ecx, ebp
sub esi, eax
call fcn.0042b1e0
sub esi, eax
push 0x66
mov eax, esi
mov ecx, ebp
cdq
idiv dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
call fcn.0042b200
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub esi, edx
push 0x6b
mov ecx, ebp
sub esi, eax
call fcn.0042b200
sub esi, eax
mov eax, esi
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x10], 0
inc eax
test eax, eax
mov dword [esp + 0x18], eax
jle 0x40e7b6
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
test ecx, ecx
jle 0x40e7a9
mov esi, dword [edi + 0x10]
mov ebx, dword [edi + 0xc]
push 0
push 0
push 0
push 0
push 0
push edi
push 0x66
mov ecx, ebp
call fcn.0042b200
imul esi, dword [esp + 0x28]
add eax, esi
mov ecx, ebp
push eax
push 0x68
call fcn.0042b1e0
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
imul ebx, esi
add eax, ebx
add ecx, 0x28
push eax
push 0
call dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::bitblt_int__int__int__class_IXHandler::_mimage___int__enum_IXHandler::_mimage::Align_Style__bool__struct_tagRECT___struct_IXHandler::_mimage::_mimage_blt_fx_const__]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x40e750
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x40e740
push 0x6e
mov ecx, ebp
call fcn.0042aaa0
mov ecx, ebx
mov esi, eax
call fcn.004120c0
test eax, eax
je 0x40e7fc
push 0
push 0
push 0
push 0
push 0
push esi
push 0x66
mov ecx, ebp
add ebx, 0x28
call fcn.0042b200
push eax
push 0x68
mov ecx, ebp
call fcn.0042b1e0
mov esi, dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::bitblt_int__int__int__class_IXHandler::_mimage___int__enum_IXHandler::_mimage::Align_Style__bool__struct_tagRECT___struct_IXHandler::_mimage::_mimage_blt_fx_const__]
push eax
push 0
mov ecx, ebx
call esi
jmp 0x40e851
lea edx, [esp + 0x38]
push 0
push edx
push 0
push 0
push 0
push esi
push 0x66
mov ecx, ebp
mov dword [esp + 0x54], 0x82
mov dword [esp + 0x58], 0x32
mov dword [esp + 0x5c], 0x384
mov dword [esp + 0x60], 0x2bc
add ebx, 0x28
call fcn.0042b200
push eax
push 0x68
mov ecx, ebp
call fcn.0042b1e0
push eax
push 0
mov ecx, ebx
call dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::bitblt_int__int__int__class_IXHandler::_mimage___int__enum_IXHandler::_mimage::Align_Style__bool__struct_tagRECT___struct_IXHandler::_mimage::_mimage_blt_fx_const__]
mov esi, dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::bitblt_int__int__int__class_IXHandler::_mimage___int__enum_IXHandler::_mimage::Align_Style__bool__struct_tagRECT___struct_IXHandler::_mimage::_mimage_blt_fx_const__]
push 0x65
mov ecx, ebp
call fcn.0042aaa0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
mov ecx, ebx
call esi
push 0x66
mov ecx, ebp
call fcn.0042aaa0
test eax, eax
mov dword [esp + 0x14], eax
je 0x40e8fb
push 0x65
mov ecx, ebp
call fcn.0042aaa0
mov edi, dword [eax + 0xc]
push 0x67
mov ecx, ebp
call fcn.0042aaa0
mov eax, dword [eax + 0xc]
push 0x66
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.0042aaa0
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x18]
sub eax, edi
mov edi, dword [esp + 0x28]
sub eax, edi
xor edi, edi
cdq
idiv ecx
inc eax
test eax, eax
mov dword [esp + 0x10], eax
jle 0x40e8fb
push 0x65
mov ecx, ebp
call fcn.0042aaa0
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
push 0
push 0
mov ecx, dword [edx + 0xc]
push 0
imul ecx, edi
push 0
push 0
push edx
add ecx, eax
push 0
push ecx
push 0
mov ecx, ebx
call esi
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x40e8c6
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x45e4]
test eax, eax
je 0x40e90d
push 0x67
jmp 0x40e912
push 0x9f
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x30]
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x40]
sub edx, ecx
sub edx, eax
push 0
push edx
push 0
mov ecx, ebx
call esi
push 0x68
mov ecx, ebp
call fcn.0042aaa0
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x10]
push 0x65
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.0042b200
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub edi, edx
push 0x6a
mov ecx, ebp
sub edi, eax
call fcn.0042b200
sub edi, eax
mov dword [esp + 0x1c], 0
mov eax, edi
cdq
idiv dword [esp + 0x18]
inc eax
test eax, eax
mov dword [esp + 0x10], eax
jle 0x40e9c4
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
mov edi, dword [eax + 0x10]
push 0
push 0
push eax
push 0x65
mov ecx, ebp
call fcn.0042b200
imul edi, dword [esp + 0x34]
add eax, edi
mov ecx, ebx
push eax
push 0
push 0
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x40e988
push 0x6a
mov ecx, ebp
call fcn.0042aaa0
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
push 0
push 0
push 0
sub edx, edi
push 0
push 0
sub edx, ecx
push eax
push edx
push 0
push 0
mov ecx, ebx
call esi
push 0x6b
mov ecx, ebp
call fcn.0042aaa0
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0xc]
push 0x6a
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.0042b1e0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub edi, edx
push 0x6c
mov ecx, ebp
sub edi, eax
call fcn.0042b1e0
sub edi, eax
mov dword [esp + 0x1c], 0
mov eax, edi
cdq
idiv dword [esp + 0x18]
inc eax
test eax, eax
mov dword [esp + 0x10], eax
jle 0x40ea84
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
push 0
push 0
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
push 0
push 0
push 0
push eax
sub edx, dword [esp + 0x44]
sub edx, ecx
mov ecx, ebp
push edx
push 0x6a
call fcn.0042b1e0
imul edi, dword [esp + 0x38]
add eax, edi
mov ecx, ebx
push eax
push 0
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x40ea3c
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x45e4]
test ecx, ecx
je 0x40ea96
push 0x69
jmp 0x40ea9b
push 0xa0
mov ecx, ebp
call fcn.0042aaa0
mov ecx, eax
push 0x67
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 0x10]
mov ecx, ebp
mov dword [esp + 0x1c], edx
call fcn.0042b200
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub edi, edx
push 0x6c
mov ecx, ebp
sub edi, eax
call fcn.0042b200
sub edi, eax
mov dword [esp + 0x1c], 0
mov eax, edi
cdq
idiv dword [esp + 0x18]
inc eax
test eax, eax
mov dword [esp + 0x10], eax
jle 0x40eb43
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
push 0
push 0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
sub edi, ecx
push eax
push 0x67
mov ecx, ebp
mov dword [esp + 0x40], edx
call fcn.0042b200
mov ecx, eax
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x34]
add ecx, eax
push ecx
mov ecx, dword [esp + 0x40]
sub edi, ecx
mov ecx, ebx
push edi
push 0
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x40eae7
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x45e4]
test eax, eax
je 0x40eb55
push 0x6c
jmp 0x40eb5a
push 0xa1
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov edi, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x4c]
sub eax, edi
mov edi, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x48]
sub ecx, edx
push eax
sub ecx, edi
push ecx
push 0
mov ecx, ebx
call esi
push 0x70
mov ecx, ebp
call fcn.0042aaa0
push 0
push 0
push 0
push 0
push 0
push eax
push 2
push 0xa
push 0
mov ecx, ebx
call esi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x64]
push 0x448060
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x50], 0xfffffff4
mov dword [esp + 0x60], 0x190
mov byte [esp + 0x67], 0x86
mov byte [esp + 0x6b], 2
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
lea eax, [esp + 0x90]
mov ecx, ebx
mov dword [esp + 0x84], 0xffffff
push eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 1
call dword [sym.imp.2DEngineDll.dll_public:_struct_IXHandler::_mimage::_log_font___thiscall_IXHandler::_mimage::get_logfont_void_]
mov ecx, 0x12
mov esi, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0x1dbef9
push ecx
push edx
mov ecx, ebx
call dword [sym.imp.2DEngineDll.dll_public:_struct_IXHandler::_mimage::_log_font___thiscall_IXHandler::_mimage::set_logfont_struct_IXHandler::_mimage::_log_font_const__]
mov ecx, 0x12
mov esi, eax
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
push 0x44a8ac
lea eax, [esp + 0x28]
push 0x4488b8
mov dword [esp + 0x130], esi
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x12c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x128], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
lea edx, [esp + 0x18]
mov ecx, dword [eax - 8]
mov dword [esp + 0x10], 8
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x28], 0x23
call dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::text_int_const___int_const___char_const___int_const___int_const__]
lea edx, [esp + 0x48]
lea eax, [esp + 0xd8]
push edx
push eax
mov ecx, ebx
call dword [sym.imp.2DEngineDll.dll_public:_struct_IXHandler::_mimage::_log_font___thiscall_IXHandler::_mimage::set_logfont_struct_IXHandler::_mimage::_log_font_const__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x128], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x45e4], esi
je 0x40ef83
push 0x6d
mov ecx, ebp
call fcn.0042aaa0
mov edx, dword [esp + 0x30]
mov edi, dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
push esi
push esi
sub edx, edi
mov edi, dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::bitblt_int__int__int__class_IXHandler::_mimage___int__enum_IXHandler::_mimage::Align_Style__bool__struct_tagRECT___struct_IXHandler::_mimage::_mimage_blt_fx_const__]
push esi
push esi
sub edx, ecx
push esi
push eax
sub edx, 7
push 0x5c
push edx
push esi
mov ecx, ebx
call edi
push 0x71
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [esp + 0x28]
push esi
push esi
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x48]
sub eax, ecx
push 0x16f
sub eax, 0xf0
mov ecx, ebx
push eax
push esi
call edi
push 0x72
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
push esi
sub ecx, edx
mov edx, dword [esp + 0x2c]
push esi
push esi
push esi
sub ecx, edx
push esi
push eax
sub ecx, 8
push 0xec
push ecx
push esi
mov ecx, ebx
call edi
push 0x73
mov ecx, ebp
call fcn.0042aaa0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
jmp 0x40edae
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
mov esi, dword [esp + 0x30]
push 0
push 0
push 0
push 0
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
push 0
mov dword [esp + 0x2c], ecx
push eax
push 0x72
mov ecx, ebp
sub esi, edx
call fcn.0042b200
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x38]
lea edx, [eax + ecx + 0xec]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x34]
sub esi, edx
sub esi, 8
push esi
push 0
call edi
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 0xd
mov dword [esp + 0x20], eax
jl 0x40edaa
push 0x74
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub ecx, edx
push 0
push 0
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0xc]
push 0
push 0
push 0
mov dword [esp + 0x2c], ecx
push eax
push 0x73
mov ecx, ebp
call fcn.0042b200
lea edx, [eax + eax*2]
push 0x72
mov ecx, ebp
lea esi, [eax + edx*4]
call fcn.0042b200
lea eax, [esi + eax + 0xec]
mov esi, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x40]
sub eax, esi
mov ecx, ebx
sub eax, 8
push eax
push 0
call edi
push 0x72
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [esp + 0x30]
mov esi, dword [eax + 0xc]
mov edx, dword [esp + 0x28]
push 0
push 0
sub ecx, esi
push 0
push 0
sub ecx, edx
push 0
push eax
sub ecx, 8
push 0x1bd
push ecx
push 0
mov ecx, ebx
call edi
push 0x73
mov ecx, ebp
call fcn.0042aaa0
mov esi, eax
push 0x72
mov ecx, ebp
mov dword [esp + 0x18], esi
mov edx, dword [esi + 0x10]
mov dword [esp + 0x28], edx
call fcn.0042b200
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], 0
sub eax, edx
sub eax, ecx
sub eax, 0x1cb
cdq
idiv dword [esp + 0x24]
inc eax
test eax, eax
mov dword [esp + 0x10], eax
jle 0x40ef48
jmp 0x40eee6
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x10]
mov esi, dword [esp + 0x30]
push 0
mov ecx, dword [eax + 0xc]
push 0
push 0
push 0
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
push 0
mov dword [esp + 0x2c], ecx
push eax
push 0x72
mov ecx, ebp
sub esi, edx
call fcn.0042b200
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x38]
lea edx, [eax + ecx + 0x1bd]
mov ecx, ebx
push edx
mov edx, dword [esp + 0x34]
sub esi, edx
sub esi, 8
push esi
push 0
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40eee2
push 0x74
mov ecx, ebp
call fcn.0042aaa0
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push 0
push 0
push 0
sub ecx, ebp
mov ebp, dword [esp + 0x34]
push 0
push 0
sub ecx, 0xe
push eax
push ecx
mov ecx, dword [eax + 0xc]
sub edx, ecx
mov ecx, ebx
sub edx, ebp
sub edx, 8
push edx
push 0
call edi
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret