Function at 0x41b34f
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x41b36c
xor al, al
jmp 0x41b807
push 0x10000000
push 0x55f2
push eax
lea ebx, [ebp - 0x14]
call fcn.00425f4a
mov dword [ebp - 0x44], eax
test eax, eax
je 0x41b365
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x1c], eax
jb 0x41b7f6
jmp 0x41b398
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp ecx, 8
jb 0x41b7f6
cmp ecx, dword [ebp - 0x14]
ja 0x41b7f6
add eax, 8
push eax
mov esi, ecx
sub esi, 8
push 0x20
push 0
mov edx, esi
mov ebx, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
call fcn.0041b1ee
test al, al
je 0x41b797
push dword [ebp - 0x18]
mov edx, esi
push 1
push 0
call fcn.0041b1ee
test al, al
je 0x41b797
push dword [ebp - 0x18]
mov edx, esi
push 2
push 0
call fcn.0041b1ee
test al, al
je 0x41b797
push dword [ebp - 0x18]
mov edx, esi
push 4
push 0
call fcn.0041b1ee
test al, al
je 0x41b797
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
test ebx, ebx
jns 0x41b42a
push eax
call dword [0x4b21264]
mov ebx, eax
test ebx, ebx
jle 0x41b45f
lea eax, [ebp - 0x30]
push eax
push 0x33
call fcn.00428a10
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], ecx
push ecx
mov ecx, eax
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x38], eax
call fcn.0041cb1a
test al, al
jne 0x41b48f
lea esi, [ebp - 0x40]
call fcn.0041cac0
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], esi
cmp esi, 0xc
jmp 0x41b6b8
push ebx
push dword [ebp - 0x10]
push esi
call dword [0x4b21264]
push eax
push 8
pop eax
mov ecx, esi
call fcn.0041b1bb
test al, al
jne 0x41b49f
lea eax, [ebp - 0x40]
call fcn.0041cadc
mov esi, eax
test esi, esi
jne 0x41b475
jmp 0x41b454
lea esi, [ebp - 0x40]
call fcn.0041cac0
jmp 0x41b797
mov eax, dword [ebx]
cmp eax, 0xc
jb 0x41b6c1
cmp eax, dword [ebp - 0xc]
ja 0x41b6c1
mov ecx, dword [ebx + 4]
test ecx, 0x20000000
je 0x41b6ad
cmp eax, 0xc
jbe 0x41b6ad
test cl, 1
je 0x41b6ad
mov al, byte [edi + 0x18]
test al, al
jne 0x41b4f0
test ecx, 0x1000
jne 0x41b504
cmp al, 1
jne 0x41b6ad
test ecx, 0x2000
je 0x41b6ad
cmp byte [ebp - 5], 0
jne 0x41b5f1
push 3
pop ebx
lea esi, [ebp - 0x552]
call fcn.00423b3e
mov esi, eax
call fcn.004209c8
cmp al, 4
jae 0x41b52a
push 2
pop ebx
add esi, 0x1d2
mov ecx, esi
call fcn.00429553
xor edi, edi
cmp eax, edi
jl 0x41b5cf
push 0x14
lea ecx, [ebp - 0x98]
push ecx
push eax
push esi
push edi
push edi
call dword [0x4b21134]
cmp eax, edi
jle 0x41b5cf
lea ecx, [ebp + eax*2 - 0x98]
cmp word [ecx - 2], di
je 0x41b56f
cmp eax, 0x14
jge 0x41b5cf
xor eax, eax
mov word [ecx], ax
cmp ebx, 2
jne 0x41b590
lea esi, [ebp - 0xc0]
mov eax, 0xc6
call fcn.00413da3
lea eax, [ebp - 0x98]
push eax
mov eax, esi
push eax
jmp 0x41b5ba
cmp ebx, 3
jne 0x41b5b0
lea esi, [ebp - 0x15c]
mov eax, 0xc7
call fcn.00413da3
lea eax, [ebp - 0x98]
push eax
mov eax, esi
jmp 0x41b58d
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x364]
push eax
call fcn.00425927
test eax, eax
setne al
test al, al
jne 0x41b5d8
xor eax, eax
mov word [ebp - 0x364], ax
mov ecx, 0x1ee
lea eax, [ebp - 0x552]
mov byte [eax], 0
inc eax
dec ecx
jne 0x41b5e3
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 5], 1
mov eax, dword [ebx]
sub eax, 0xc
push eax
lea eax, [ebx + 0xc]
push eax
lea edi, [ebp - 0x70]
xor eax, eax
call fcn.0041ef6f
test al, al
je 0x41b794
xor edi, edi
lea ecx, [ebp - 0x10c]
xor esi, esi
mov al, byte [ebp + esi - 0x70]
call fcn.0040e7ff
inc esi
add ecx, 4
cmp esi, 0x10
jb 0x41b617
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x20]
push ecx
push 1
push edi
lea ecx, [ebp - 0x364]
mov eax, 0x80000001
push ecx
push eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], eax
or esi, 0xffffffff
call dword [0x4b2105c]
test eax, eax
jne 0x41b6a3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x20]
call dword [0x4b21058]
push dword [ebp - 0x20]
test eax, eax
cmove esi, dword [ebp - 0x24]
call dword [0x4b21060]
cmp esi, 4
jne 0x41b6a3
cmp dword [ebx + 8], edi
je 0x41b794
call fcn.0042e6f0
mov ecx, dword [ebx + 8]
add ecx, dword [ebp - 0x48]
cmp ecx, eax
ja 0x41b794
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 6], 1
mov eax, dword [ebx]
sub dword [ebp - 0xc], eax
add ebx, eax
cmp dword [ebp - 0xc], 0xc
mov dword [ebp - 0x10], ebx
jae 0x41b4ac
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 6]
push 0x40000000
push eax
push dword [edi + 0x40]
lea ebx, [ebp - 0x2c]
call fcn.00425f4a
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x41b797
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x41b705
mov edx, dword [ecx]
cmp edx, 6
jb 0x41b715
cmp edx, ebx
ja 0x41b715
test byte [ecx + 4], 1
jne 0x41b70c
sub ebx, edx
add ecx, edx
cmp ebx, 6
jae 0x41b6f0
jmp 0x41b715
lea eax, [ecx + 6]
mov dword [ebp - 0xc], eax
lea eax, [edx - 6]
push dword [ebp - 0xc]
xor ecx, ecx
cmp byte [ebp - 6], cl
setne cl
mov dword [ebp - 0x60], ecx
call fcn.0040e8bb
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
call fcn.0042c3ce
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x2c]
xor ebx, ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x5c], ebx
jne 0x41b752
cmp dword [ebp - 0xc], ebx
jne 0x41b756
cmp eax, ebx
jne 0x41b760
lea esi, [ebp - 0x60]
call fcn.0041c7a0
jmp 0x41b797
cmp dword [ebp - 0xc], ebx
jne 0x41b7ae
mov ecx, dword [edi + 0x3c]
inc ecx
imul ecx, ecx, 0x18
lea esi, [edi + 0x38]
call fcn.0042c29e
test al, al
je 0x41b7dd
mov ecx, dword [edi + 0x3c]
mov eax, ecx
imul eax, eax, 0x18
add eax, dword [esi]
inc ecx
mov dword [edi + 0x3c], ecx
push 0x18
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.0042c39c
jmp 0x41b797
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 8
jae 0x41b395
jmp 0x41b7f6
push dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
call fcn.0041c7b9
push 0x18
lea eax, [ebp - 0x60]
push eax
mov dword [edi + 0x3c], ebx
call fcn.0042c3ce
mov dword [edi + 0x38], eax
cmp eax, ebx
je 0x41b7d3
inc dword [edi + 0x3c]
jmp 0x41b7f6
lea esi, [ebp - 0x60]
call fcn.0041c7a0
jmp 0x41b7f6
lea esi, [ebp - 0x60]
call fcn.0041c7a0
push dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
call fcn.0041c7b9
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
push dword [ebp - 0x44]
call fcn.0042c360
xor eax, eax
cmp eax, dword [edi + 0x3c]
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret 4