Function at 0x4a05d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe796
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x54c2c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4a0880
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4a0626
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
test eax, eax
je 0x4a0626
mov dword [edi + 4], eax
mov edi, dword [esi + 0x34]
test edi, edi
je 0x4a0641
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
push eax
push edx
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
test eax, eax
je 0x4a0641
mov dword [edi + 4], eax
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4a065f
mov eax, dword [edi]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push edi
call dword [sym.imp.gdiplus.dll_GdipFree]
mov dword [esi + 0x30], 0
mov edi, dword [esi + 0x34]
test edi, edi
je 0x4a067d
mov ecx, dword [edi]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push edi
call dword [sym.imp.gdiplus.dll_GdipFree]
mov dword [esi + 0x34], 0
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4a0693
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4a06a9
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x3c], 0
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x18]
push edx
push ebx
mov edx, esi
call fcn.004a08a0
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x1c]
push eax
push ebx
mov edx, esi
call fcn.004a08a0
mov ecx, dword [esi + 8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [sym.imp.gdiplus.dll_GdipAlloc]
push 8
call ebx
mov edi, eax
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x4a0705
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x4a0707
xor edi, edi
mov dword [ebp - 4], 0xffffffff
push 8
mov dword [esi + 0x30], edi
call ebx
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
xor ebx, ebx
cmp edi, ebx
je 0x4a0742
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edx, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [edi], edx
jmp 0x4a0744
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + ebx*4 - 0x18]
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.gdiplus.dll_GdipSetCompositingMode]
test eax, eax
je 0x4a076d
mov dword [edi + 4], eax
mov ecx, dword [edi]
push 1
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetCompositingQuality]
test eax, eax
je 0x4a077f
mov dword [edi + 4], eax
mov edx, dword [edi]
push 1
push edx
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x4a0791
mov dword [edi + 4], eax
mov eax, dword [edi]
push 4
push eax
call dword [sym.imp.gdiplus.dll_GdipSetPixelOffsetMode]
test eax, eax
je 0x4a07a3
mov dword [edi + 4], eax
mov ecx, dword [edi]
push 5
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
test eax, eax
je 0x4a07b5
mov dword [edi + 4], eax
inc ebx
cmp ebx, 2
jb 0x4a0757
push 0x14
call fcn.004e1585
add esp, 4
test eax, eax
jne 0x4a07dc
push 0x531dcc
lea edx, [ebp + 0xb]
xor al, al
push edx
mov byte [ebp + 0xb], al
call fcn.004e667f
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x34]
mov dword [eax + 4], edx
lea edx, [esi + 0xc]
lea edi, [esi + 0x14]
or ebx, 0xffffffff
mov dword [eax], vtable.CDrawObject.0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov dword [ebp - 4], ebx
push 0x14
mov dword [esi + 0x38], eax
call fcn.004e1585
add esp, 4
test eax, eax
jne 0x4a082e
xor al, al
mov byte [ebp + 0xb], al
push 0x531dcc
lea eax, [ebp + 0xb]
push eax
call fcn.004e667f
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x30]
mov dword [eax + 4], edx
lea edx, [esi + 0x10]
mov dword [eax], vtable.CDrawObject.0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], 1
call fcn.004a0b40
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4