Function at 0x48f580
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0x3000c
call fcn.0051bfb0
fild dword [0x13144b8]
push ebx
push ebp
push esi
push edi
push 0x447a0000
push 0xc47a0000
push 0
mov ecx, 0xc000
sub esp, 8
mov eax, 0x80808080
lea edi, [esp + 0x30]
fstp dword [esp + 4]
fild dword [0x13144b4]
rep stosd dword es:[edi], eax
fstp dword [esp]
mov eax, dword [0x13144b8]
mov ecx, dword [0x13144b4]
push 0
push eax
push ecx
push 0
push 0
call fcn.004b8cb0
push str.________profiling_DrawBackground_methods_________n
call fcn.0044cf60
lea edx, [esp + 0x48]
push edx
push 1
push 0x100
push 0x100
call fcn.004b8800
lea eax, [esp + 0x58]
push eax
push 0
push 0x100
push 0x100
call fcn.004b8800
add esp, 0x4c
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b8620
lea edx, [esp + 0x2c]
push edx
push 0
push 0x100
push 0x100
call fcn.004b8620
lea eax, [esp + 0x3c]
push eax
push 1
push 0x100
push 0x100
call fcn.004b8800
add esp, 0x30
push eax
push edx
rdtsc
mov dword [esp + 0x20], eax
pop edx
pop eax
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b8800
add esp, 0x10
push eax
push edx
rdtsc
sub eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
pop edx
pop eax
mov edi, dword [esp + 0x30020]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
mov ebx, 1
push edx
push 0
push 0x100
push 0x100
mov dword [edi + 0x78], fcn.004b8800
call fcn.004b8800
add esp, 0x10
push eax
push edx
rdtsc
mov dword [esp + 0x1c], eax
pop edx
pop eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x100
push 0x100
call fcn.004b8800
add esp, 0x10
push eax
push edx
rdtsc
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
pop edx
pop eax
mov eax, dword [esp + 0x14]
cmp eax, esi
jge 0x48f6fb
mov esi, eax
xor ebx, ebx
mov dword [edi + 0x78], fcn.004b8800
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b8620
add esp, 0x10
push eax
push edx
rdtsc
mov dword [esp + 0x18], eax
pop edx
pop eax
lea edx, [esp + 0x1c]
push edx
push 1
push 0x100
push 0x100
call fcn.004b8620
add esp, 0x10
push eax
push edx
rdtsc
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
pop edx
pop eax
mov ebp, dword [esp + 0x10]
cmp ebp, esi
jge 0x48f75b
mov esi, ebp
mov ebx, 1
mov dword [edi + 0x78], fcn.004b8620
lea eax, [esp + 0x1c]
push eax
push 0
push 0x100
push 0x100
call fcn.004b8620
add esp, 0x10
push eax
push edx
rdtsc
mov dword [esp + 0x18], eax
pop edx
pop eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x100
push 0x100
call fcn.004b8620
add esp, 0x10
push eax
push edx
rdtsc
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
pop edx
pop eax
cmp dword [esp + 0x10], esi
jge 0x48f7b4
xor ebx, ebx
mov dword [edi + 0x78], fcn.004b8620
mov edx, dword [esp + 0x18]
push edx
push str.glDrawPixels_w__BGR:__i_clocks_n
call fcn.0044cf60
mov eax, dword [esp + 0x1c]
push eax
push str.glDrawPixels_w__RGB:__i_clocks_n
call fcn.0044cf60
push ebp
push str.glTexSubImage2D_w__BGR:__i_clocks_n
call fcn.0044cf60
mov ecx, dword [esp + 0x28]
push ecx
push str.glTexSubImage2D_w__RGB:__i_clocks_n
call fcn.0044cf60
mov eax, dword [edi + 0x78]
add esp, 0x20
cmp eax, fcn.004b8800
mov eax, 0x55a388
jne 0x48f820
test ebx, ebx
jne 0x48f807
mov eax, 0x55a384
push eax
push str.DrawBackground:_using_glDrawPixels_with__s_data_n
call fcn.0044cf60
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000c
ret
test ebx, ebx
jne 0x48f829
mov eax, 0x55a384
push eax
push str.DrawBackground:_using_glTexSubImage2D_with__s_data_n
call fcn.0044cf60
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000c
ret