Function at 0x1004d150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov byte [esp + 0x3b], 0
test esi, esi
jne 0x1004d185
push str.OGLRenderQueue_flushBuffer:_cannot_get_direct_buffer_address
push 1
push 1
call fcn.10094315
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
add eax, esi
mov dword [esp + 0x78], eax
cmp esi, eax
mov eax, dword [0x100fe068]
mov dword [0x10100f18], 0xffffffff
jae 0x1004dd68
mov ecx, dword [esi]
add esi, 4
lea edx, [ecx - 0xa]
cmp edx, 0x73
ja case.0x1004d1bd.17
movzx edx, byte [edx + 0x1004de98]
jmp dword [edx*4 + 0x1004ddd0]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
add esi, 0x10
push ebx
push edi
push edx
push ecx
push eax
call fcn.1004df10
add esp, 0x14
jmp 0x1004dd59
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
add esi, 0x10
push ebx
push edi
push edx
push ecx
push eax
call fcn.1004e120
add esp, 0x14
jmp 0x1004dd59
mov edi, dword [esi]
mov cl, byte [esi + 4]
mov edx, dword [esi + 8]
add esi, 0x10
lea ebx, [esi + edi*4]
push ebx
mov ebx, dword [esi - 4]
push esi
push ebx
push edx
movzx ecx, cl
push ecx
push edi
push eax
call fcn.1004e2c0
add esp, 0x1c
lea esi, [esi + edi*8]
jmp 0x1004dd59
mov edi, dword [esi]
mov ebx, dword [esi + 4]
add esi, 8
test eax, eax
je case.0x1004d1bd.90
push 1
call fcn.1004d020
add esp, 4
push ebx
push edi
call dword [0x10101050]
inc ebx
push ebx
inc edi
push edi
call dword [0x10101050]
jmp 0x1004dd59
mov edi, dword [esi]
add esi, 4
push esi
push edi
push eax
call fcn.1004e500
lea edx, [edi + edi*2]
add esp, 0xc
lea esi, [esi + edx*4]
jmp 0x1004dd59
fld dword [esi]
sub esp, 0x20
fstp dword [esp + 0x44]
add esi, 0x20
fld dword [esi - 0x1c]
fstp dword [esp + 0x48]
fld dword [esi - 0x18]
fstp dword [esp + 0x50]
fld dword [esi - 0x14]
fstp dword [esp + 0x4c]
fld dword [esi - 0x10]
fstp dword [esp + 0x5c]
fld dword [esi - 0xc]
fstp dword [esp + 0x60]
fld dword [esi - 8]
fstp dword [esp + 0x54]
fld dword [esi - 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x54]
fstp dword [esp + 0x18]
fld dword [esp + 0x60]
fstp dword [esp + 0x14]
fld dword [esp + 0x5c]
fstp dword [esp + 0x10]
fld dword [esp + 0x4c]
fstp dword [esp + 0xc]
fld dword [esp + 0x50]
fstp dword [esp + 8]
fld dword [esp + 0x48]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fstp dword [esp]
push eax
call fcn.1004e730
add esp, 0x24
jmp 0x1004dd59
fld dword [esi]
mov ecx, dword [0x100fe06c]
fstp dword [esp + 0x3c]
sub esp, 0x20
fld dword [esi + 4]
add esi, 0x20
fstp dword [esp + 0x60]
fld dword [esi - 0x18]
fstp dword [esp + 0x54]
fld dword [esi - 0x14]
fstp dword [esp + 0x4c]
fld dword [esi - 0x10]
fstp dword [esp + 0x50]
fld dword [esi - 0xc]
fstp dword [esp + 0x48]
fld dword [esi - 8]
fstp dword [esp + 0x44]
fld dword [esi - 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x48]
fstp dword [esp + 0x14]
fld dword [esp + 0x50]
fstp dword [esp + 0x10]
fld dword [esp + 0x4c]
fstp dword [esp + 0xc]
fld dword [esp + 0x54]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0x5c]
fstp dword [esp]
push ecx
push eax
call fcn.1004f540
add esp, 0x28
jmp 0x1004dd59
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
add esi, 0x10
push ebx
push edi
push edx
push ecx
push eax
call fcn.1004e590
add esp, 0x14
jmp 0x1004dd59
mov edi, dword [esi]
add esi, 4
push esi
push edi
push eax
call fcn.1004e5f0
shl edi, 4
add esp, 0xc
add esi, edi
jmp 0x1004dd59
fld dword [esi]
sub esp, 0x18
fstp dword [esp + 0x4c]
add esi, 0x18
fld dword [esi - 0x14]
fstp dword [esp + 0x44]
fld dword [esi - 0x10]
fstp dword [esp + 0x48]
fld dword [esi - 0xc]
fstp dword [esp + 0x40]
fld dword [esi - 8]
fstp dword [esp + 0x3c]
fld dword [esi - 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0x40]
fstp dword [esp + 0xc]
fld dword [esp + 0x48]
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
push eax
call fcn.1004e660
add esp, 0x1c
jmp 0x1004dd59
fld dword [esi]
mov edx, dword [0x100fe06c]
fstp dword [esp + 0x34]
sub esp, 0x18
fld dword [esi + 4]
add esi, 0x18
fstp dword [esp + 0x44]
fld dword [esi - 0x10]
fstp dword [esp + 0x48]
fld dword [esi - 0xc]
fstp dword [esp + 0x40]
fld dword [esi - 8]
fstp dword [esp + 0x3c]
fld dword [esi - 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0x40]
fstp dword [esp + 0xc]
fld dword [esp + 0x48]
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x4c]
fstp dword [esp]
push edx
push eax
call fcn.10094315
add esp, 0x20
jmp 0x1004dd59
mov ecx, dword [esi]
fld dword [esi + 8]
mov dword [esp + 0x3c], ecx
fstp dword [esp + 0x28]
mov ecx, dword [esi + 4]
fld dword [esi + 0xc]
mov ebx, ecx
fstp dword [esp + 0x24]
sar ebx, 1
and bl, 1
mov byte [esp + 0x80], bl
mov ebx, ecx
mov dl, cl
sar ebx, 2
add esi, 0x10
and bl, 1
and dl, 1
sar ecx, 8
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x64], dl
movzx ecx, cl
test dl, dl
je 0x1004d4e4
lea edx, [esi + ebx*8]
mov edi, 0x10
jmp 0x1004d4e9
xor edx, edx
lea edi, [edx + 8]
fld dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x70]
push esi
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x38]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [0x100fe06c]
push edx
mov edx, dword [ebp + 8]
push ebx
push ecx
push eax
push edx
call fcn.10094315
imul edi, ebx
add esp, 0x30
add esi, edi
jmp 0x1004dd59
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x24], ebx
mov ebx, dword [esi + 0x14]
push ebx
mov ebx, dword [esp + 0x28]
add esi, 0x18
push ebx
mov ebx, dword [esp + 0x30]
push ebx
push edi
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [0x100fe06c]
push ecx
push eax
push edx
call fcn.10049980
add esp, 0x24
jmp 0x1004dd59
mov ebx, dword [esi + 0xc]
fld qword [esi + 0x14]
mov ecx, dword [esi]
fld qword [esi + 0x1c]
mov dword [esp + 0x40], ebx
fld qword [esi + 0x24]
mov ebx, dword [esi + 0x10]
fld qword [esi + 0x2c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esi + 0x34]
mov dword [esp + 0x50], ebx
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x54], ebx
mov edx, dword [esi + 8]
mov edi, dword [esi + 4]
mov ebx, ecx
sar ebx, 8
movzx ebx, bl
mov dword [esp + 0x34], ebx
sub esp, 0x20
mov ebx, ecx
sar ebx, 3
and bl, 1
fstp qword [esp + 0x18]
mov byte [esp + 0x68], bl
fstp qword [esp + 0x10]
mov ebx, ecx
sar ebx, 1
fstp qword [esp + 8]
and bl, 1
mov byte [esp + 0x64], bl
mov ebx, dword [esp + 0x5c]
fstp qword [esp]
push ebx
mov ebx, dword [esp + 0x64]
push ebx
push edx
mov edx, dword [esp + 0x74]
add esi, 0x44
push edi
test cl, 1
je 0x1004d62e
sar ecx, 2
and cl, 1
movzx ecx, cl
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esi - 4]
push edx
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esi - 8]
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10094315
add esp, 0x58
jmp 0x1004dd59
push edx
mov edx, dword [esp + 0x68]
sar ecx, 0x10
movzx ecx, cl
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esi - 4]
push ecx
mov ecx, dword [esi - 8]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
push edx
call fcn.10094315
add esp, 0x58
jmp 0x1004dd59
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x30], ebx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x28], ebx
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x24], ebx
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x88], ebx
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x38]
push ebx
push edi
push edx
mov edx, dword [esi + 0x28]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esi + 0x24]
push edx
mov edx, dword [esp + 0xac]
add esi, 0x2c
push ecx
mov ecx, dword [esp + 0xac]
push edx
mov edx, dword [ebp + 8]
push ecx
push eax
push edx
call fcn.10049690
add esp, 0x34
jmp 0x1004dd59
mov edi, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0x30], edi
mov edi, dword [esi + 0x10]
mov dword [esp + 0x28], edi
mov edi, dword [esi + 0x14]
xor ebx, ebx
add esi, 0x1c
mov dword [esp + 0x24], edi
mov edi, dword [esi - 4]
test edi, edi
setle bl
dec ebx
and ebx, esi
push ebx
mov ebx, dword [esp + 0x28]
push edi
push ebx
mov ebx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x40]
push ebx
push edx
push ecx
push eax
call fcn.1004c1f0
add esp, 0x24
add esi, edi
jmp 0x1004dd59
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
add esi, 0x10
push esi
push edi
push ebx
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1004c060
add esp, 0x1c
imul edi, ebx
lea esi, [esi + edi*4]
jmp 0x1004dd59
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
add esi, 0x10
push ebx
push edi
push edx
push ecx
mov ecx, dword [0x100fe06c]
push ecx
push eax
call fcn.1004a5d0
add esp, 0x18
jmp 0x1004dd59
push eax
call fcn.1004a650
jmp 0x1004dd56
mov edx, dword [0x100fe06c]
push edx
push eax
call fcn.1004a6e0
add esp, 8
jmp 0x1004dd59
push eax
call fcn.1004a5a0
jmp 0x1004dd56
mov ecx, dword [esi]
fld dword [esi + 4]
mov edx, dword [esi + 8]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
add esi, 0xc
push edx
push ecx
fstp dword [esp]
push ecx
push eax
call fcn.1004a7e0
add esp, 0x10
jmp 0x1004dd59
mov ecx, dword [esi]
add esi, 4
push ecx
push eax
call fcn.1004a890
add esp, 8
jmp 0x1004dd59
push eax
call fcn.1004a780
jmp 0x1004dd56
fld qword [esi]
sub esp, 0x30
fld qword [esi + 8]
add esi, 0x30
fld qword [esi - 0x20]
fld qword [esi - 0x18]
fld qword [esi - 0x10]
fld qword [esi - 8]
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
push eax
call fcn.1004a930
add esp, 0x34
jmp 0x1004dd59
push eax
call fcn.1004a900
jmp 0x1004dd56
mov edx, dword [esi + 4]
mov ebx, dword [esi]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
add esi, 0x10
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa4], ecx
test eax, eax
je 0x1004d873
push 0xffffffffffffffff
call fcn.1004d020
add esp, 4
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb4]
mov ecx, dword [ebp + 8]
push edx
push edi
push eax
push ebx
push ecx
call fcn.1004a4d0
add esp, 0x14
mov dword [0x100fe068], eax
mov dword [0x100fe06c], edi
jmp case.0x1004d1bd.90
mov edi, dword [esi]
mov ebx, dword [esi + 4]
add esi, 8
test eax, eax
je 0x1004d8b7
push 0xffffffffffffffff
call fcn.1004d020
add esp, 4
mov edx, dword [ebp + 8]
push ebx
push edi
push edx
call fcn.1006d900
add esp, 0xc
mov dword [0x100fe068], eax
mov dword [0x100fe06c], 0
jmp case.0x1004d1bd.90
mov edi, dword [esi]
add esi, 8
test edi, edi
je case.0x1004d1bd.90
test eax, eax
je case.0x1004d1bd.90
push 0xffffffffffffffff
call fcn.1004d020
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.1004fb6d
add esp, 0xc
jmp 0x1004dd59
mov edi, dword [esi]
add esi, 8
test edi, edi
je case.0x1004d1bd.90
test eax, eax
je case.0x1004d1bd.90
push 0xffffffffffffffff
call fcn.1004d020
mov ecx, dword [ebp + 8]
push edi
push ecx
call fcn.1004fb6d
mov edi, dword [edi + 0x1c]
add esp, 0xc
test edi, edi
je 0x1004dd59
push edi
call dword [sym.imp.MSVCR100.dll_free]
jmp 0x1004dd56
mov edi, dword [esi]
mov ebx, dword [esi + 4]
add esi, 8
test eax, eax
je case.0x1004d1bd.90
push 0xffffffffffffffff
call fcn.1004d020
push ebx
push edi
call fcn.1006cd10
add esp, 0xc
xor eax, eax
mov dword [0x100fe068], eax
mov dword [0x100fe06c], eax
jmp case.0x1004d1bd.90
test eax, eax
je 0x1004d98d
push 0xffffffffffffffff
call fcn.1004d020
add esp, 4
call dword [0x10100f90]
xor eax, eax
mov dword [0x100fe068], eax
mov dword [0x100fe06c], eax
jmp case.0x1004d1bd.90
push 0xfffff
call dword [0x10100f6c]
push 0xffffffffffffffff
call dword [0x10101070]
push 0x1700
call dword [0x10100fd8]
call dword [0x101010b4]
push 0x1701
call dword [0x10100fd8]
call dword [0x101010b4]
push 0x1702
call dword [0x10100fd8]
call dword [0x101010b4]
jmp 0x1004dd59
call dword [0x10100f50]
call dword [0x10101058]
push 0x1700
call dword [0x10100fd8]
call dword [0x10100ff0]
push 0x1701
call dword [0x10100fd8]
call dword [0x10100ff0]
push 0x1702
call dword [0x10100fd8]
call dword [0x10100ff0]
jmp 0x1004dd59
mov byte [esp + 0x3b], 1
jmp case.0x1004d1bd.90
mov edi, dword [esi]
mov ebx, dword [esi + 4]
add esi, 8
test eax, eax
je 0x1004da4d
push 0xffffffffffffffff
call fcn.1004d020
add esp, 4
mov edx, dword [ebp + 8]
push ebx
push edi
push edx
call fcn.1006deb0
add esp, 0xc
jmp 0x1004dd59
push eax
call fcn.1004c380
jmp 0x1004dd56
mov ecx, dword [esi]
add esi, 4
push ecx
push eax
call fcn.1004c4c0
add esp, 8
jmp 0x1004dd59
mov cl, byte [esi + 4]
fld qword [esi + 8]
fld qword [esi + 0x10]
mov dl, byte [esi]
fld qword [esi + 0x18]
mov byte [esp + 0x94], cl
mov ecx, dword [esi + 0x20]
mov byte [esp + 0x5c], dl
mov edx, dword [esi + 0x24]
push edx
mov edx, dword [esp + 0x60]
add esi, 0x28
push ecx
mov ecx, dword [esp + 0x9c]
sub esp, 0x18
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
push ecx
push edx
push eax
call fcn.1004c5f0
add esp, 0x2c
jmp 0x1004dd59
mov cl, byte [esi]
fld dword [esi + 0x10]
mov dl, byte [esi + 4]
fstp dword [esp + 0x2c]
mov edi, dword [esi + 8]
fld dword [esi + 0x14]
fstp dword [esp + 0x30]
mov byte [esp + 0x74], cl
mov ecx, dword [esi + 0xc]
fld dword [esi + 0x18]
mov byte [esp + 0x90], dl
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
lea edx, [ecx*4]
add esi, 0x1c
mov dword [esp + 0x24], esi
add esi, edx
push esi
add esi, edx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x7c]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0xa8]
push edi
push ecx
mov ecx, dword [0x100fe06c]
push edx
push ecx
push eax
call fcn.1004cd50
add esp, 0x2c
jmp 0x1004dd59
fld dword [esi + 0x10]
mov cl, byte [esi + 4]
fstp dword [esp + 0x9c]
mov dl, byte [esi]
fld dword [esi + 0x14]
mov edi, dword [esi + 0xc]
fstp dword [esp + 0x3c]
mov byte [esp + 0x7c], cl
fld dword [esi + 0x18]
mov ecx, dword [esi + 8]
fstp dword [esp + 0x40]
mov byte [esp + 0x98], dl
fld dword [esi + 0x1c]
lea edx, [ecx*4]
fstp dword [esp + 0x34]
add esi, 0x2c
fld dword [esi - 0xc]
mov dword [esp + 0x24], esi
fstp dword [esp + 0x2c]
fld dword [esi - 8]
fstp dword [esp + 0x30]
fld dword [esi - 4]
add esi, edx
fstp dword [esp + 0x28]
push esi
fld dword [esp + 0x2c]
add esi, edx
mov edx, dword [esp + 0x28]
push edx
sub esp, 0x1c
fstp dword [esp + 0x18]
mov edx, dword [esp + 0xbc]
fld dword [esp + 0x54]
fstp dword [esp + 0x14]
fld dword [esp + 0x50]
fstp dword [esp + 0x10]
fld dword [esp + 0x58]
fstp dword [esp + 0xc]
fld dword [esp + 0x64]
fstp dword [esp + 8]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fld dword [esp + 0xc0]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0xa4]
push edi
push ecx
mov ecx, dword [0x100fe06c]
push edx
push ecx
push eax
call fcn.1004ce70
add esp, 0x3c
jmp 0x1004dd59
fld qword [esi + 0x10]
mov dl, byte [esi]
mov cl, byte [esi + 4]
fld qword [esi + 0x18]
fld qword [esi + 0x20]
sub esp, 0x30
fld qword [esi + 0x28]
mov byte [esp + 0x90], dl
mov edx, dword [esi + 0xc]
fld qword [esi + 0x30]
fld qword [esi + 0x38]
mov byte [esp + 0xb4], cl
mov ecx, dword [esi + 8]
fstp qword [esp + 0x28]
mov edi, dword [esp + 0xb4]
fstp qword [esp + 0x20]
add esi, 0x40
fstp qword [esp + 0x18]
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
push edi
push edx
mov edx, dword [esp + 0x98]
push ecx
push edx
push eax
call fcn.1004c760
add esp, 0x44
jmp 0x1004dd59
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov dword [esp + 0xac], edx
mov dl, byte [esi + 8]
add esi, 0x14
push esi
push edi
mov byte [esp + 0x70], dl
mov edx, dword [esp + 0x70]
push ebx
push edx
mov edx, dword [esp + 0xbc]
push edx
push ecx
push eax
call fcn.10049bb0
add esp, 0x1c
imul edi, ebx
lea esi, [esi + edi*4]
jmp 0x1004dd59
push eax
call fcn.1004a080
jmp 0x1004dd56
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 0xc
lea edi, [esi + 0x10]
push edi
movzx edi, byte [esi - 4]
push esi
push edi
push edx
push ecx
push eax
call fcn.10049f80
add esp, 0x18
add esi, 0x20
jmp 0x1004dd59
push eax
call fcn.1004a080
jmp 0x1004dd56
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov dword [esp + 0xbc], edx
movzx edx, byte [esi + 8]
mov byte [esp + 0x70], dl
movzx edx, byte [esi + 0xc]
mov byte [esp + 0x4c], dl
mov edx, dword [esi + 0x18]
add esi, 0x1c
push esi
push edx
mov edx, dword [esp + 0x54]
push ebx
push edi
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0xd4]
push edx
push ecx
push eax
call fcn.1004a190
xor eax, eax
add esp, 0x24
cmp byte [esp + 0x4c], al
setne al
inc eax
imul eax, ebx
imul eax, edi
add esi, eax
jmp 0x1004dd59
push eax
call fcn.1004a370
add esp, 4
mov eax, dword [0x100fe068]
cmp esi, dword [esp + 0x78]
jb 0x1004d1a5
test eax, eax
je 0x1004ddc5
push 0xffffffffffffffff
call fcn.1004d020
add esp, 4
cmp byte [esp + 0x3b], 0
je 0x1004ddb3
call dword [0x10101004]
jmp 0x1004ddb9
push ecx
push str.OGLRenderQueue_flushBuffer:_invalid_opcode_d
push 1
push 1
call fcn.10094315
add esp, 0x10
cmp dword [0x100fe068], 0
je 0x1004ddc5
push 0xffffffffffffffff
call fcn.1004d020
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call dword [0x10100f90]
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006df50
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14