Function at 0x1000aef0
Capabilities:
Access peb ldr_data
Check os version
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword fs:[0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov dx, word [ecx + 0x14]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp word [ecx + 6], ax
mov dword [ebp - 0xc], eax
jbe 0x1000b386
jmp 0x1000af3a
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*8]
test edi, edi
mov dword [ebp - 4], edi
jne 0x1000af4e
xor eax, eax
jmp 0x1000af60
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x1000af5e
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000af56
sub eax, edi
lea esi, [eax + 1]
push esi
call fcn.10030d66
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, esi
je 0x1000afae
test edi, edi
je 0x1000af90
test ecx, ecx
je 0x1000af90
dec ecx
mov edx, edi
sub edx, ebx
lea esi, [ecx + 1]
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec esi
jne 0x1000af87
mov al, byte [ebx]
mov ecx, ebx
test al, al
je 0x1000afae
mov al, byte [ecx]
cmp al, 0x61
jl 0x1000afa6
cmp al, 0x7a
jg 0x1000afa6
sub al, 0x20
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1000af98
mov edx, str..rsrc
test edx, edx
jne 0x1000afbb
xor eax, eax
jmp 0x1000afd7
mov cl, byte [str..rsrc]
mov eax, str..rsrc
test cl, cl
je 0x1000afd2
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000afca
sub eax, str..rsrc
lea esi, [eax + 1]
push esi
call fcn.10030d66
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x10], edi
mov ecx, esi
je 0x1000b02f
mov eax, str..rsrc
test eax, eax
je 0x1000b011
test ecx, ecx
je 0x1000b011
dec ecx
mov edx, str..rsrc
mov eax, edi
sub edx, edi
lea esi, [ecx + 1]
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec esi
jne 0x1000b008
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x1000b02f
mov al, byte [ecx]
cmp al, 0x61
jl 0x1000b027
cmp al, 0x7a
jg 0x1000b027
sub al, 0x20
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1000b019
test ebx, ebx
jne 0x1000b037
xor ecx, ecx
jmp 0x1000b04b
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x1000b047
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000b03f
sub eax, ebx
mov ecx, eax
test edi, edi
jne 0x1000b053
xor eax, eax
jmp 0x1000b065
mov dl, byte [edi]
mov eax, edi
test dl, dl
je 0x1000b063
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000b05b
sub eax, edi
cmp ecx, eax
jle 0x1000b06f
movsx esi, byte [eax + ebx]
jmp 0x1000b0e4
jge 0x1000b079
movsx esi, byte [ecx + edi]
neg esi
jmp 0x1000b0e4
test ebx, ebx
je 0x1000b396
test edi, edi
je 0x1000b396
push 4
push ecx
call fcn.1003114a
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ebx, edx
add esp, 8
xor edx, edx
test eax, eax
jle 0x1000b0b9
mov ecx, dword [esi]
add esi, 4
sub ecx, dword [edi]
add edi, 4
test ecx, ecx
jne 0x1000b137
inc edx
cmp edx, eax
jl 0x1000b0a2
test ebx, ebx
je 0x1000b0da
xor edx, edx
mov ecx, esi
test ebx, ebx
jle 0x1000b0da
sub edi, esi
movsx esi, byte [edi + ecx]
movsx eax, byte [ecx]
sub eax, esi
inc ecx
test eax, eax
jne 0x1000b0dc
inc edx
cmp edx, ebx
jl 0x1000b0c7
xor eax, eax
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov esi, eax
push ebx
call fcn.10030d5b
push edi
call fcn.10030d5b
add esp, 8
test esi, esi
je 0x1000b36e
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
lea edx, [ebp - 0x18]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 0xc]
push 4
add edx, edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000b36e
mov eax, dword [0x1004aa30]
test eax, eax
je 0x1000b2ff
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x1000b13b
xor eax, eax
jmp 0x1000b14d
mov eax, ecx
jmp 0x1000b0dc
mov dl, byte [ecx]
mov eax, ecx
test dl, dl
je 0x1000b14b
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000b143
sub eax, ecx
lea esi, [eax + 1]
push esi
call fcn.10030d66
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, esi
je 0x1000b19c
mov edx, dword [ebp - 4]
test edx, edx
je 0x1000b17e
test ecx, ecx
je 0x1000b17e
dec ecx
sub edx, ebx
lea esi, [ecx + 1]
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec esi
jne 0x1000b175
mov al, byte [ebx]
mov ecx, ebx
test al, al
je 0x1000b19c
mov al, byte [ecx]
cmp al, 0x61
jl 0x1000b194
cmp al, 0x7a
jg 0x1000b194
sub al, 0x20
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1000b186
mov edx, str..rdata
test edx, edx
jne 0x1000b1a9
xor eax, eax
jmp 0x1000b1c5
mov cl, byte [str..rdata]
mov eax, str..rdata
test cl, cl
je 0x1000b1c0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000b1b8
sub eax, str..rdata
lea esi, [eax + 1]
push esi
call fcn.10030d66
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp - 0x10], edi
mov ecx, esi
je 0x1000b21d
mov eax, str..rdata
test eax, eax
je 0x1000b1ff
test ecx, ecx
je 0x1000b1ff
dec ecx
mov edx, str..rdata
mov eax, edi
sub edx, edi
lea esi, [ecx + 1]
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec esi
jne 0x1000b1f6
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x1000b21d
mov al, byte [ecx]
cmp al, 0x61
jl 0x1000b215
cmp al, 0x7a
jg 0x1000b215
sub al, 0x20
mov byte [ecx], al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1000b207
test ebx, ebx
jne 0x1000b225
xor ecx, ecx
jmp 0x1000b239
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x1000b235
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000b22d
sub eax, ebx
mov ecx, eax
test edi, edi
jne 0x1000b241
xor eax, eax
jmp 0x1000b253
mov dl, byte [edi]
mov eax, edi
test dl, dl
je 0x1000b251
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1000b249
sub eax, edi
cmp ecx, eax
jle 0x1000b25d
movsx esi, byte [eax + ebx]
jmp 0x1000b2ce
jge 0x1000b267
movsx esi, byte [ecx + edi]
neg esi
jmp 0x1000b2ce
test ebx, ebx
je 0x1000b38d
test edi, edi
je 0x1000b38d
push 4
push ecx
call fcn.1003114a
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov ebx, edx
add esp, 8
xor edx, edx
test eax, eax
jle 0x1000b2a3
mov ecx, dword [esi]
add esi, 4
sub ecx, dword [edi]
add edi, 4
test ecx, ecx
jne 0x1000b2fb
inc edx
cmp edx, eax
jl 0x1000b290
test ebx, ebx
je 0x1000b2c4
xor edx, edx
mov ecx, esi
test ebx, ebx
jle 0x1000b2c4
sub edi, esi
movsx esi, byte [edi + ecx]
movsx eax, byte [ecx]
sub eax, esi
inc ecx
test eax, eax
jne 0x1000b2c6
inc edx
cmp edx, ebx
jl 0x1000b2b1
xor eax, eax
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
mov esi, eax
push ebx
call fcn.10030d5b
push edi
call fcn.10030d5b
add esp, 8
test esi, esi
je 0x1000b2ff
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [ebp - 8]
add eax, edx
push eax
call fcn.1000ad40
add esp, 8
jmp 0x1000b350
mov eax, ecx
jmp 0x1000b2c6
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
add esi, dword [ebp - 8]
je 0x1000b350
cmp ecx, 8
jae 0x1000b318
test ecx, ecx
jbe 0x1000b350
jmp 0x1000b33e
push 4
push ecx
xor edi, edi
call fcn.1003114a
mov ebx, eax
add esp, 8
test ebx, ebx
jle 0x1000b336
mov eax, edi
mov ecx, ebx
mov edi, esi
lea esi, [esi + ebx*4]
rep stosd dword es:[edi], eax
test edx, edx
je 0x1000b350
jle 0x1000b350
mov ecx, edx
mov edx, ecx
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push edx
mov edx, dword [ebp - 8]
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov cx, word [edx + 6]
mov dword [ebp - 0xc], eax
cmp eax, ecx
jl 0x1000af37
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
call fcn.1003116f
push 0
push 0
call fcn.1003116f
nop