Function at 0x50a980
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [ebp + 8]
and esi, 0xfffff
cmp byte [ebp + 0xc], 0
mov dword [edi + 0x3c], eax
mov dword [edi], ecx
mov dword [edi + 8], edx
jne 0x50b324
mov ebx, eax
and ebx, 0xf0000000
cmp ebx, 0x40000000
ja 0x50aa08
je 0x50a9fa
cmp ebx, 0x20000000
ja 0x50a9e7
je 0x50b31a
test ebx, ebx
je 0x50a9de
cmp ebx, 0x10000000
jne 0x50b251
mov ecx, esi
mov edx, esi
jmp 0x50b251
xor ecx, ecx
xor edx, edx
jmp 0x50b251
cmp ebx, 0x30000000
jne 0x50b251
mov edx, esi
jmp 0x50b24e
lea ecx, [esi*4]
mov edx, esi
jmp 0x50b251
cmp ebx, 0x80000000
ja 0x50b2df
je 0x50b288
cmp ebx, 0x50000000
je 0x50b1c2
cmp ebx, 0x60000000
jne 0x50b251
and eax, 0xfff00000
cmp eax, 0x64f00000
ja 0x50adeb
je 0x50ae62
cmp eax, 0x62c00000
ja 0x50abeb
je 0x50ac5a
cmp eax, 0x61000000
ja 0x50ab30
je 0x50abab
cmp eax, 0x60800000
ja 0x50aad3
je 0x50ab78
cmp eax, 0x60400000
ja 0x50aaad
je 0x50ab78
cmp eax, 0x60200000
ja 0x50aaa3
je 0x50ab78
cmp eax, ebx
je 0x50ac84
cmp eax, 0x60100000
jmp 0x50ab72
cmp eax, 0x60300000
jmp 0x50ab72
cmp eax, 0x60500000
je 0x50ac84
cmp eax, 0x60600000
je 0x50ab78
cmp eax, 0x60700000
je 0x50ab78
jmp 0x50b251
cmp eax, 0x60c00000
ja 0x50ab0a
je 0x50ab78
cmp eax, 0x60900000
je 0x50ab78
cmp eax, 0x60a00000
je 0x50ab23
cmp eax, 0x60b00000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x60d00000
je 0x50ab78
cmp eax, 0x60e00000
je 0x50ab78
cmp eax, 0x60f00000
jne 0x50b251
mov ecx, 6
lea edx, [ecx - 2]
jmp 0x50b251
cmp eax, 0x62400000
ja 0x50ab85
je 0x50abd1
cmp eax, 0x62000000
ja 0x50ab5b
je 0x50ab23
cmp eax, 0x61100000
je 0x50ab78
cmp eax, 0x61200000
je 0x50ab78
cmp eax, 0x61300000
jmp 0x50ab72
cmp eax, 0x62100000
je 0x50ab23
cmp eax, 0x62200000
je 0x50ac84
cmp eax, 0x62300000
jne 0x50b251
mov ecx, 8
lea edx, [ecx - 4]
jmp 0x50b251
cmp eax, 0x62800000
ja 0x50abb8
je 0x50ac84
cmp eax, 0x62500000
je 0x50abd1
cmp eax, 0x62600000
je 0x50ab23
cmp eax, 0x62700000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x62900000
je 0x50ab78
cmp eax, 0x62a00000
je 0x50abde
cmp eax, 0x62b00000
jne 0x50b251
mov ecx, 0xa
lea edx, [ecx - 6]
jmp 0x50b251
mov ecx, 5
lea edx, [ecx - 1]
jmp 0x50b251
cmp eax, 0x63d00000
ja 0x50ad0c
je 0x50acff
cmp eax, 0x63500000
ja 0x50ac90
je 0x50ab78
cmp eax, 0x63100000
ja 0x50ac67
je 0x50ac42
cmp eax, 0x62f00000
ja 0x50ac4f
je 0x50adde
cmp eax, 0x62d00000
je 0x50ac42
cmp eax, 0x62e00000
jne 0x50b251
mov ecx, 5
lea edx, [ecx - 4]
jmp 0x50b251
mov ecx, 8
lea edx, [ecx - 7]
jmp 0x50b251
cmp eax, 0x63000000
jne 0x50b251
mov ecx, 4
lea edx, [ecx - 3]
jmp 0x50b251
cmp eax, 0x63200000
je 0x50ac35
cmp eax, 0x63300000
je 0x50adde
cmp eax, 0x63400000
jne 0x50b251
mov ecx, 4
mov edx, ecx
jmp 0x50b251
cmp eax, 0x63900000
ja 0x50acd9
je 0x50acb2
cmp eax, 0x63600000
je 0x50accc
cmp eax, 0x63700000
je 0x50acbf
cmp eax, 0x63800000
jne 0x50b251
mov ecx, 3
lea edx, [ecx - 2]
jmp 0x50b251
mov ecx, 0xa
lea edx, [ecx - 6]
jmp 0x50b251
mov ecx, 5
lea edx, [ecx - 1]
jmp 0x50b251
cmp eax, 0x63a00000
je 0x50acb2
cmp eax, 0x63b00000
je 0x50acb2
cmp eax, 0x63c00000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x64700000
ja 0x50ad86
je 0x50ad79
cmp eax, 0x64300000
ja 0x50ad4b
je 0x50abab
cmp eax, 0x64000000
je 0x50ab23
cmp eax, 0x64100000
je 0x50ad3e
cmp eax, 0x64200000
jmp 0x50ab72
mov ecx, 9
lea edx, [ecx - 5]
jmp 0x50b251
cmp eax, 0x64400000
je 0x50abd1
cmp eax, 0x64500000
je 0x50ae90
cmp eax, 0x64600000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
mov ecx, 0x12
lea edx, [ecx - 0xe]
jmp 0x50b251
cmp eax, 0x64b00000
ja 0x50adc1
je 0x50ae90
cmp eax, 0x64800000
je 0x50ab78
cmp eax, 0x64900000
je 0x50abab
cmp eax, 0x64a00000
jne 0x50b251
mov ecx, 0xa
lea edx, [ecx - 6]
jmp 0x50b251
cmp eax, 0x64c00000
je 0x50ac42
cmp eax, 0x64d00000
je 0x50ae4a
cmp eax, 0x64e00000
jne 0x50b251
mov ecx, 0xa
lea edx, [ecx - 9]
jmp 0x50b251
cmp eax, 0x68200000
ja 0x50afd1
je 0x50abab
cmp eax, 0x66000000
ja 0x50aefa
je 0x50abab
cmp eax, 0x65800000
ja 0x50ae9d
je 0x50ab23
cmp eax, 0x65400000
ja 0x50ae6f
je 0x50ab78
cmp eax, 0x65200000
ja 0x50ae57
je 0x50adde
cmp eax, 0x65000000
je 0x50ac42
cmp eax, 0x65100000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 0xb]
jmp 0x50b251
cmp eax, 0x65300000
jne 0x50b251
mov ecx, 0xf
lea edx, [ecx - 0xe]
jmp 0x50b251
cmp eax, 0x65500000
je 0x50abab
cmp eax, 0x65600000
je 0x50abd1
cmp eax, 0x65700000
jne 0x50b251
mov ecx, 0xf
lea edx, [ecx - 0xb]
jmp 0x50b251
cmp eax, 0x65c00000
ja 0x50aed4
je 0x50aeed
cmp eax, 0x65900000
je 0x50ad3e
cmp eax, 0x65a00000
je 0x50ab78
cmp eax, 0x65b00000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x65d00000
je 0x50aeed
cmp eax, 0x65e00000
je 0x50aeed
cmp eax, 0x65f00000
jne 0x50b251
mov ecx, 6
lea edx, [ecx - 5]
jmp 0x50b251
cmp eax, 0x67600000
ja 0x50af6c
je 0x50abab
cmp eax, 0x67200000
ja 0x50af3e
je 0x50ae90
cmp eax, 0x66100000
je 0x50abab
cmp eax, 0x67000000
je 0x50ad3e
cmp eax, 0x67100000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x67300000
je 0x50ad79
cmp eax, 0x67400000
je 0x50abab
cmp eax, 0x67500000
jne 0x50b251
mov ecx, 0xf
lea edx, [ecx - 0xb]
jmp 0x50b251
cmp eax, 0x67a00000
ja 0x50afa3
je 0x50abab
cmp eax, 0x67700000
je 0x50ae90
cmp eax, 0x67800000
je 0x50af96
cmp eax, 0x67900000
jne 0x50b251
mov ecx, 9
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x67b00000
je 0x50abab
cmp eax, 0x68000000
je 0x50ad3e
cmp eax, 0x68100000
jne 0x50b251
mov ecx, 0xf
lea edx, [ecx - 0xb]
jmp 0x50b251
cmp eax, 0x69300000
ja 0x50b0cf
je 0x50abab
cmp eax, 0x68b00000
ja 0x50b06e
je 0x50b13f
cmp eax, 0x68700000
ja 0x50b037
je 0x50abab
cmp eax, 0x68500000
ja 0x50b030
je 0x50ae4a
cmp eax, 0x68300000
je 0x50ae4a
cmp eax, 0x68400000
jne 0x50b251
mov ecx, 0x10
lea edx, [ecx - 0xf]
jmp 0x50b251
cmp eax, 0x68600000
jmp 0x50b01d
cmp eax, 0x68800000
je 0x50abab
cmp eax, 0x68900000
je 0x50b061
cmp eax, 0x68a00000
jne 0x50b251
mov ecx, 0x10
lea edx, [ecx - 0xc]
jmp 0x50b251
mov ecx, 0x14
lea edx, [ecx - 0x10]
jmp 0x50b251
cmp eax, 0x68f00000
ja 0x50b0a1
je 0x50af96
cmp eax, 0x68c00000
je 0x50ad3e
cmp eax, 0x68d00000
je 0x50abab
cmp eax, 0x68e00000
je 0x50af96
jmp 0x50b251
cmp eax, 0x69000000
je 0x50af96
cmp eax, 0x69100000
je 0x50af96
cmp eax, 0x69200000
jne 0x50b251
mov ecx, 0xc
lea edx, [ecx - 8]
jmp 0x50b251
cmp eax, 0x6b500000
ja 0x50b14c
je 0x50b177
cmp eax, 0x6a300000
ja 0x50b122
je 0x50abab
cmp eax, 0x6a000000
je 0x50b115
cmp eax, 0x6a100000
je 0x50b10b
cmp eax, 0x6a200000
jne 0x50b251
mov ecx, esi
mov edx, ecx
jmp 0x50b251
mov edx, 4
jmp 0x50b24e
lea ecx, [esi + esi]
mov edx, 4
jmp 0x50b251
cmp eax, 0x6a400000
je 0x50b13f
cmp eax, 0x6a500000
je 0x50abab
cmp eax, 0x6a600000
jne 0x50b251
mov ecx, 0x10
lea edx, [ecx - 0xc]
jmp 0x50b251
cmp eax, 0x6b900000
ja 0x50b190
je 0x50b184
cmp eax, 0x6b600000
je 0x50b177
cmp eax, 0x6b700000
je 0x50b16e
cmp eax, 0x6b800000
jne 0x50b251
mov ecx, esi
mov edx, esi
jmp 0x50b251
mov ecx, 2
lea edx, [ecx + 2]
jmp 0x50b251
mov ecx, 2
mov edx, ecx
jmp 0x50b251
cmp eax, 0x6ba00000
je 0x50b1b6
cmp eax, 0x6bb00000
je 0x50b1b6
cmp eax, 0x6bc00000
jne 0x50b251
mov ecx, 1
lea edx, [ecx + 1]
jmp 0x50b251
mov ecx, 1
mov edx, esi
jmp 0x50b251
and eax, 0xfff00000
cmp eax, 0x50400000
ja 0x50b20a
je 0x50b244
cmp eax, 0x50100000
ja 0x50b1ed
je 0x50a9d5
cmp eax, 0x11f00000
je 0x50b23e
cmp eax, 0x50000000
je 0x50b221
jmp 0x50b251
cmp eax, 0x50200000
je 0x50b201
cmp eax, 0x50300000
jne 0x50b251
mov ecx, esi
mov edx, esi
jmp 0x50b251
mov ecx, esi
mov edx, 1
jmp 0x50b251
cmp eax, 0x50700000
ja 0x50b230
je 0x50b244
cmp eax, 0x50500000
je 0x50b244
cmp eax, 0x50600000
jne 0x50b251
lea ecx, [esi + esi]
cmp edx, 0xffffffff
jne 0x50b251
mov edx, 1
jmp 0x50b251
cmp eax, 0x50800000
je 0x50b244
cmp eax, 0x50900000
jne 0x50b251
mov ecx, esi
mov edx, esi
jmp 0x50b251
cmp edx, 0xffffffff
jne 0x50b24e
mov edx, 1
lea ecx, [esi + esi*2]
cmp dword [edi], 0xffffffff
jne 0x50b258
mov dword [edi], ecx
cmp dword [edi + 8], 0xffffffff
jne 0x50b261
mov dword [edi + 8], edx
mov esi, dword [edi]
cmp esi, ecx
jne 0x50b27c
mov eax, dword [edi + 8]
cmp eax, edx
jne 0x50b27c
cmp esi, 0xffffffff
je 0x50b27c
cmp eax, 0xffffffff
jne 0x50b324
pop edi
pop esi
mov eax, 0x80004005
pop ebx
pop ebp
ret 8
mov ebx, eax
and ebx, 0xfff00000
cmp ebx, 0x80300000
ja 0x50b2c5
je 0x50b2b2
cmp ebx, 0x80000000
je 0x50b2bb
cmp ebx, 0x80100000
je 0x50b2b2
cmp ebx, 0x80200000
jne 0x50b2eb
mov ecx, 1
mov edx, ecx
jmp 0x50b2eb
lea ecx, [esi + esi*2]
mov edx, 1
jmp 0x50b2eb
cmp ebx, 0x80400000
je 0x50b2b2
cmp ebx, 0x80500000
jne 0x50b2eb
mov ecx, 2
lea edx, [ecx - 1]
jmp 0x50b2eb
cmp ebx, 0x90000000
jne 0x50b251
and eax, 0xfff00000
cmp eax, 0x90000000
je 0x50b249
cmp eax, 0x90100000
je 0x50b31a
cmp eax, 0x90200000
jne 0x50b251
lea ecx, [esi + esi]
mov edx, 1
jmp 0x50b251
lea ecx, [esi + esi]
mov edx, esi
jmp 0x50b251
mov eax, dword [ebp + 8]
mov esi, dword [eax]
lea ecx, [eax + 0x40]
add edi, 4
push ecx
mov ebx, edi
call fcn.0050a790
test eax, eax
jl 0x50b38b
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
lea edx, [eax + 0x42]
lea ebx, [eax + 0xc]
push edx
call fcn.0050a790
xor edx, edx
cmp eax, edx
jl 0x50b38b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edi, dword [edi]
cmp ecx, edx
jbe 0x50b366
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edi, dword [ebx]
cmp ecx, edx
jbe 0x50b377
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8