Function at 0x4a34b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e5236
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x521390]
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 0x4a3760
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4a3506
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
test eax, eax
je 0x4a3506
mov dword [edi + 4], eax
mov edi, dword [esi + 0x34]
test edi, edi
je 0x4a3521
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
push eax
push edx
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
test eax, eax
je 0x4a3521
mov dword [edi + 4], eax
mov edi, dword [esi + 0x30]
test edi, edi
je 0x4a353f
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 0x4a355d
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 0x4a3573
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 0x4a3589
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.004a3780
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x1c]
push eax
push ebx
mov edx, esi
call fcn.004a3780
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 0x4a35e5
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 0x4a35e7
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 0x4a3622
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 0x4a3624
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 0x4a364d
mov dword [edi + 4], eax
mov ecx, dword [edi]
push 1
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetCompositingQuality]
test eax, eax
je 0x4a365f
mov dword [edi + 4], eax
mov edx, dword [edi]
push 1
push edx
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x4a3671
mov dword [edi + 4], eax
mov eax, dword [edi]
push 4
push eax
call dword [sym.imp.gdiplus.dll_GdipSetPixelOffsetMode]
test eax, eax
je 0x4a3683
mov dword [edi + 4], eax
mov ecx, dword [edi]
push 5
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
test eax, eax
je 0x4a3695
mov dword [edi + 4], eax
inc ebx
cmp ebx, 2
jb 0x4a3637
push 0x14
call fcn.004cca95
add esp, 4
test eax, eax
jne 0x4a36bc
push 0x50f9a4
lea edx, [ebp + 0xb]
xor al, al
push edx
mov byte [ebp + 0xb], al
call fcn.004cfdba
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.004cca95
add esp, 4
test eax, eax
jne 0x4a370e
xor al, al
mov byte [ebp + 0xb], al
push 0x50f9a4
lea eax, [ebp + 0xb]
push eax
call fcn.004cfdba
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.004a3a20
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