Function at 0x1000fe10
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x14
mov eax, dword [0x10083180]
push ebx
mov ebx, dword [0x10083188]
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x80]
add ecx, ebx
push ebp
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1000ff6c
jmp 0x1000fe54
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x10]
lea esi, [eax + ebx]
mov eax, dword [ecx]
add edi, ebx
lea ebp, [eax + ebx]
test eax, eax
jne 0x1000fe67
mov ebp, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1000fe85
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [ebp]
test eax, eax
je 0x1000ff56
mov ebx, edi
sub ebx, ebp
mov dword [esp + 0x1c], ebx
jmp 0x1000fea4
mov ecx, dword [esp + 0x14]
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
je 0x1000ff36
mov edx, dword [esp + 0x10]
lea esi, [eax + edx + 2]
push esi
push ecx
call dword [esp + 0x28]
mov dword [ebx + ebp], eax
test eax, eax
jne 0x1000ff44
movzx eax, byte [esi]
sub eax, 0x45
mov ecx, 0x1007e950
jne 0x1000fef8
mov edi, esi
mov dl, 0x45
sub edi, ecx
test dl, dl
je 0x1000fef8
mov dl, byte [ecx + 1]
movzx eax, byte [edi + ecx + 1]
inc ecx
movzx ebx, dl
sub eax, ebx
mov ebx, dword [esp + 0x1c]
je 0x1000fee0
test eax, eax
js 0x1000ff00
jg 0x1000ff00
je 0x1000ff2d
movzx eax, byte [esi]
sub eax, 0x44
mov ecx, 0x1007e960
jne 0x1000ff25
mov dl, 0x44
sub esi, ecx
test dl, dl
je 0x1000ff25
mov dl, byte [ecx + 1]
movzx eax, byte [esi + ecx + 1]
inc ecx
movzx edi, dl
sub eax, edi
je 0x1000ff11
test eax, eax
js 0x1000ff44
jg 0x1000ff44
jne 0x1000ff44
mov dword [ebx + ebp], 0x1000ea00
jmp 0x1000ff44
and eax, 0x7fffffff
push eax
push ecx
call dword [esp + 0x28]
mov dword [ebx + ebp], eax
mov eax, dword [ebp + 4]
add ebp, 4
test eax, eax
jne 0x1000fea0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1000fe50
mov eax, dword [0x10083190]
mov ecx, dword [0x1008318c]
push eax
push ecx
push 0
push ebx
xor eax, eax
call fcn.1000ef50
mov ebp, dword [ebx + 0x3c]
movzx eax, word [ebp + ebx + 0x14]
add ebp, ebx
xor ecx, ecx
add esp, 0x10
xor edi, edi
lea eax, [eax + ebp + 0x18]
cmp cx, word [ebp + 6]
jae 0x1000ffff
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esi, [eax + 0x24]
jmp 0x1000ffb0
mov ecx, dword [esi]
xor eax, eax
test ecx, 0x20000000
je 0x1000ffc1
mov eax, 0x10
test ecx, 0x40000000
je 0x1000ffcc
or eax, 0x20
test ecx, ecx
jns 0x1000ffd3
or eax, 0x40
mov ecx, dword [esi - 0x18]
add ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esi - 0x1c]
push eax
push ecx
mov dword [esp + 0x30], 0
call ebx
movzx edx, word [ebp + 6]
inc edi
add esi, 0x28
cmp edi, edx
jl 0x1000ffb0
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
je 0x10010019
push 0
push 1
push ebx
call dword [0x10083194]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 5
push 0x1002c278
push 0
push ebx
call dword [0x10083194]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret