Function at 0x1003f7a0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x101c8c40]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, dword [edi + 8]
test bl, bl
je 0x1003f911
test bl, 1
je 0x1003f7ee
mov eax, dword [edi + 0x14]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
lea esi, [ecx + 1]
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
test bl, 2
je 0x1003f816
mov eax, dword [edi + 0x18]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add eax, ecx
add esi, eax
test bl, 4
je 0x1003f840
mov eax, dword [edi + 0x1c]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test bl, 8
je 0x1003f86a
mov eax, dword [edi + 0x20]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test bl, 0x10
je 0x1003f894
mov eax, dword [edi + 0x24]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test bl, 0x20
je 0x1003f8be
mov eax, dword [edi + 0x28]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test bl, 0x40
je 0x1003f8e8
mov eax, dword [edi + 0x2c]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test bl, bl
jns 0x1003f911
mov eax, dword [edi + 0x30]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0xff00
je 0x1003fa85
test ebx, 0x100
je 0x1003f94a
mov eax, dword [edi + 0x34]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x200
je 0x1003f977
mov eax, dword [edi + 0x38]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x400
je 0x1003f9a4
mov eax, dword [edi + 0x3c]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x800
je 0x1003f9d1
mov eax, dword [edi + 0x40]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x1000
je 0x1003f9fe
mov eax, dword [edi + 0x44]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x2000
je 0x1003fa2b
mov eax, dword [edi + 0x48]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x4000
je 0x1003fa58
mov eax, dword [edi + 0x4c]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x8000
je 0x1003fa85
mov eax, dword [edi + 0x50]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0xff0000
je 0x1003fc91
test ebx, 0x10000
je 0x1003fabe
mov eax, dword [edi + 0x54]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x20000
je 0x1003faeb
mov eax, dword [edi + 0x58]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x40000
je 0x1003fb18
mov eax, dword [edi + 0x5c]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x80000
je 0x1003fb45
mov eax, dword [edi + 0x60]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x100000
je 0x1003fb72
mov eax, dword [edi + 0x64]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x200000
je 0x1003fb9f
mov eax, dword [edi + 0x68]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add eax, ecx
add esi, eax
test ebx, 0x400000
je 0x1003fc17
mov edx, dword [edi + 0x6c]
xor ecx, ecx
mov eax, dword [edx + 0x10]
sub eax, 1
je 0x1003fbdc
sub eax, 1
jne 0x1003fbe1
mov eax, dword [edx + 8]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
inc ecx
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add ecx, eax
jmp 0x1003fbe1
mov ecx, 5
lea eax, [edx + 4]
add edx, 0xc
test byte [eax], 1
je 0x1003fbfb
push edx
push ecx
push eax
call fcn.100861a0
add esp, 0xc
mov ecx, eax
jmp 0x1003fbfd
mov dword [edx], ecx
mov eax, ecx
inc esi
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
add esi, eax
test ebx, 0x800000
je 0x1003fc91
mov edx, dword [edi + 0x70]
xor ecx, ecx
mov eax, dword [edx + 0x10]
sub eax, 1
je 0x1003fc54
sub eax, 1
jne 0x1003fc59
mov eax, dword [edx + 8]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
inc ecx
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add ecx, eax
jmp 0x1003fc59
mov ecx, 5
lea eax, [edx + 4]
add edx, 0xc
test byte [eax], 1
je 0x1003fc73
push edx
push ecx
push eax
call fcn.100861a0
add esp, 0xc
mov ecx, eax
jmp 0x1003fc75
mov dword [edx], ecx
mov eax, ecx
add esi, 2
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
add esi, eax
test ebx, 0xff000000
je 0x1003fe7b
test ebx, 0x1000000
je 0x1003fd89
mov eax, dword [edi + 0x74]
xor ecx, ecx
mov edx, dword [eax + 8]
test dl, 0x1f
je 0x1003fd51
test dl, 1
je 0x1003fce3
mov eax, dword [eax + 0x10]
and eax, 0xfffffffe
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
inc ecx
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add ecx, eax
mov eax, dword [edi + 0x74]
test dl, 2
je 0x1003fd01
mov eax, dword [eax + 0x14]
inc ecx
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add ecx, eax
test dl, 4
je 0x1003fd22
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0x18]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add ecx, eax
mov eax, ecx
test dl, 8
lea ecx, [eax + 9]
cmove ecx, eax
mov eax, dword [edi + 0x74]
test dl, 0x10
je 0x1003fd51
mov eax, dword [eax + 0x28]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add ecx, eax
mov eax, dword [edi + 0x74]
lea edx, [eax + 4]
add eax, 0xc
test byte [edx], 1
je 0x1003fd6b
push eax
push ecx
push edx
call fcn.100861a0
add esp, 0xc
mov ecx, eax
jmp 0x1003fd6d
mov dword [eax], ecx
mov eax, ecx
add esi, 2
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
add esi, eax
test ebx, 0x2000000
je 0x1003fdaa
mov eax, dword [edi + 0x78]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
test ebx, 0x4000000
je 0x1003fdcb
mov eax, dword [edi + 0x7c]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
test ebx, 0x8000000
je 0x1003fdef
mov eax, dword [edi + 0x80]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
test ebx, 0x10000000
je 0x1003fe13
mov eax, dword [edi + 0x84]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
test ebx, 0x20000000
je 0x1003fe37
mov eax, dword [edi + 0x88]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
test ebx, 0x40000000
je 0x1003fe5b
mov eax, dword [edi + 0x8c]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
test ebx, ebx
jns 0x1003fe7b
mov eax, dword [edi + 0x90]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
inc eax
add esi, eax
mov edx, dword [edi + 0xc]
test dl, dl
je 0x1003ff4e
test dl, 1
je 0x1003fea9
mov eax, dword [edi + 0x94]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add esi, eax
test dl, 2
lea ecx, [esi + 0xa]
cmove ecx, esi
test dl, 4
je 0x1003fed5
mov eax, dword [edi + 0xa0]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add ecx, eax
test dl, 8
je 0x1003fef8
mov eax, dword [edi + 0xa4]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add ecx, eax
test dl, 0x10
je 0x1003ff1b
mov eax, dword [edi + 0xa8]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add ecx, eax
test dl, 0x20
je 0x1003ff3e
mov eax, dword [edi + 0xac]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add ecx, eax
test dl, 0x40
lea esi, [ecx + 3]
cmove esi, ecx
test dl, dl
jns 0x1003ff4e
add esi, 3
test edx, 0xff00
je 0x1003ffdf
test edx, 0x100
lea eax, [esi + 3]
cmove eax, esi
test edx, 0x200
lea ecx, [eax + 6]
cmove ecx, eax
test edx, 0x400
lea eax, [ecx + 2]
cmove eax, ecx
test edx, 0x800
lea ecx, [eax + 3]
cmove ecx, eax
test edx, 0x1000
lea eax, [ecx + 3]
cmove eax, ecx
test edx, 0x2000
lea ecx, [eax + 3]
cmove ecx, eax
test edx, 0x4000
lea esi, [ecx + 0xa]
cmove esi, ecx
test edx, 0x8000
je 0x1003ffdf
mov eax, dword [edi + 0xc8]
test eax, eax
jns 0x1003ffc7
mov eax, 0xa
jmp 0x1003ffda
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, 2
add esi, eax
test edx, 0xff0000
je 0x100400de
test edx, 0x10000
je 0x1004001c
mov eax, dword [edi + 0xcc]
test eax, eax
jns 0x10040004
mov eax, 0xa
jmp 0x10040017
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, 2
add esi, eax
test edx, 0x20000
je 0x10040042
mov eax, dword [edi + 0xd0]
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, 2
add esi, eax
test edx, 0x40000
je 0x10040073
mov eax, dword [edi + 0xd4]
test eax, eax
jns 0x1004005b
mov eax, 0xa
jmp 0x1004006e
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, 2
add esi, eax
test edx, 0x80000
je 0x100400af
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
or eax, 1
test ecx, ecx
jne 0x10040097
bsr eax, eax
mov dword [esp + 0x10], eax
jmp 0x100400a1
bsr eax, ecx
mov dword [esp + 0x10], eax
add eax, 0x20
lea eax, [eax + eax*8]
add esi, 2
add eax, 0x49
shr eax, 6
add esi, eax
test edx, 0x100000
lea eax, [esi + 3]
cmove eax, esi
test edx, 0x200000
lea ecx, [eax + 3]
cmove ecx, eax
test edx, 0x400000
lea esi, [ecx + 3]
cmove esi, ecx
test edx, 0x800000
je 0x100400de
add esi, 3
test edx, 0x1000000
je 0x1004010f
mov eax, dword [edi + 0xe4]
test eax, eax
jns 0x100400f7
mov eax, 0xa
jmp 0x1004010a
or eax, 1
bsr eax, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, 2
add esi, eax
lea eax, [edi + 4]
add edi, 0x10
test byte [eax], 1
je 0x10040137
push edi
push esi
push eax
call fcn.100861a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.10122cc7
mov esp, ebp
pop ebp
ret
mov dword [edi], esi
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10122cc7
mov esp, ebp
pop ebp
ret