Function at 0x1036030
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x1036360
mov eax, dword [esi + 0x1042c]
cmp eax, ebx
je 0x1036360
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x964], ebx
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xc], edx
call fcn.01031f00
movzx ecx, word [edi + 0x11a]
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x984], ecx
movzx eax, word [edi + 0x118]
mov ecx, dword [esi + 0x1042c]
mov dword [ecx + 0x988], eax
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x968], ebx
cmp word [edi + 0x118], bx
je 0x10360d5
mov ebx, dword [edi + 0x1c]
push 0x100c8b8
push ebx
call fcn.0102ce70
test eax, eax
je 0x10360e8
push 0x100c8b0
push ebx
call fcn.0102ce70
test eax, eax
je 0x10360e8
xor ebx, ebx
mov eax, dword [esi + 0x1042c]
mov ecx, 1
mov dword [eax + 0x968], ecx
jmp 0x10360ef
mov ecx, 1
xor ebx, ebx
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x974], ebx
cmp word [edi + 0x118], 2
jb 0x103613c
mov ebx, dword [edi + 0x2c]
push 0x100c8a8
push ebx
call fcn.0102ce70
test eax, eax
je 0x103614a
push 0x100c8a0
push ebx
call fcn.0102ce70
test eax, eax
je 0x103614a
push 0x100c898
push ebx
call fcn.0102ce70
test eax, eax
je 0x103614a
mov ecx, 1
xor ebx, ebx
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x974], ecx
jmp 0x1036151
mov ecx, 1
xor ebx, ebx
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x978], ebx
cmp word [edi + 0x118], 2
jb 0x103618b
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x24]
test eax, 0x20000000
jne 0x103617f
test eax, 0x40000000
je 0x103617f
test al, 0x40
jne 0x103618b
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x978], ecx
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x980], ebx
cmp word [edi + 0x118], cx
jb 0x10361d8
mov edx, dword [edi + 0x1c]
mov eax, dword [edx + 0x24]
test al, 0x20
je 0x10361cc
test eax, 0x20000000
je 0x10361cc
test eax, 0x40000000
je 0x10361cc
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
je 0x10361cc
test al, al
jns 0x10361d8
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x980], ecx
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x970], ebx
cmp word [edi + 0x118], bx
jbe 0x1036204
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 8]
cmp edx, dword [eax + 0x10]
je 0x1036204
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x970], ecx
cmp word [edi + 0x11a], 3
mov edx, dword [esi + 0x1042c]
sbb ecx, ecx
neg ecx
mov dword [edx + 0x96c], ecx
mov edx, dword [esi + 0x1042c]
mov ax, 0x60
cmp ax, word [edi + 0x11a]
mov dword [ebp - 8], ebx
sbb ecx, ecx
neg ecx
xor eax, eax
mov dword [edx + 0x97c], ecx
cmp ax, word [edi + 0x118]
jae 0x103635f
mov dword [ebp - 4], ebx
lea ebx, [edi + 0x1c]
jmp 0x1036254
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1042c]
mov eax, dword [ebx]
mov edx, dword [ebp - 4]
lea esi, [edx + ecx + 0x98c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
mov ecx, eax
sub ecx, dword [edi]
mov dword [ebp - 0x14], esi
add ecx, dword [ebx + 8]
cmp ecx, dword [edi + 4]
ja 0x103633f
mov edx, dword [ebx + 8]
push edx
push eax
call fcn.01032920
mov dword [esi + 0x18], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x24]
mov dword [esi + 0xc], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], edx
test ecx, ecx
je 0x10362d8
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
xor edx, edx
div ecx
test edx, edx
je 0x10362d8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1042c]
mov dword [edx + 0x964], 1
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 4]
push 0
push edi
lea ecx, [ebp - 0xac]
push ecx
mov dword [ebp - 0x10], eax
call fcn.01031f50
test edi, edi
je 0x103630d
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x103630d
test eax, eax
jne 0x103630d
push edi
push ecx
lea edx, [ebp - 0xac]
push edx
call fcn.01032060
mov eax, dword [ebp - 0xa8]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [esi + 0x20], ecx
lea edi, [esi + 0x24]
mov ecx, 8
lea esi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
add edi, 0x44
mov ecx, 0x10
lea esi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 8]
movzx edx, word [edi + 0x118]
add dword [ebp - 4], 0x84
inc eax
add ebx, 0x10
cmp eax, edx
mov dword [ebp - 8], eax
jl 0x1036251
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8