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

Disassembly:
push 0xffffffffffffffff
push 0x455b86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov ecx, 0x46a8a8
call fcn.004369c0
mov esi, eax
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x2c], esi
je 0x421475
mov dword [esi + 0x142bc], ebp
mov dword [esi + 0x142a8], ebp
cmp dword [0x46abf0], ebp
jne 0x420c29
cmp dword [ebx + 0x6b20], ebp
jle 0x421475
cmp dword [0x46a9c4], ebp
jle 0x421475
cmp dword [esi + 0x142d0], ebp
jne 0x421475
push ebp
push ebp
push ebp
mov dword [esi + 0x142a8], 1
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
push ebp
lea eax, [ebx + 0x6b14]
push ebp
push eax
push ecx
push edx
push ebp
lea ecx, [ebx + 0x70d0]
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__]
jmp 0x421475
cmp dword [0x46ab88], ebp
movsx eax, byte [0x46ac10]
je 0x420c42
inc eax
and eax, 0x80000003
jns 0x420c51
jmp 0x420c4c
add eax, 3
and eax, 0x80000003
jns 0x420c51
dec eax
or eax, 0xfffffffc
inc eax
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
push eax
mov ecx, 0x46a8a8
call fcn.00437fd0
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x28], edi
jne 0x420cc7
cmp dword [ebx + 0x6b20], ebp
jle 0x421475
cmp dword [0x46a9c4], ebp
jle 0x421475
cmp dword [esi + 0x142d0], ebp
jne 0x421475
push ebp
push ebp
push ebp
mov dword [esi + 0x142a8], 1
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
push ebp
lea ecx, [ebx + 0x6b14]
push ebp
push ecx
push edx
push eax
push ebp
lea ecx, [ebx + 0x70d0]
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__]
jmp 0x421475
mov ecx, ebx
mov dword [esi + 0x142d0], 0x3c
call fcn.00422de0
mov edx, dword [ebx + 0x70bc]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [edi + 0x47c], ebp
je 0x420d15
mov eax, dword [0x46af68]
mov ecx, dword [0x46af58]
add eax, 0x7b
add ecx, 0x55
push eax
lea edx, [ebx + 0x70d0]
push ecx
push edx
mov ecx, ebx
call fcn.00421640
jmp 0x420d29
movsx eax, byte [esp + 0x10]
add eax, 0x78
lea ecx, [ebx + 0x80]
push eax
call fcn.00448460
movsx eax, byte [esp + 0x10]
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
mov dword [esp + 0x24], eax
add eax, 4
push eax
push ebp
push 0xa5
push 0x78
push ecx
push edx
lea ecx, [ebx + 0x28]
call fcn.00447750
lea ebp, [ebx + 0x70d0]
lea eax, [esp + 0x90]
push eax
mov ecx, ebp
call dword [sym.imp.2DEngineDll.dll_public:_struct_IXHandler::_mimage::_log_font___thiscall_IXHandler::_mimage::get_logfont_void_]
lea ecx, [esp + 0x90]
lea edx, [esp + 0xd8]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0xd4], 0xffffff
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 + 0x90]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
xor esi, esi
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x1bc], esi
push ecx
push 0x46ac54
call fcn.0044ef84
add esp, 0xc
lea edx, [esp + 0x20]
lea eax, [esp + 0x14]
push edx
push 0x467444
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1bc], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 0
call sub.MFC42.DLL_CString::CString
mov ecx, ebx
call fcn.00422de0
test eax, eax
je 0x420ef5
mov eax, dword [0x46a9c4]
push 0xffe26c
cmp eax, esi
jle 0x420e8a
mov eax, dword [0x46af68]
mov edx, dword [edi + 0x20]
push esi
lea ecx, [edi + 6]
push 0x14
push ecx
mov ecx, dword [0x46af58]
add eax, 0xa8
push edx
add ecx, 6
push eax
push ecx
mov ecx, ebx
call fcn.00421490
mov eax, dword [esp + 0x20]
mov edx, dword [0x46af68]
mov dword [esp + 0x14], esi
add edx, 0xb7
mov ecx, dword [eax - 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x46af58]
add ecx, 6
lea edx, [esp + 0x14]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push eax
jmp 0x420f6e
mov eax, dword [0x46af68]
mov edx, dword [edi + 0x20]
push 1
lea ecx, [edi + 6]
push 0x14
push ecx
mov ecx, dword [0x46af58]
add eax, 0xa8
push edx
add ecx, 3
push eax
push ecx
mov ecx, ebx
call fcn.00421490
mov eax, dword [esp + 0x20]
mov edx, dword [0x46af68]
mov dword [esp + 0x14], esi
add edx, 0xb7
mov ecx, dword [eax - 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x46af58]
add ecx, 3
lea edx, [esp + 0x14]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x1c]
push edx
push ecx
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push eax
jmp 0x420f6e
mov eax, dword [0x46a9c4]
push 0xffe26c
cmp eax, esi
mov eax, dword [edi + 0x20]
sete cl
push ecx
mov ecx, dword [0x46af68]
lea edx, [edi + 6]
push 0x14
push edx
mov edx, dword [0x46af58]
add ecx, 0xa8
push eax
add edx, 6
push ecx
push edx
mov ecx, ebx
call fcn.00421490
mov eax, dword [esp + 0x20]
mov edx, dword [0x46af58]
mov dword [esp + 0x14], esi
mov ecx, dword [eax - 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x46af68]
add ecx, 0xba
add edx, 6
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
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 + 0x90]
lea eax, [esp + 0xd8]
push edx
push eax
mov ecx, ebp
call dword [sym.imp.2DEngineDll.dll_public:_struct_IXHandler::_mimage::_log_font___thiscall_IXHandler::_mimage::set_logfont_struct_IXHandler::_mimage::_log_font_const__]
mov eax, dword [0x47a490]
cmp eax, esi
mov esi, dword [esp + 0x24]
je 0x420fc6
cmp dword [0x47224c], esi
jne 0x420fc6
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, ebx
sub eax, 0xa5
cdq
sub eax, edx
sar eax, 1
add eax, 0xa4
push eax
push 0x21
call fcn.00424b50
mov eax, dword [0x472248]
cmp eax, 0xffffffff
je 0x421021
movsx ecx, byte [edi + 0x28]
cmp eax, ecx
jne 0x421021
mov ecx, ebx
call fcn.00422de0
mov ecx, dword [esp + 0x3c]
push 0
test eax, eax
mov eax, dword [esp + 0x48]
push 0x97
je 0x421003
sub eax, ecx
sub eax, 0xa5
cdq
sub eax, edx
sar eax, 1
sub eax, 0x5a
jmp 0x421012
sub eax, ecx
sub eax, 0xa5
cdq
sub eax, edx
sar eax, 1
sub eax, 0x6e
push eax
push 0x26
push ebp
lea ecx, [ebx + 0x80]
call fcn.00448e00
lea eax, [esi + esi*2]
lea edx, [eax + eax*4]
lea eax, [esi + edx*8]
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x46b3f0]
test ecx, ecx
je 0x421087
mov ecx, ebx
call fcn.00424070
test eax, eax
push 0
push 0xa2
je 0x421063
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
add ecx, 0x8a
add edx, 0x7d
push ecx
push edx
jmp 0x42107b
mov eax, dword [0x46af68]
mov ecx, dword [0x46af58]
add eax, 0x86
add ecx, 0x8c
push eax
push ecx
push ebp
lea ecx, [ebx + 0x80]
call fcn.00448e00
mov al, byte [edi + 0x1b8]
test al, al
jle 0x4212fc
mov ecx, ebx
call fcn.00422df0
mov esi, eax
mov ecx, ebx
mov dword [esp + 0x30], esi
call fcn.0041d5b0
movsx ecx, byte [edi + 0x1b8]
neg al
sbb eax, eax
mov edx, dword [esi + 0x10]
and eax, 2
mov dword [esp + 0x18], 0
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [ecx - 1]
imul eax, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x46af68]
sar esi, 1
mov edx, eax
mov dword [esp + 0x34], esi
sub edx, esi
add edx, 0x32
test edx, edx
jg 0x421101
mov edx, dword [esp + 0x18]
inc edx
mov dword [esp + 0x18], edx
sub edx, esi
lea edx, [edx + eax + 0x32]
test edx, edx
jle 0x4210ee
test ecx, ecx
mov dword [esp + 0x1c], 0
jle 0x4212fc
lea eax, [edi + 0x78]
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, 0x46a8a8
call fcn.004382c0
test al, al
jne 0x421281
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x48]
lea edx, [esp + 0x64]
push 0x466070
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 + 0xd8]
mov ecx, ebp
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 + 0x120]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0xffffff
push ecx
push edx
mov ecx, ebp
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
mov eax, dword [esp + 0x28]
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x1b8]
test cl, cl
jle 0x421262
mov ecx, ebx
call fcn.00424070
test eax, eax
je 0x421262
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
push 0
add ecx, 0x21
push 0xc8
add edx, 0x7c
push ecx
push edx
push ebp
lea ecx, [ebx + 0x80]
call fcn.00448e00
mov eax, dword [ebx + 0x6cd0]
test eax, eax
jle 0x421262
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0
mov dword [eax + 0x142bc], 1
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
push 0
lea ecx, [ebx + 0x6cc4]
push 0
add edx, 0x21
push ecx
add eax, 0x7c
push edx
push eax
push 0
mov ecx, ebp
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__]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x168]
push ecx
push edx
mov ecx, ebp
call dword [sym.imp.2DEngineDll.dll_public:_struct_IXHandler::_mimage::_log_font___thiscall_IXHandler::_mimage::set_logfont_struct_IXHandler::_mimage::_log_font_const__]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
jmp 0x4212cb
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push eax
mov ecx, 0x46a8a8
call fcn.004382c0
movsx ecx, al
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
sub eax, esi
push edx
add eax, ecx
mov ecx, dword [0x46af68]
lea edx, [eax + ecx + 0x52]
mov eax, dword [0x46af58]
add eax, 0x7c
push edx
push eax
push 0
mov ecx, ebp
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 ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ecx, 8
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
add edx, ecx
inc eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
movsx edx, byte [edi + 0x1b8]
cmp eax, edx
jl 0x421120
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42130c
lea eax, [edi + 0x31c]
push eax
jmp 0x421313
lea ecx, [edi + 0x1c8]
push ecx
mov ecx, ebx
call fcn.00422e40
cmp dword [edi + 0x470], 0x10
jne 0x421398
mov ecx, ebx
call fcn.00422de0
test eax, eax
jne 0x42134b
mov edx, dword [0x46af68]
push eax
mov eax, dword [0x46af58]
add edx, 0x4b
push 0xb3
add eax, 0xdf
push edx
push eax
jmp 0x42138c
mov ecx, ebx
call fcn.00424070
test eax, eax
push 0
push 0xb3
je 0x421376
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
add ecx, 0x3f
add edx, 0xde
push ecx
push edx
jmp 0x42138c
mov eax, dword [0x46af68]
mov ecx, dword [0x46af58]
add eax, 0x40
add ecx, 0xa4
push eax
push ecx
push ebp
lea ecx, [ebx + 0x80]
call fcn.00448e00
test byte [edi + 0x470], 1
je 0x421461
mov ecx, ebx
call fcn.00422de0
mov ecx, ebx
call fcn.00422de0
test eax, eax
mov eax, dword [0x46a9c4]
je 0x42141e
test eax, eax
jle 0x4213dc
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
push 0
add edx, 0x69
push 0xac
add eax, 0x46
push edx
push eax
jmp 0x421455
mov ecx, ebx
call fcn.00424070
test eax, eax
push 0
push 0x90
je 0x421406
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
add ecx, 0x3f
add edx, 0xde
push ecx
jmp 0x421454
mov eax, dword [0x46af68]
mov ecx, dword [0x46af58]
add eax, 0x40
add ecx, 0xa4
push eax
push ecx
jmp 0x421455
test eax, eax
push 0
push 0x90
jle 0x42143e
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
add edx, 0x6e
add eax, 0x46
push edx
push eax
jmp 0x421455
mov ecx, dword [0x46af68]
mov edx, dword [0x46af58]
add ecx, 0x4b
add edx, 0xdf
push ecx
push edx
push ebp
lea ecx, [ebx + 0x80]
call fcn.00448e00
lea ecx, [esp + 0x20]
mov dword [esp + 0x1b8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ac
ret