Function at 0x1033160
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 0x1033490
mov eax, dword [esi + 0x1042c]
cmp eax, ebx
je 0x1033490
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x954], ebx
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xc], edx
call fcn.0102f010
movzx ecx, word [edi + 0x11a]
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x974], ecx
movzx eax, word [edi + 0x118]
mov ecx, dword [esi + 0x1042c]
mov dword [ecx + 0x978], eax
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x958], ebx
cmp word [edi + 0x118], bx
je 0x1033205
mov ebx, dword [edi + 0x1c]
push 0x100bed8
push ebx
call fcn.01029f80
test eax, eax
je 0x1033218
push 0x100bed0
push ebx
call fcn.01029f80
test eax, eax
je 0x1033218
xor ebx, ebx
mov eax, dword [esi + 0x1042c]
mov ecx, 1
mov dword [eax + 0x958], ecx
jmp 0x103321f
mov ecx, 1
xor ebx, ebx
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x964], ebx
cmp word [edi + 0x118], 2
jb 0x103326c
mov ebx, dword [edi + 0x2c]
push 0x100bec8
push ebx
call fcn.01029f80
test eax, eax
je 0x103327a
push 0x100bec0
push ebx
call fcn.01029f80
test eax, eax
je 0x103327a
push 0x100beb8
push ebx
call fcn.01029f80
test eax, eax
je 0x103327a
mov ecx, 1
xor ebx, ebx
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x964], ecx
jmp 0x1033281
mov ecx, 1
xor ebx, ebx
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x968], ebx
cmp word [edi + 0x118], 2
jb 0x10332bb
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x24]
test eax, 0x20000000
jne 0x10332af
test eax, 0x40000000
je 0x10332af
test al, 0x40
jne 0x10332bb
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x968], ecx
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x970], ebx
cmp word [edi + 0x118], cx
jb 0x1033308
mov edx, dword [edi + 0x1c]
mov eax, dword [edx + 0x24]
test al, 0x20
je 0x10332fc
test eax, 0x20000000
je 0x10332fc
test eax, 0x40000000
je 0x10332fc
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
je 0x10332fc
test al, al
jns 0x1033308
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x970], ecx
mov edx, dword [esi + 0x1042c]
mov dword [edx + 0x960], ebx
cmp word [edi + 0x118], bx
jbe 0x1033334
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 8]
cmp edx, dword [eax + 0x10]
je 0x1033334
mov eax, dword [esi + 0x1042c]
mov dword [eax + 0x960], ecx
cmp word [edi + 0x11a], 3
mov edx, dword [esi + 0x1042c]
sbb ecx, ecx
neg ecx
mov dword [edx + 0x95c], 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 + 0x96c], ecx
cmp ax, word [edi + 0x118]
jae 0x103348f
mov dword [ebp - 4], ebx
lea ebx, [edi + 0x1c]
jmp 0x1033384
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1042c]
mov eax, dword [ebx]
mov edx, dword [ebp - 4]
lea esi, [edx + ecx + 0x97c]
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 0x103346f
mov edx, dword [ebx + 8]
push edx
push eax
call fcn.0102fa30
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 0x1033408
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
xor edx, edx
div ecx
test edx, edx
je 0x1033408
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1042c]
mov dword [edx + 0x954], 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.0102f060
test edi, edi
je 0x103343d
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x103343d
test eax, eax
jne 0x103343d
push edi
push ecx
lea edx, [ebp - 0xac]
push edx
call fcn.0102f170
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 0x1033381
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8