Function at 0x48bb50
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0x3000c
call fcn.005182b0
fild dword [0x12fff1c]
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 [0x12fff18]
rep stosd dword es:[edi], eax
fstp dword [esp]
mov eax, dword [0x12fff1c]
mov ecx, dword [0x12fff18]
push 0
push eax
push ecx
push 0
push 0
call fcn.004b51e0
push str.________profiling_DrawBackground_methods_________n
call fcn.0044a560
lea edx, [esp + 0x48]
push edx
push 1
push 0x100
push 0x100
call fcn.004b4d30
lea eax, [esp + 0x58]
push eax
push 0
push 0x100
push 0x100
call fcn.004b4d30
add esp, 0x4c
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b4b50
lea edx, [esp + 0x2c]
push edx
push 0
push 0x100
push 0x100
call fcn.004b4b50
lea eax, [esp + 0x3c]
push eax
push 1
push 0x100
push 0x100
call fcn.004b4d30
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.004b4d30
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 + 0x7c], fcn.004b4d30
call fcn.004b4d30
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.004b4d30
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 0x48bccb
mov esi, eax
xor ebx, ebx
mov dword [edi + 0x7c], fcn.004b4d30
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b4b50
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.004b4b50
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 0x48bd2b
mov esi, ebp
mov ebx, 1
mov dword [edi + 0x7c], fcn.004b4b50
lea eax, [esp + 0x1c]
push eax
push 0
push 0x100
push 0x100
call fcn.004b4b50
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.004b4b50
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 0x48bd84
xor ebx, ebx
mov dword [edi + 0x7c], fcn.004b4b50
mov edx, dword [esp + 0x18]
push edx
push str.glDrawPixels_w__BGR:__i_clocks_n
call fcn.0044a560
mov eax, dword [esp + 0x1c]
push eax
push str.glDrawPixels_w__RGB:__i_clocks_n
call fcn.0044a560
push ebp
push str.glTexSubImage2D_w__BGR:__i_clocks_n
call fcn.0044a560
mov ecx, dword [esp + 0x28]
push ecx
push str.glTexSubImage2D_w__RGB:__i_clocks_n
call fcn.0044a560
mov eax, dword [edi + 0x7c]
add esp, 0x20
cmp eax, fcn.004b4d30
mov eax, 0x555d6c
jne 0x48bdf0
test ebx, ebx
jne 0x48bdd7
mov eax, 0x555d68
push eax
push str.DrawBackground:_using_glDrawPixels_with__s_data_n
call fcn.0044a560
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000c
ret
test ebx, ebx
jne 0x48bdf9
mov eax, 0x555d68
push eax
push str.DrawBackground:_using_glTexSubImage2D_with__s_data_n
call fcn.0044a560
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000c
ret