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

Disassembly:
sub esp, 0x114
mov eax, dword [0x50b514]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
mov dword [esp + 0x14], edi
je 0x48f74a
cmp dword [edi + 0x28], ebp
jle 0x48f72a
mov al, byte [edi + 0x2c]
test al, al
je 0x48f72a
mov eax, dword [esp + 0x128]
push ebp
push ebp
push ebp
lea ebx, [eax + 0xc]
mov eax, dword [esp + 0x138]
push ebp
push ebp
lea ecx, [eax + 0x14]
lea esi, [eax + 0x2d]
mov eax, dword [edi + 0x74]
mov dword [esp + 0x30], ecx
push ecx
push ebx
mov ecx, dword [eax - 8]
mov dword [esp + 0x3c], esi
push ecx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
mov eax, dword [edi + 0x70]
push ebp
push ebp
push ebp
mov edx, dword [eax - 8]
push ebp
push ebp
push esi
push ebx
push edx
push eax
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::DrawTextA_char_const___int__int__int__int__int__unsigned_int__struct_tagRECT_const___struct_HFONT____
add esp, 0x48
lea esi, [edi + 0x78]
mov ecx, esi
push ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x9c]
cmp eax, ebp
mov dword [esp + 0x18], ebp
jle 0x48f74a
lea ebp, [edi + 0x18ac]
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x48f5e2
push 0
mov ecx, esi
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, 0x58ed2309
imul ecx, dword [ebp - 4]
mul ecx
sub ecx, edx
push 0
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [esp + 0x28], ecx
mov ecx, esi
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov eax, dword [ebp]
cmp eax, 0x10
jg 0x48f533
lea eax, [eax + eax*2]
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x34]
lea ecx, [ebx + eax*2 + 3]
xor eax, eax
mov dword [esp + 0x10], ecx
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
push eax
mov ecx, esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, 0x58ed2309
mul ecx
sub ecx, edx
mov eax, dword [esp + 0x30]
shr ecx, 1
add ecx, edx
mov edx, dword [esp + 0x1c]
shr ecx, 6
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
push ecx
add edx, 0xfffffff8
push 0
push edx
push eax
mov ecx, esi
jmp 0x48f6fa
mov ecx, dword [edi + 0x74]
mov edx, dword [ecx - 8]
sub eax, edx
mov edx, dword [edi + 0x70]
inc eax
mov ecx, dword [edx - 8]
sub ecx, 4
cmp eax, ecx
jg 0x48f703
lea edx, [eax + eax*2]
lea eax, [ebx + 6]
lea ecx, [ebx + edx*2 + 3]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x48f563
mov dword [esp + 0x10], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xac]
push 0
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, 0x58ed2309
mul ecx
sub ecx, edx
mov eax, dword [esp + 0x20]
shr ecx, 1
add ecx, edx
lea edx, [esp + 0xac]
shr ecx, 6
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x10]
push edx
add eax, 0xfffffff8
push 0
push eax
push ecx
mov ecx, esi
jmp 0x48f6fa
mov eax, dword [ebp]
cmp eax, 0x10
jg 0x48f656
lea edx, [eax + eax*2]
mov ecx, 0xf
lea edi, [esp + 0x70]
lea eax, [ebx + edx*2 + 3]
mov dword [esp + 0x10], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
push eax
mov ecx, esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, 0x58ed2309
mul ecx
sub ecx, edx
mov eax, dword [ebp + 8]
shr ecx, 1
add ecx, edx
lea edx, [esp + 0x70]
shr ecx, 6
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
add ecx, 0xfffffff8
push eax
push ecx
push edx
jmp 0x48f6f7
mov ecx, dword [edi + 0x74]
mov edx, dword [ecx - 8]
sub eax, edx
mov edx, dword [edi + 0x70]
inc eax
mov ecx, dword [edx - 8]
sub ecx, 4
cmp eax, ecx
jg 0x48f703
lea edx, [eax + eax*2]
lea eax, [ebx + 6]
lea ecx, [ebx + edx*2 + 3]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x48f686
mov dword [esp + 0x10], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe8]
push eax
rep stosd dword es:[edi], eax
mov ecx, 0xf
lea edi, [esp + 0xec]
rep stosd dword es:[edi], eax
mov ecx, esi
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, eax
mov eax, 0x58ed2309
mul ecx
mov eax, dword [esp + 0x30]
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, dword [ebp + 8]
shr ecx, 6
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, dword [esp + 0x14]
add eax, 0xfffffff8
push edx
push eax
push ecx
lea ecx, [ebp + 0xc]
call sub.CLRenderNewEngine.dll_public:_void___thiscall_CxImage::Draw_int__int__unsigned_int__struct_CxImage::_DRAW_PARA__
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x9c]
inc eax
add ebp, 0x38
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x48f484
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0xc
push 0x4d8eb4
lea ecx, [edi + 0x74]
call sub.MFC42.DLL_CString::operator_1
push 0x4d8eb4
lea ecx, [edi + 0x70]
call sub.MFC42.DLL_CString::operator_1
mov dword [edi + 0x9c], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0xc