Function at 0x102d6ea
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3e0
push esi
push edi
xor edi, edi
mov esi, ecx
mov eax, dword [esi + 0x264]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x48], eax
cmp dword [ebp + 8], edi
je 0x102d758
test dword [ebp + 8], 0x3fefff
jne 0x102d758
cmp dword [ebp + 0xc], edi
jne 0x102d746
cmp dword [ebp + 0x10], edi
jne 0x102d758
mov ecx, 0x40000000
test dword [ebp + 8], ecx
je 0x102d764
cmp dword [esi + 0x260], edi
jne 0x102d764
mov dword [ebp - 4], 0x8876086c
jmp 0x102ddfc
or dword [ebp + 8], 0x1000000
push ebx
mov ebx, 0xc000000
mov eax, 0x2000000
test dword [ebp + 8], ebx
je 0x102d77e
or dword [ebp + 8], eax
mov edx, dword [ebp + 8]
and edx, eax
mov dword [ebp - 0x4c], edx
je 0x102d7d3
test dword [ebp + 8], ecx
jne 0x102d7d3
test dword [ebp + 8], 0x20000000
mov eax, dword [esi + 0x23c]
mov dword [ebp - 0x30], eax
jne 0x102d7d3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.01029875
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x102ddfb
cmp dword [ebp - 0x1c], edi
jbe 0x102d7d3
test dword [ebp + 8], 0x10000000
je 0x102d7d3
mov dword [ebp - 4], 0x88760b56
jmp 0x102ddfb
mov eax, dword [esi + 0x264]
mov edi, 0x1003a40
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101bd08
push edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x264]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101bd08
push edi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x23c]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101bd08
add esp, 0x18
cmp dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
je 0x102ddf4
cmp dword [ebp - 0xc], 0
je 0x102ddf4
test eax, eax
je 0x102ddf4
mov eax, dword [esi + 0x23c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
and eax, ebx
mov dword [ebp - 0x44], eax
je 0x102d88c
mov eax, dword [esi + 0x264]
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101bd08
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x102ddf4
test dword [ebp + 8], 0x1000000
je 0x102d8bb
test dword [ebp + 8], 0x40000000
jne 0x102d8bb
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01024d43
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
jmp 0x102d8f7
xor eax, eax
cmp dword [esi + 0x264], eax
jbe 0x102d8de
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub edx, ecx
mov dword [edx + ecx], eax
mov dword [ecx], eax
inc eax
add ecx, 4
cmp eax, dword [esi + 0x264]
jb 0x102d8cd
xor eax, eax
cmp dword [esi + 0x23c], eax
jbe 0x102d8f7
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d8e8
cmp dword [ebp - 0x4c], 0
je 0x102d924
test dword [ebp + 8], 0x40000000
jne 0x102d924
push dword [ebp + 8]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01024e40
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
mov ebx, dword [ebp + 8]
and ebx, 0x10000000
je 0x102d948
xor eax, eax
cmp dword [esi + 0x23c], eax
jbe 0x102d948
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d939
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 8]
call fcn.01029cef
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
cmp dword [ebp - 0x44], 0
je 0x102daac
mov eax, dword [esi + 0x264]
shl eax, 2
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0102cbc3
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
mov eax, dword [esi + 0x23c]
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0101bd08
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x40], edi
test edi, edi
je 0x102ddf4
xor eax, eax
cmp ebx, eax
jne 0x102da0d
push edi
push dword [ebp - 0xc]
mov ecx, esi
call fcn.01025333
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
xor ecx, ecx
cmp dword [esi + 0x23c], ecx
jbe 0x102da21
mov eax, dword [ebp - 0x10]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x102da02
mov eax, dword [edi + eax*4]
mov dword [edx], eax
inc ecx
cmp ecx, dword [esi + 0x23c]
jb 0x102d9f0
jmp 0x102da21
cmp dword [esi + 0x23c], eax
jbe 0x102da21
mov dword [edi + eax*4], eax
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102da15
push edi
push dword [ebp - 8]
mov ecx, esi
call fcn.01029cef
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
xor edx, edx
xor ecx, ecx
cmp dword [esi + 0x264], edx
jbe 0x102da66
mov eax, dword [ebp - 0xc]
lea edi, [eax + ecx*4]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x102da5a
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + eax*4]
mov dword [edi], eax
jmp 0x102da5d
or dword [edi], 0xffffffff
inc ecx
cmp ecx, dword [esi + 0x264]
jb 0x102da43
xor eax, eax
cmp dword [esi + 0x264], edx
jbe 0x102da80
mov ecx, dword [ebp - 8]
or dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 0x264]
jb 0x102da70
xor ecx, ecx
cmp dword [esi + 0x264], edx
jbe 0x102daac
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffffffff
je 0x102daa3
cmp eax, dword [esi + 0x264]
jae 0x102daa3
mov edx, dword [ebp - 8]
mov dword [edx + eax*4], ecx
inc ecx
cmp ecx, dword [esi + 0x264]
jb 0x102da8a
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x102dac4
cmp dword [ebp - 0x1c], eax
ja 0x102dac4
cmp dword [esi + 0x240], eax
jne 0x102db55
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x23c]
shl eax, 2
push eax
call fcn.0101c349
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edx, eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x28], edx
cmp dword [esi + 0x23c], edi
jbe 0x102db09
or dword [edx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102dafc
xor eax, eax
cmp dword [ebp - 0x3c], edi
jbe 0x102db24
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4]
cmp ecx, 0xffffffff
je 0x102db1e
mov dword [edx + ecx*4], eax
inc eax
cmp eax, dword [ebp - 0x3c]
jb 0x102db10
cmp dword [ebp - 0x1c], edi
jbe 0x102db55
xor ecx, ecx
cmp dword [esi + 0x23c], edi
jbe 0x102db55
mov eax, dword [edx + ecx*4]
cmp eax, 0xffffffff
je 0x102db4c
cmp eax, dword [ebp - 0x30]
jb 0x102db4c
sub eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov eax, dword [edi + eax*4]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [esi + 0x23c]
jb 0x102db33
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x102db98
cmp dword [esi + 0x240], edi
jbe 0x102db98
push edi
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.01023f77
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x102ddfb
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.01029b71
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
jmp 0x102dd46
test byte [esi + 0x218], 0x20
jne 0x102dd46
mov eax, dword [esi + 0x234]
mov ebx, dword [esi + 0x23c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x244]
lea edi, [esi + 0x240]
cmp dword [edi], 0
mov dword [ebp - 0x38], eax
jne 0x102dbd4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x20], eax
call dword [ecx + 4]
xor eax, eax
push ebx
push dword [esi + 0x264]
mov ecx, esi
mov dword [esi + 0x234], eax
mov dword [esi + 0x23c], eax
mov dword [edi], eax
mov dword [esi + 0x244], eax
call fcn.010270e3
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.01023f77
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0x810
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push eax
call dword [ecx + 0x2c]
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
cmp dword [ebp + 0x20], 0
je 0x102dca1
lea edi, [esi + 0xc]
push edi
push dword [ebp + 0x20]
call fcn.01023c79
test eax, eax
jne 0x102dca1
push edi
push dword [ebp + 0x20]
lea ecx, [ebp - 0x3e0]
call fcn.0102704d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3e0]
push dword [ebp - 0x2c]
call fcn.01023b8c
xor edi, edi
cmp dword [esi + 0x23c], edi
jbe 0x102dce8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x102dc96
push 1
push edi
push eax
lea ecx, [ebp - 0x3e0]
call fcn.01023bbc
inc edi
cmp edi, dword [esi + 0x23c]
jb 0x102dc7c
jmp 0x102dce8
and dword [ebp + 0x20], 0
cmp dword [esi + 0x23c], 0
mov ebx, dword [ebp - 0x18]
jbe 0x102dce8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [eax + ecx*4]
cmp ecx, 0xffffffff
je 0x102dcda
lea edi, [esi + 0x238]
mov eax, dword [edi]
push eax
imul eax, ecx
add eax, dword [ebp - 0x2c]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, dword [edi]
inc dword [ebp + 0x20]
mov eax, dword [ebp + 0x20]
cmp eax, dword [esi + 0x23c]
jb 0x102dcb1
mov ecx, dword [ebp - 0x38]
xor eax, eax
cmp ecx, eax
je 0x102dd1a
cmp dword [esi + 0x23c], eax
jbe 0x102dd1a
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + eax*4]
mov edx, dword [ecx + edx*4]
mov ebx, dword [ebp - 0x10]
mov edi, dword [esi + 0x244]
mov edx, dword [ebx + edx*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102dcf9
xor ecx, ecx
xor edx, edx
cmp dword [esi + 0x23c], ecx
jbe 0x102dd40
mov eax, dword [ebp - 0x10]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffffffff
je 0x102dd34
inc edx
jmp 0x102dd37
or dword [eax], 0xffffffff
inc ecx
cmp ecx, dword [esi + 0x23c]
jb 0x102dd26
mov dword [esi + 0x23c], edx
cmp dword [ebp + 0x14], 0
je 0x102dd72
mov eax, dword [esi + 0x264]
shl eax, 2
test dword [ebp + 8], 0x80000000
push eax
je 0x102dd64
push dword [ebp - 8]
jmp 0x102dd67
push dword [ebp - 0xc]
push dword [ebp + 0x14]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x102dde2
cmp eax, dword [ebp + 0xc]
jne 0x102dd93
push dword [ebp - 0x48]
push eax
push dword [ebp - 8]
call fcn.01022d90
mov dword [ebp - 4], eax
test eax, eax
jl 0x102ddfb
jmp 0x102dde2
xor edx, edx
cmp dword [esi + 0x264], edx
jbe 0x102dde2
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebp + 8]
imul eax, eax, 0xc
add eax, dword [ebp + 0xc]
mov dword [ebp + 0x20], 3
sub eax, ecx
mov edi, dword [eax + ecx]
cmp edi, 0xffffffff
je 0x102ddca
mov ebx, dword [ebp - 8]
mov edi, dword [ebx + edi*4]
mov dword [ecx], edi
jmp 0x102ddcd
or dword [ecx], 0xffffffff
add ecx, 4
dec dword [ebp + 0x20]
jne 0x102ddb8
add dword [ebp + 8], 0xc
inc edx
cmp edx, dword [esi + 0x264]
jb 0x102dda0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x102ddfb
mov ecx, dword [ebp - 0x14]
and dword [ebp - 0x14], 0
mov dword [eax], ecx
jmp 0x102ddfb
mov dword [ebp - 4], 0x8007000e
pop ebx
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x38]
add esp, 0x18
cmp dword [esi + 0x244], eax
je 0x102de41
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x102de54
mov esi, dword [esi + 0x234]
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], edi
je 0x102de62
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x102de72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], edi
cmp esi, edi
je 0x102de7c
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0x1c