Function at 0x102cf3a
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 0x102cfa8
test dword [ebp + 8], 0x3fefff
jne 0x102cfa8
cmp dword [ebp + 0xc], edi
jne 0x102cf96
cmp dword [ebp + 0x10], edi
jne 0x102cfa8
mov ecx, 0x40000000
test dword [ebp + 8], ecx
je 0x102cfb4
cmp dword [esi + 0x260], edi
jne 0x102cfb4
mov dword [ebp - 4], 0x8876086c
jmp 0x102d65c
or dword [ebp + 8], 0x1000000
push ebx
mov ebx, 0xc000000
mov eax, 0x2000000
test dword [ebp + 8], ebx
je 0x102cfce
or dword [ebp + 8], eax
mov edx, dword [ebp + 8]
and edx, eax
mov dword [ebp - 0x4c], edx
je 0x102d023
test dword [ebp + 8], ecx
jne 0x102d023
test dword [ebp + 8], 0x20000000
mov eax, dword [esi + 0x23c]
mov dword [ebp - 0x30], eax
jne 0x102d023
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.010292b5
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x102d65b
cmp dword [ebp - 0x1c], edi
jbe 0x102d023
test dword [ebp + 8], 0x10000000
je 0x102d023
mov dword [ebp - 4], 0x88760b56
jmp 0x102d65b
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 0x102d654
cmp dword [ebp - 0xc], 0
je 0x102d654
test eax, eax
je 0x102d654
mov eax, dword [esi + 0x23c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
and eax, ebx
mov dword [ebp - 0x44], eax
je 0x102d0dc
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 0x102d654
test dword [ebp + 8], 0x1000000
je 0x102d10b
test dword [ebp + 8], 0x40000000
jne 0x102d10b
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01024639
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
jmp 0x102d147
xor eax, eax
cmp dword [esi + 0x264], eax
jbe 0x102d12e
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 0x102d11d
xor eax, eax
cmp dword [esi + 0x23c], eax
jbe 0x102d147
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d138
cmp dword [ebp - 0x4c], 0
je 0x102d174
test dword [ebp + 8], 0x40000000
jne 0x102d174
push dword [ebp + 8]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01024761
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
mov ebx, dword [ebp + 8]
and ebx, 0x10000000
je 0x102d198
xor eax, eax
cmp dword [esi + 0x23c], eax
jbe 0x102d198
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4], eax
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d189
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 8]
call fcn.0102976f
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
cmp dword [ebp - 0x44], 0
je 0x102d303
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.0102c885
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
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 0x102d654
xor eax, eax
cmp ebx, eax
jne 0x102d25f
push edi
push dword [ebp - 0xc]
mov ecx, esi
call fcn.01024c93
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
xor ecx, ecx
cmp dword [esi + 0x23c], ecx
jbe 0x102d273
mov eax, dword [ebp - 0x10]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
cmp eax, 0xffff
je 0x102d254
mov eax, dword [edi + eax*4]
mov dword [edx], eax
inc ecx
cmp ecx, dword [esi + 0x23c]
jb 0x102d240
jmp 0x102d273
cmp dword [esi + 0x23c], eax
jbe 0x102d273
mov dword [edi + eax*4], eax
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d267
push edi
push dword [ebp - 8]
mov ecx, esi
call fcn.0102976f
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
xor edx, edx
xor ecx, ecx
cmp dword [esi + 0x264], edx
jbe 0x102d2b8
mov eax, dword [ebp - 0xc]
lea edi, [eax + ecx*4]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x102d2ac
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + eax*4]
mov dword [edi], eax
jmp 0x102d2af
or dword [edi], 0xffffffff
inc ecx
cmp ecx, dword [esi + 0x264]
jb 0x102d295
xor eax, eax
cmp dword [esi + 0x264], edx
jbe 0x102d2d5
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4], 0xffff
inc eax
cmp eax, dword [esi + 0x264]
jb 0x102d2c2
xor ecx, ecx
cmp dword [esi + 0x264], edx
jbe 0x102d303
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
cmp eax, 0xffff
je 0x102d2fa
cmp eax, dword [esi + 0x264]
jae 0x102d2fa
mov edx, dword [ebp - 8]
mov dword [edx + eax*4], ecx
inc ecx
cmp ecx, dword [esi + 0x264]
jb 0x102d2df
xor eax, eax
cmp dword [ebp + 0x18], eax
jne 0x102d31b
cmp dword [ebp - 0x1c], eax
ja 0x102d31b
cmp dword [esi + 0x240], eax
jne 0x102d3af
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 0x102d65b
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 0x102d360
or dword [edx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d353
xor eax, eax
cmp dword [ebp - 0x3c], edi
jbe 0x102d37e
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4]
cmp ecx, 0xffff
je 0x102d378
mov dword [edx + ecx*4], eax
inc eax
cmp eax, dword [ebp - 0x3c]
jb 0x102d367
cmp dword [ebp - 0x1c], edi
jbe 0x102d3af
xor ecx, ecx
cmp dword [esi + 0x23c], edi
jbe 0x102d3af
mov eax, dword [edx + ecx*4]
cmp eax, 0xffffffff
je 0x102d3a6
cmp eax, dword [ebp - 0x30]
jb 0x102d3a6
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 0x102d38d
xor edi, edi
cmp dword [ebp - 0x1c], edi
jne 0x102d3f2
cmp dword [esi + 0x240], edi
jbe 0x102d3f2
push edi
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.01023f77
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x102d65b
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.010295ce
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
jmp 0x102d5a6
test byte [esi + 0x218], 0x20
jne 0x102d5a6
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 0x102d42e
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.010263dc
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.01023f77
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
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 0x102d65b
cmp dword [ebp + 0x20], 0
je 0x102d4fb
lea edi, [esi + 0xc]
push edi
push dword [ebp + 0x20]
call fcn.01023c79
test eax, eax
jne 0x102d4fb
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 0x102d542
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x102d4f0
push 1
push edi
push eax
lea ecx, [ebp - 0x3e0]
call fcn.01023bbc
inc edi
cmp edi, dword [esi + 0x23c]
jb 0x102d4d6
jmp 0x102d542
and dword [ebp + 0x20], 0
cmp dword [esi + 0x23c], 0
mov ebx, dword [ebp - 0x18]
jbe 0x102d542
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [eax + ecx*4]
cmp ecx, 0xffffffff
je 0x102d534
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 0x102d50b
mov ecx, dword [ebp - 0x38]
xor eax, eax
cmp ecx, eax
je 0x102d577
cmp dword [esi + 0x23c], eax
jbe 0x102d577
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + eax*4]
movzx edx, word [ecx + edx*2]
mov ebx, dword [ebp - 0x10]
mov edi, dword [esi + 0x244]
mov dx, word [ebx + edx*4]
mov word [edi + eax*2], dx
inc eax
cmp eax, dword [esi + 0x23c]
jb 0x102d553
xor ecx, ecx
xor edx, edx
cmp dword [esi + 0x23c], ecx
jbe 0x102d5a0
mov eax, dword [ebp - 0x10]
lea eax, [eax + ecx*4]
cmp dword [eax], 0xffff
je 0x102d594
inc edx
jmp 0x102d597
or dword [eax], 0xffffffff
inc ecx
cmp ecx, dword [esi + 0x23c]
jb 0x102d583
mov dword [esi + 0x23c], edx
cmp dword [ebp + 0x14], 0
je 0x102d5d2
mov eax, dword [esi + 0x264]
shl eax, 2
test dword [ebp + 8], 0x80000000
push eax
je 0x102d5c4
push dword [ebp - 8]
jmp 0x102d5c7
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 0x102d642
cmp eax, dword [ebp + 0xc]
jne 0x102d5f3
push dword [ebp - 0x48]
push eax
push dword [ebp - 8]
call fcn.01022d90
mov dword [ebp - 4], eax
test eax, eax
jl 0x102d65b
jmp 0x102d642
xor edx, edx
cmp dword [esi + 0x264], edx
jbe 0x102d642
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 0x102d62a
mov ebx, dword [ebp - 8]
mov edi, dword [ebx + edi*4]
mov dword [ecx], edi
jmp 0x102d62d
or dword [ecx], 0xffffffff
add ecx, 4
dec dword [ebp + 0x20]
jne 0x102d618
add dword [ebp + 8], 0xc
inc edx
cmp edx, dword [esi + 0x264]
jb 0x102d600
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x102d65b
mov ecx, dword [ebp - 0x14]
and dword [ebp - 0x14], 0
mov dword [eax], ecx
jmp 0x102d65b
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 0x102d6a1
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x102d6b4
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 0x102d6c2
mov eax, dword [esi]
push esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x102d6d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], edi
cmp esi, edi
je 0x102d6dc
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0x1c