Function at 0x4674c0
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov ecx, 0x5b
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [esp + 0x20]
push 0x5eddd4
push edi
xor esi, esi
push 1
push str.function
xor ebp, ebp
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], esi
call fcn.00552d20
add esp, 0x10
test eax, eax
je 0x467820
push 0x5731d0
push 0x5eddd4
call fcn.0052b25e
mov esi, eax
add esp, 8
test esi, esi
je 0x4677ea
push 0
push esi
call fcn.004669d0
add esp, 8
or ebp, eax
cmp eax, 0x10000
jg 0x4676ac
je 0x467698
cmp eax, 0x20
jg 0x467624
je 0x467607
dec eax
cmp eax, 0xf
ja case.0x467563.6
xor ecx, ecx
mov cl, byte [eax + 0x467848]
jmp dword [ecx*4 + 0x467830]
lea edx, [ebx + 0x7d]
push edx
push esi
call fcn.00467350
add esp, 8
mov esi, eax
or ebp, 0x80000000
jmp case.0x467563.6
lea eax, [ebx + 0x85]
push eax
push esi
call fcn.00467350
add esp, 8
mov esi, eax
or ebp, 0x80000000
jmp case.0x467563.6
lea ecx, [ebx + 0xa1]
push ecx
push esi
call fcn.00467370
mov ecx, dword [ebx + 0xa9]
mov esi, eax
and ecx, 0xffff
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
add esp, 8
shr eax, 0x1f
add edx, eax
or ebp, 0x80000000
mov dword [ebx + 0xa9], edx
jmp case.0x467563.6
lea ecx, [ebx + 0x95]
push ecx
jmp 0x4675f1
lea edx, [ebx + 0xad]
push edx
push esi
call fcn.00467370
add esp, 8
mov esi, eax
or ebp, 0x80000000
jmp case.0x467563.6
lea eax, [ebx + 0x8d]
push eax
push esi
call fcn.00467350
add esp, 8
mov esi, eax
or ebp, 0x80000000
jmp case.0x467563.6
cmp eax, 0x2000
jg 0x467679
je 0x467663
sub eax, 0x40
je 0x46764f
sub eax, 0x40
jne case.0x467563.6
lea ecx, [ebx + 0x6d]
push ecx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea edx, [ebx + 0x75]
push edx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea eax, [ebx + 0x20]
push 4
push eax
push esi
call fcn.00467170
add esp, 0xc
mov esi, eax
jmp case.0x467563.6
cmp eax, 0x4000
jne case.0x467563.6
lea ecx, [ebx + 0x65]
push ecx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea edx, [ebx + 0x5d]
push edx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
cmp eax, 0x400000
jg 0x467759
je 0x467748
cmp eax, 0x80000
jg 0x467714
je 0x467700
cmp eax, 0x20000
je 0x4676ec
cmp eax, 0x40000
jne case.0x467563.6
lea eax, [ebx + 0x4d]
push eax
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea ecx, [ebx + 0x55]
push ecx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea edx, [ebx + 0x45]
push edx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
cmp eax, 0x100000
je 0x467737
cmp eax, 0x200000
jne case.0x467563.6
lea eax, [ebx + 0x34]
push eax
push esi
call fcn.00467390
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea ecx, [ebx + 0x3d]
push ecx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea edx, [ebx + 0x2c]
push edx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
cmp eax, 0x20000000
jg 0x4677a7
je 0x467794
cmp eax, 0x800000
je 0x467783
cmp eax, 0x10000000
jne case.0x467563.6
lea eax, [ebx + 0x10]
push 0
push eax
push esi
call fcn.00467170
add esp, 0xc
mov esi, eax
jmp case.0x467563.6
lea ecx, [ebx + 0x24]
push ecx
push esi
call fcn.00467330
add esp, 8
mov esi, eax
jmp case.0x467563.6
lea edx, [ebx + 0xc]
push 0
push edx
push esi
call fcn.00467170
add esp, 0xc
mov esi, eax
jmp case.0x467563.6
cmp eax, 0x40000000
je 0x4677c8
test esi, esi
jne 0x4677ea
mov eax, dword [esp + 0x10]
push eax
push esi
push esi
push 0xd1
call fcn.0041a590
add esp, 0x10
jmp 0x4677ea
push 0
call fcn.00466aa0
mov ecx, dword [esp + 0x18]
add esp, 4
or ecx, eax
test ecx, 0xff60c0
mov dword [esp + 0x14], ecx
je 0x4677ea
or ebp, 0x80000000
mov eax, dword [esp + 0x10]
push 0x5eddd4
inc eax
push edi
push eax
push str.function
mov dword [esp + 0x20], eax
call fcn.00552d20
add esp, 0x10
test eax, eax
jne 0x467508
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ebx], ebp
pop esi
mov dword [ebx + 4], ecx
pop ebp
pop ebx
add esp, 8
ret
mov dword [ebx + 4], esi
pop edi
mov dword [ebx], ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret