Function at 0x47b5d6
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov esi, ecx
mov dword [ebp - 0x18], esi
jne 0x47b607
push edi
push esi
call fcn.00410eb0
mov eax, dword [esi + 0x28]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
jne 0x47b607
mov eax, 0x80070057
jmp 0x47ba11
push esi
lea ecx, [ebp - 0x38]
call fcn.0043ff76
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 3], 0
xor ecx, ecx
jmp 0x47b67f
mov eax, ecx
call fcn.00437e2d
test al, al
jne 0x47b687
cmp cx, 0x2d
jne 0x47b640
or byte [ebp - 5], 8
jmp 0x47b67a
cmp cx, 0x7c
jne 0x47b64c
or byte [ebp - 5], 0x10
jmp 0x47b67a
cmp cx, 0x2b
jne 0x47b658
or byte [ebp - 5], 4
jmp 0x47b67a
cmp cx, 0x2e
jne 0x47b664
mov byte [ebp - 2], 1
jmp 0x47b67a
cmp cx, 0x3e
jne 0x47b670
mov byte [ebp - 3], 2
jmp 0x47b67a
cmp cx, 0x2a
jne 0x47b67a
mov byte [ebp - 1], 1
inc edx
inc edx
mov dword [ebp + 8], edx
mov cx, word [edx]
cmp cx, di
jne 0x47b629
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00437e65
mov esi, dword [ebp + 8]
push 0x2c
pop ebx
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.004128fe
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov cx, word [eax]
mov word [eax], di
cmp word [esi], 0x2d
mov word [ebp - 0x24], cx
mov edi, 0x80000000
jne 0x47b7b7
push 7
push esi
push 0x4aef14
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b6e1
mov dword [ebp - 0xc], 0x40000000
jmp 0x47b79d
push 6
push esi
push 0x4aef0c
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b701
mov dword [ebp - 0xc], 0x20000000
jmp 0x47b79d
push 5
push esi
push 0x4b07ec
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b71d
mov dword [ebp - 0xc], edi
jmp 0x47b79d
push 6
push esi
push 0x4b15cc
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b737
or byte [ebp - 5], 2
jmp 0x47b79d
push 8
push esi
push 0x4aef00
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b751
or dword [ebp - 8], 0x20
jmp 0x47b79d
push 5
push esi
push 0x4b15c4
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b76b
or dword [ebp - 8], 0x40
jmp 0x47b79d
push 3
push esi
push 0x4aeeec
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b785
or byte [ebp - 6], 0x20
jmp 0x47b79d
push 4
push esi
push 0x4b15bc
call fcn.00439124
add esp, 0xc
test al, al
je 0x47b79d
or byte [ebp - 6], 0x40
lea eax, [ebp + 8]
push eax
call fcn.00405196
mov esi, dword [ebp + 8]
cmp word [esi], 0x2d
pop ecx
je 0x47b6c1
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x24]
mov word [eax], cx
mov eax, dword [ebp - 0xc]
or dword [ebp - 8], eax
cmp word [esi], 0x2a
mov byte [ebp - 4], 0
jne 0x47b7e1
inc esi
lea eax, [ebp + 8]
inc esi
push eax
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
call fcn.00437e65
pop ecx
mov esi, 0x4a69d4
push esi
lea ecx, [ebp - 0x10]
call fcn.00446497
push esi
lea ecx, [ebp - 0xc]
call fcn.00446497
push esi
lea ecx, [ebp - 0x2c]
call fcn.00446497
mov eax, dword [ebp + 0x10]
or dword [ebp + 0x10], 0xffffffff
mov dword [ebp - 0x28], eax
push ebx
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call fcn.004408ab
mov ecx, dword [ebp - 0x18]
add esp, 0xc
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.00402d33
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x47b92e
push 2
pop esi
add dword [ebp + 8], esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044edb8
push eax
call fcn.0045079e
mov eax, dword [ebp + 8]
add esp, 0x14
cmp word [eax], bx
jne 0x47b92c
add dword [ebp + 8], esi
push edi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044edb8
push 0
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.00440967
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
jne 0x47b92c
add dword [ebp + 8], esi
push ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0044099b
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
jne 0x47b92c
add dword [ebp + 8], esi
push edi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044edb8
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.004409d6
movsx eax, ax
cmp eax, 3
pop ecx
pop ecx
jge 0x47b8fa
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x40], ecx
cmp eax, 4
jge 0x47b905
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
cmp word [eax], bx
jne 0x47b92c
add dword [ebp + 8], esi
push ebx
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044edb8
push eax
call fcn.00440af8
add esp, 0xc
xor esi, esi
cmp byte [ebp - 1], 0
pop ebx
je 0x47b962
lea ecx, [ebp + 8]
call fcn.0043dd7e
mov ecx, dword [ebp - 0x18]
push edi
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c]
call fcn.0044c8eb
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.00437e1a
cmp byte [ebp - 2], 0
jne 0x47b973
push esi
push dword [ebp - 0xc]
call fcn.0041291e
pop ecx
pop ecx
cmp byte [ebp - 3], 0
je 0x47b97d
or byte [ebp - 5], 1
lea eax, [ebp - 0xc]
push eax
call fcn.004410eb
cmp dword [ebp - 0x48], esi
mov eax, dword [0x4bf320]
pop ecx
jge 0x47b9a0
cmp dword [ebp - 0x44], esi
jge 0x47b9a8
cmp dword [ebp - 0x40], esi
jge 0x47b9a0
cmp dword [ebp - 0x3c], esi
jl 0x47b9b0
cmp dword [ebp - 0x44], esi
jge 0x47b9a8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x3c], esi
jge 0x47b9b0
mov dword [ebp - 0x3c], eax
cmp byte [ebp - 4], 0
je 0x47b9bb
mov eax, dword [ebp - 0x18]
jmp 0x47b9c4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x150]
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
push dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00479ab1
lea ecx, [ebp - 0x2c]
call fcn.00437e1a
lea ecx, [ebp - 0xc]
call fcn.00437e1a
lea ecx, [ebp - 0x10]
call fcn.00437e1a
lea ecx, [ebp - 0x38]
call fcn.00437e1a
xor eax, eax
pop edi
pop esi
leave
ret 0xc