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

Disassembly:
push 0xffffffffffffffff
push 0x4b5198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov al, byte [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edi
mov byte [esp + 0x48], al
call fcn.0042b020
lea ecx, [esp + 0x5c]
call fcn.0042b020
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x80], edi
cmp esi, edi
jne 0x42a7af
mov esi, dword [esp + 0x90]
lea ebx, [ebp + 0x4c0]
push edi
mov ecx, ebx
mov ebp, dword [esi]
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov edi, dword [esi + 8]
mov ecx, dword [esi + 4]
sub edi, ebp
mov dword [esp + 0x90], ecx
sub edi, eax
push 0
shr edi, 1
mov ecx, ebx
add edi, ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov ebp, dword [esi + 0xc]
mov edx, eax
mov eax, dword [esp + 0x90]
sub ebp, eax
sub ebp, edx
shr ebp, 1
add ebp, eax
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42a751
mov dword [esp + 0x88], eax
jmp 0x42a75b
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
push 0
push 0
mov ecx, ebx
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, ebx
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x90]
push eax
push 0
push 0
push ebp
push edi
push ecx
mov ecx, ebx
call sub.CLRenderNewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
push 0
mov ecx, ebx
mov dword [esi], edi
mov dword [esi + 4], ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov edi, dword [esi]
push 0
add eax, edi
mov ecx, ebx
mov dword [esi + 8], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
add eax, dword [esi + 4]
mov dword [esi + 0xc], eax
jmp 0x42aa74
xor ebx, ebx
cmp esi, edi
jge 0x42a7d6
push edi
lea ecx, [ebp + 0x4e4]
neg esi
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov dword [esp + 0x8c], eax
mov dword [esp + 0x10], 1
mov ebx, eax
cmp esi, edi
jle 0x42a811
mov eax, esi
mov ecx, 0xa
cdq
idiv ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x8c], edx
lea edx, [esp + 0x8c]
push edx
call fcn.0042ac20
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
cmp esi, edi
jg 0x42a7d8
mov esi, dword [esp + 0x74]
add ebp, 0x4c0
push 0
mov ecx, ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
imul eax, esi
mov esi, dword [esp + 0x90]
add ebx, eax
push 0
mov dword [esp + 0x90], ebx
mov ecx, dword [esi]
mov eax, dword [esi + 8]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
add edi, ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x94], ecx
mov ecx, ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov ebx, dword [esi + 0xc]
mov edx, eax
mov eax, dword [esp + 0x90]
push 0
sub ebx, eax
mov ecx, ebp
sub ebx, edx
mov dword [esi], edi
shr ebx, 1
add ebx, eax
mov eax, dword [esp + 0x90]
add eax, edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
add eax, dword [esi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42a8f6
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42a8ac
mov dword [esp + 0x90], eax
jmp 0x42a8b6
mov ecx, dword [eax + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x14]
push 0
push 0
lea esi, [edx + 0x4e4]
mov ecx, esi
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, esi
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push eax
mov eax, dword [esp + 0x9c]
push 0
push 0
push ebx
push edi
push eax
mov ecx, esi
call sub.CLRenderNewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
push 0
mov ecx, esi
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
add edi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x42ab1d
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
push 0xffffffffffffffff
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.0042b060
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
mov eax, dword [edx]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
cmp ecx, eax
jne 0x42aa00
mov eax, dword [esp + 0x68]
mov ecx, eax
sub eax, 4
mov dword [esp + 0x68], eax
mov edx, dword [ecx]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x78]
add esp, 4
test eax, eax
jne 0x42a9c9
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jne 0x42a981
mov eax, dword [eax]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
call fcn.0042b020
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
push ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x42aa00
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x38]
push eax
mov edx, dword [eax]
add edx, 0x1000
push edx
call fcn.0042b030
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x42aa0d
sub dword [esp + 0x64], 4
mov eax, dword [esp + 0x74]
dec eax
mov dword [esp + 0x74], eax
jne 0x42aa21
lea ecx, [esp + 0x48]
call fcn.0042af20
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x42aa30
xor esi, esi
jmp 0x42aa33
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0x90]
push ecx
push 0
mov ecx, ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push eax
push 0
push 0
push ebx
push edi
push esi
mov ecx, ebp
call sub.CLRenderNewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
push 0
mov ecx, ebp
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
add edi, eax
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x42a902
mov eax, dword [esp + 0x74]
test eax, eax
je 0x42ab1d
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
add esi, 4
dec ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x74], ecx
je 0x42aaa0
cmp esi, dword [esp + 0x50]
jne 0x42ab11
mov ecx, eax
add eax, 4
mov dword [esp + 0x58], eax
mov edx, dword [ecx]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x78]
add esp, 4
test eax, eax
jne 0x42aafb
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
xor edx, edx
xor esi, esi
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
add esp, 4
jmp 0x42ab11
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov esi, ecx
mov dword [esp + 0x4c], ecx
lea edx, [ecx + 0x1000]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x74]
test ecx, ecx
jne 0x42aa88
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc