Function at 0x48f4f0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, 0x3000c
call fcn.0051bf10
fild dword [0x13144f8]
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 [0x13144f4]
rep stosd dword es:[edi], eax
fstp dword [esp]
mov eax, dword [0x13144f8]
mov ecx, dword [0x13144f4]
push 0
push eax
push ecx
push 0
push 0
call fcn.004b8c20
push str.________profiling_DrawBackground_methods_________n
call fcn.0044cdc0
lea edx, [esp + 0x48]
push edx
push 1
push 0x100
push 0x100
call fcn.004b8770
lea eax, [esp + 0x58]
push eax
push 0
push 0x100
push 0x100
call fcn.004b8770
add esp, 0x4c
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b8590
lea edx, [esp + 0x2c]
push edx
push 0
push 0x100
push 0x100
call fcn.004b8590
lea eax, [esp + 0x3c]
push eax
push 1
push 0x100
push 0x100
call fcn.004b8770
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.004b8770
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.004b8770
call fcn.004b8770
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.004b8770
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 0x48f66b
mov esi, eax
xor ebx, ebx
mov dword [edi + 0x78], fcn.004b8770
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0x100
push 0x100
call fcn.004b8590
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.004b8590
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 0x48f6cb
mov esi, ebp
mov ebx, 1
mov dword [edi + 0x78], fcn.004b8590
lea eax, [esp + 0x1c]
push eax
push 0
push 0x100
push 0x100
call fcn.004b8590
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.004b8590
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 0x48f724
xor ebx, ebx
mov dword [edi + 0x78], fcn.004b8590
mov edx, dword [esp + 0x18]
push edx
push str.glDrawPixels_w__BGR:__i_clocks_n
call fcn.0044cdc0
mov eax, dword [esp + 0x1c]
push eax
push str.glDrawPixels_w__RGB:__i_clocks_n
call fcn.0044cdc0
push ebp
push str.glTexSubImage2D_w__BGR:__i_clocks_n
call fcn.0044cdc0
mov ecx, dword [esp + 0x28]
push ecx
push str.glTexSubImage2D_w__RGB:__i_clocks_n
call fcn.0044cdc0
mov eax, dword [edi + 0x78]
add esp, 0x20
cmp eax, fcn.004b8770
mov eax, 0x55a3d0
jne 0x48f790
test ebx, ebx
jne 0x48f777
mov eax, 0x55a3cc
push eax
push str.DrawBackground:_using_glDrawPixels_with__s_data_n
call fcn.0044cdc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000c
ret
test ebx, ebx
jne 0x48f799
mov eax, 0x55a3cc
push eax
push str.DrawBackground:_using_glTexSubImage2D_with__s_data_n
call fcn.0044cdc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3000c
ret