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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x10243228]
xor eax, ebp
mov dword [esp + 0x88], eax
cmp byte [0x10246a51], 0
je 0x1007b4c8
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x20], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0x24], xmm0
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x3c], ebx
mov edi, dword [ebx + 0x4c]
sub edi, dword [ebx + 0x48]
mov esi, edi
sar esi, 2
mov dword [esp + 0x40], esi
movdqu xmmword [esp + 0x44], xmm0
test edi, edi
je 0x1007aeb5
cmp esi, sym.libGLESv2.dll_Ordinal_0
jae 0x1007b4e7
call fcn.1006f430
shl edi, 2
mov ecx, eax
push 4
push edi
call fcn.10041e8a
mov dword [esp + 0x44], eax
shl esi, 4
add esi, eax
mov dword [esp + 0x4c], esi
push edi
push 0
push eax
call fcn.101db130
add esp, 0xc
mov dword [esp + 0x48], esi
pxor xmm0, xmm0
movdqu xmmword [esp + 0x60], xmm0
movdqu xmmword [esp + 0x54], xmm0
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x18], ecx
cmp eax, ecx
je 0x1007b4bb
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], edx
lea eax, [edx + 0x54]
mov dword [esp + 0xc], edx
mov edx, dword [edx + 0x58]
mov dword [esp + 0x10], eax
cmp edx, eax
je 0x1007b4a6
lea eax, [edx - 4]
test edx, edx
mov dword [esp + 8], edx
cmove eax, edx
cmp byte [eax + 0x14], 0
jne 0x1007af55
mov edi, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
cmp ebx, edi
je 0x1007af55
xor esi, esi
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x1007af49
mov edx, dword [ecx + 8]
add edx, 0xffffffee
cmp edx, 0xe
ja 0x1007af49
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x44]
shl ecx, 4
mov dword [edx + ecx + 8], eax
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
mov dword [edx + ecx + 0xc], edi
mov edi, dword [eax + 0x24]
mov ebx, dword [eax + 0x28]
inc esi
mov ecx, ebx
sub ecx, edi
sar ecx, 2
cmp esi, ecx
jb 0x1007af17
mov edx, dword [esp + 8]
mov edx, dword [edx + 4]
cmp edx, dword [esp + 0x10]
jne 0x1007aef9
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 0x58]
mov dword [esp + 0x5c], ecx
cmp edi, dword [esp + 0x10]
je 0x1007b4aa
cmp byte [esp + 0x38], 0
jne 0x1007b42c
mov eax, edi
mov edi, dword [edi + 4]
lea ecx, [eax - 4]
test eax, eax
cmove ecx, eax
cmp byte [ecx + 0x14], 0
jne 0x1007b17c
mov dword [esp + 0x28], ecx
mov esi, dword [ecx + 0x1c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 8], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x38], 0
test esi, esi
je 0x1007b081
cmp dword [esi + 0x68], 0
je 0x1007b081
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
cmp ecx, ebx
jae 0x1007afe5
mov dword [ecx], esi
add ecx, 4
mov dword [esp + 0x5c], ecx
jmp 0x1007b081
mov edx, dword [esp + 0x58]
mov edi, ecx
sub edi, edx
sar edi, 2
lea eax, [edi + 1]
cmp eax, 0x40000000
jae 0x1007b4de
sub ebx, edx
mov dword [esp + 0xc], ebx
sar dword [esp + 0xc], 2
sar ebx, 1
cmp ebx, eax
cmovb ebx, eax
cmp dword [esp + 0xc], 0x1fffffff
mov eax, 0x3fffffff
cmovae ebx, eax
test ebx, ebx
je 0x1007b048
call fcn.1006f430
lea edx, [ebx*4]
mov ecx, eax
push 4
push edx
call fcn.10041e8a
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
jmp 0x1007b04a
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [eax + edi*4]
mov dword [eax], esi
mov esi, eax
cmp ecx, edx
je 0x1007b06b
mov esi, eax
mov edi, dword [ecx - 4]
add ecx, 0xfffffffc
mov dword [esi - 4], edi
add esi, 0xfffffffc
cmp edx, ecx
jne 0x1007b05b
add eax, 4
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x28]
test al, al
je 0x1007b0ad
mov eax, dword [esp + 0x68]
cmp ecx, eax
je 0x1007b0db
or eax, dword [esp + 0x6c]
jne 0x1007b173
mov dword [esp + 0x6c], ecx
jmp 0x1007b178
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x1007b0e8
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jne 0x1007b15b
test edx, edx
jne 0x1007b15b
mov dword [esp + 0x6c], 0
jmp 0x1007b178
mov dword [esp + 0x68], 0
jmp 0x1007b178
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], ecx
mov ecx, 0x10246b34
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10070b0e
mov ebx, eax
cmp byte [esp + 0x83], 0
jns 0x1007b128
push dword [esp + 0x78]
call fcn.101d75d9
add esp, 4
test bl, bl
mov edi, dword [esp + 8]
je 0x1007b17c
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0xc], 0x1a
jl 0x1007b17c
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esp + 0x2c]
test al, al
je 0x1007b279
mov bl, 1
test edx, edx
je 0x1007b18b
cmp dword [edx + 0x28], 0xffffffff
je 0x1007b18f
xor eax, eax
jmp 0x1007b19d
test edx, edx
sete bl
cmp edx, eax
sete dl
test ecx, ecx
jne 0x1007b173
or bl, dl
je 0x1007b173
mov dword [esp + 0x68], eax
jmp 0x1007b178
mov byte [esp + 0x38], 1
mov edi, dword [esp + 8]
cmp edi, dword [esp + 0x10]
jne 0x1007af7b
jmp 0x1007b42c
mov al, 1
jmp 0x1007b19d
mov cl, byte [edx + 0x24]
cmp cl, 1
setne al
test cl, cl
setne bl
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 0x24]
mov ecx, dword [esi]
test ecx, ecx
je 0x1007b279
mov byte [esp + 0x14], bl
cmp dword [ecx + 0x28], 0xffffffff
mov dword [esp + 0xc], ecx
je 0x1007b1c2
mov ch, 1
xor ebx, ebx
jmp 0x1007b1d0
mov cl, byte [ecx + 0x24]
cmp cl, 1
setne bl
test cl, cl
setne ch
mov cl, al
or cl, bl
cmp cl, 1
mov edi, dword [esp + 8]
jne 0x1007b17c
or al, ch
mov edi, dword [esp + 0xc]
jne 0x1007b26f
mov eax, dword [edx + 4]
cmp eax, dword [edi + 4]
jne 0x1007b26f
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x44]
shl edx, 4
mov eax, dword [ecx + edx]
mov ebx, edi
test eax, eax
je 0x1007b211
mov ecx, dword [ecx + edx + 4]
cmp ecx, dword [esp + 0x54]
cmovne eax, edi
mov ebx, eax
mov edx, edi
mov dword [esi], ebx
cmp dword [esp + 0x68], 0
mov edi, dword [esp + 8]
jne 0x1007b17c
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x44]
shl eax, 4
mov eax, dword [ecx + eax + 8]
cmp eax, dword [esp + 0x28]
je 0x1007b17c
lea ecx, [esp + 0x3c]
call fcn.1007b4f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push dword [esp + 0x2c]
push eax
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x34]
lea edx, [eax + 4]
mov esi, dword [ecx]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
mov dword [esi + 4], edx
mov dword [ecx], edx
jmp 0x1007b17c
or byte [esp + 0x14], bl
je 0x1007b3aa
test edx, edx
je 0x1007b283
cmp dword [edx + 0x28], 0xffffffff
je 0x1007b28d
mov dword [esp + 0xc], 0
jmp 0x1007b298
cmp byte [edx + 0x24], 0
sete al
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x24]
cmp dword [eax + 0x28], ecx
je 0x1007b352
xor ebx, ebx
mov edx, dword [ecx + ebx*4]
test edx, edx
je 0x1007b33e
mov ecx, dword [edx + 8]
add ecx, 0xffffffee
cmp ecx, 0xe
ja 0x1007b33e
cmp dword [edx + 0x28], 0xffffffff
jne 0x1007b33e
cmp byte [edx + 0x24], 0
jne 0x1007b33e
mov ecx, dword [edx + 0x18]
mov edi, dword [esp + 0x44]
shl ecx, 4
mov esi, dword [edi + ecx]
test esi, esi
je 0x1007b2f2
mov dword [esp + 0x14], esi
mov esi, dword [edi + ecx + 4]
cmp esi, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
cmovne esi, edx
jmp 0x1007b2f4
mov esi, edx
cmp dword [esp + 0x68], 0
jne 0x1007b334
cmp dword [edi + ecx + 8], eax
je 0x1007b334
lea ecx, [esp + 0x3c]
call fcn.1007b4f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push esi
push eax
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x30]
lea edx, [eax + 4]
mov edi, esi
mov esi, dword [ecx]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
mov dword [esi + 4], edx
mov esi, edi
mov dword [ecx], edx
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
mov dword [eax + ebx*4], esi
mov eax, dword [esp + 0x28]
inc ebx
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jb 0x1007b2aa
cmp byte [esp + 0xc], 0
mov edi, dword [esp + 8]
je 0x1007b17c
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
mov ecx, dword [edx + 0x18]
shl ecx, 4
mov esi, dword [eax + ecx + 0xc]
cmp esi, dword [esp + 0x54]
jne 0x1007b17c
cmp dword [esp + 0x68], 0
je 0x1007b3e7
mov ebx, dword [eax + ecx]
mov edi, edx
test ebx, ebx
je 0x1007b396
cmp dword [eax + ecx + 4], esi
cmovne ebx, edx
mov edi, ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
push edx
push edi
call dword [eax + 0xa8]
mov byte [eax + 0x17], 1
jmp 0x1007b401
mov ebx, edi
mov eax, dword [edx + 0x18]
mov ecx, dword [esp + 0x44]
shl eax, 4
mov esi, dword [ecx + eax + 0xc]
cmp esi, dword [esp + 0x54]
mov edi, dword [esp + 8]
jne 0x1007b17c
cmp dword [esp + 0x68], 0
je 0x1007b41a
mov edi, dword [ecx + eax]
test edi, edi
je 0x1007b3dd
cmp dword [ecx + eax + 4], esi
cmove edx, edi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
push ebx
push edx
jmp 0x1007b39e
lea ecx, [esp + 0x3c]
call fcn.1007b4f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push dword [esp + 0x2c]
push eax
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x34]
lea edx, [eax + 4]
mov esi, dword [ecx]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
mov dword [esi + 4], edx
mov dword [ecx], edx
jmp 0x1007b178
lea ecx, [esp + 0x3c]
call fcn.1007b4f0
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push ebx
jmp 0x1007b3fa
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
cmp ecx, eax
je 0x1007b4aa
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov edi, ecx
mov ecx, dword [esp + 0x10]
mov ebx, dword [edi]
mov eax, dword [ebx + 0x68]
mov esi, dword [eax + 0x18]
shl esi, 4
mov eax, dword [esp + 8]
mov eax, dword [eax + esi]
test eax, eax
je 0x1007b499
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp dword [ecx + esi + 4], edx
mov ecx, dword [esp + 0x10]
jne 0x1007b499
mov esi, eax
mov eax, dword [eax + 0x68]
test eax, eax
je 0x1007b48f
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jae 0x1007b47e
mov dword [ebx + 0x68], eax
mov dword [esi + 0x68], ebx
mov ecx, dword [esp + 0x10]
add edi, 4
cmp edi, ecx
jne 0x1007b456
mov ecx, dword [esp + 0x14]
jmp 0x1007b4aa
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x1c]
add eax, 4
cmp eax, dword [esp + 0x18]
jne 0x1007aed5
mov ecx, dword [ebp + 8]
push str.After_splitting_local_variables
call fcn.10007be0
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.101d7611
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x58]
call fcn.101add4c
lea ecx, [esp + 0x44]
call fcn.101add4c