Function at 0x10054710
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 8], ecx
push esi
mov ebx, dword [eax + 0x24]
mov ecx, dword [eax + 0x14]
push edi
mov edi, edx
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 0x44]
mov esi, dword [ebx + 0x40]
sub eax, esi
shr eax, 2
cmp ecx, eax
ja 0x10054cc4
lea eax, [ecx*4]
mov esi, dword [eax + esi - 4]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10054cc4
mov dword [esp + 0x14], 0
mov eax, dword [esi]
cmp eax, 0x10017bc8
jne 0x10054ccd
mov eax, dword [esi + 0x168]
shr eax, 3
and al, 1
test al, al
jne 0x100547bb
mov eax, dword [ebx]
cmp eax, 0x10017968
jne 0x10054cdc
mov ecx, dword [ebx + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
setne al
test al, al
je 0x100547bb
lea eax, [esp + 0x14]
mov ecx, esi
push eax
mov eax, dword [esi]
push dword [esp + 0x14]
mov eax, dword [eax + 0x98]
call eax
test al, al
je 0x10054cc4
mov eax, dword [ebx]
cmp eax, 0x10017968
jne 0x10054ceb
mov al, byte [ebx + 0x18c]
test al, al
je 0x10054814
mov eax, dword [esi]
cmp eax, 0x10017bc8
jne 0x10054cfa
mov eax, dword [esi + 0x164]
test eax, eax
je 0x10054814
mov eax, dword [esi]
cmp eax, 0x10017bc8
jne 0x10054d07
mov ecx, dword [esi + 0x164]
mov edx, dword [esp + 0x10]
lea eax, [ecx + 0x10]
test edx, edx
je 0x10054810
cmp edx, dword [eax]
jb 0x10054814
cmp edx, dword [ecx + 0x18]
jae 0x10054814
test eax, eax
jne 0x10054846
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
sub eax, ecx
shr eax, 2
cmp dword [esp + 0x18], eax
ja 0x10054cc4
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
mov ecx, dword [ecx + eax - 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x10054cc4
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x20]
xor ecx, ecx
cmp esi, eax
je 0x10054852
mov ecx, dword [eax]
mov eax, 0x112c
cmp word [edx + 2], ax
jne 0x10054867
movzx ecx, word [edx]
lea eax, [ecx + 2]
add eax, edx
jmp 0x1005486f
mov eax, dword [edx + 8]
add eax, ecx
movzx ecx, word [edx]
movzx ecx, cx
lea esi, [edx + 2]
add esi, ecx
cmp esi, eax
jae 0x10054cbb
mov edx, 0x1012
mov dword [esp + 0x1c], 0x115c
lea esp, [esp]
movzx ecx, word [esi + 2]
cmp cx, dx
je 0x10054901
cmp cx, word [esp + 0x1c]
jne 0x100548ec
mov ecx, dword [esi + 4]
mov dword [edi + 0x1c8], ecx
or dword [edi + 0x318], 0x40000000
mov ecx, dword [esi + 8]
mov dword [edi + 0x1d0], ecx
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x1d4], ecx
or dword [edi + 0x31c], 1
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x1d8], ecx
or dword [edi + 0x31c], 2
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x1dc], ecx
or dword [edi + 0x31c], 4
movzx ecx, word [esi]
add esi, 2
add esi, ecx
cmp esi, eax
jb 0x10054890
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov dword [edi + 0x2f0], eax
or dword [edi + 0x318], 0x8000
movzx eax, word [esi + 0x18]
mov dword [edi + 0x2f4], eax
or dword [edi + 0x318], 0x10000
mov eax, dword [esi + 0x14]
mov dword [edi + 0x2f8], eax
or dword [edi + 0x318], 0x20000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x1bc]
and eax, 0x400000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x2000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x1bc]
and eax, 0x800000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x4000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x1bc]
and eax, 0x1000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x8000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x1bc]
and eax, 0x2000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x10000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x1bc]
and eax, 0x4000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x20000000
mov eax, dword [esi + 0x1a]
shl eax, 0x15
xor eax, dword [edi + 0x1bc]
and eax, 0x8000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x40000000
mov eax, dword [esi + 0x1a]
shl eax, 0x13
xor eax, dword [edi + 0x1bc]
and eax, 0x10000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x80000000
mov eax, dword [esi + 0x1a]
shl eax, 0x16
xor eax, dword [edi + 0x1bc]
and eax, 0x20000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x314], 1
mov eax, dword [esi + 0x1a]
shr eax, 2
xor eax, dword [edi + 0x1c0]
and eax, 8
xor dword [edi + 0x1c0], eax
or dword [edi + 0x314], 0x80
mov eax, dword [esi + 0x1a]
shr eax, 8
xor eax, dword [edi + 0x1c0]
and eax, 4
xor dword [edi + 0x1c0], eax
or dword [edi + 0x314], 0x40
mov eax, dword [esi + 0x1a]
shl eax, 0xc
xor eax, dword [edi + 0x1bc]
and eax, 0x100000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x400000
mov eax, dword [esi + 0x1a]
shl eax, 8
xor eax, dword [edi + 0x1bc]
and eax, 0x200000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x310], 0x800000
mov eax, dword [esi + 0x1a]
shl eax, 0x13
xor eax, dword [edi + 0x1bc]
and eax, 0x40000000
xor dword [edi + 0x1bc], eax
or dword [edi + 0x314], 2
mov ecx, dword [esi + 0x1a]
mov eax, dword [esi + 0x1a]
shl eax, 0x13
shl ecx, 0x13
xor ecx, dword [edi + 0x1bc]
and ecx, 0x7fffffff
xor ecx, eax
mov dword [edi + 0x1bc], ecx
or dword [edi + 0x314], 4
mov eax, dword [esi + 0x1a]
add eax, eax
xor eax, dword [edi + 0x1c0]
and eax, 0x80000
xor dword [edi + 0x1c0], eax
or dword [edi + 0x31c], 8
mov eax, dword [esi + 0x1a]
shl eax, 8
xor eax, dword [edi + 0x1c0]
and eax, 0x8000000
xor dword [edi + 0x1c0], eax
or dword [edi + 0x318], 0x10000000
mov eax, dword [esi + 0x1a]
shl eax, 8
xor eax, dword [edi + 0x1c0]
and eax, 0x10000000
xor dword [edi + 0x1c0], eax
or dword [edi + 0x318], 0x20000000
mov eax, dword [esi + 0x1a]
shl eax, 8
xor eax, dword [edi + 0x1c0]
and eax, 0x20000000
xor dword [edi + 0x1c0], eax
or dword [edi + 0x31c], 0x10
mov eax, dword [esi + 0x1a]
shr eax, 0x16
xor eax, dword [edi + 0x1c4]
and eax, 2
xor dword [edi + 0x1c4], eax
or dword [edi + 0x31c], 0x200
test dword [esi + 0x1a], 0x40000
je 0x10054c08
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.100246e0
test al, al
jne 0x10054c08
mov dword [edi + 0x1c8], 0
or dword [edi + 0x318], 0x40000000
mov dword [edi + 0x1d0], 0
mov dword [edi + 0x1d4], 0
or dword [edi + 0x31c], 1
mov dword [edi + 0x1d8], 0
or dword [edi + 0x31c], 2
mov dword [edi + 0x1dc], 0
or dword [edi + 0x31c], 4
mov eax, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0xa4]
call eax
test al, al
je 0x10054cbb
mov eax, dword [esp + 0x1c]
cmp eax, 0x14c
jne 0x10054c33
mov ecx, 7
jmp 0x10054c69
cmp eax, 0x8664
jne 0x10054c41
mov ecx, 0xd0
jmp 0x10054c69
cmp eax, 0xaa64
jne 0x10054c4f
mov ecx, 0xf6
jmp 0x10054c69
cmp eax, 0x1c4
jne 0x10054c5d
mov ecx, 0xf4
jmp 0x10054c69
cmp eax, 0x3a64
jne 0x10054cbb
mov ecx, 0xf7
mov ebx, dword [esi + 0x1a]
mov edx, ebx
shr edx, 0x10
and edx, 3
call fcn.10063840
movzx eax, ax
test ax, ax
je 0x10054c95
mov word [edi + 0x28c], ax
or dword [edi + 0x314], 0x80000
mov ebx, dword [esi + 0x1a]
shr ebx, 0xe
and ebx, 3
mov edx, ebx
call fcn.10063840
movzx eax, ax
test ax, ax
je 0x10054cbb
mov word [edi + 0x28e], ax
or dword [edi + 0x314], 0x100000
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xc0]
mov ecx, esi
call eax
jmp 0x10054779
mov eax, dword [eax + 0xc0]
mov ecx, ebx
call eax
jmp 0x1005479a
mov eax, dword [eax + 0x110]
mov ecx, ebx
call eax
jmp 0x100547ce
mov ecx, esi
call dword [eax + 0xd8]
jmp 0x100547e5
mov ecx, esi
call dword [eax + 0xd8]
mov ecx, eax
jmp 0x100547fc