Function at 0x100ae7d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x30]
mov edx, dword [ebp]
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x30]
push esi
push edx
push 0x10167f04
mov esi, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0
call fcn.100a7570
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
jne 0x100ae81b
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x20
ret
push edi
mov ecx, 0x1c
mov esi, ebx
call fcn.1009e120
mov edi, eax
test edi, edi
je 0x100ae8e0
mov edx, dword [esp + 0x3c]
xor eax, eax
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [edi], ebx
mov dword [edi + 4], edx
mov esi, dword [ebp + 0x40]
test esi, esi
mov eax, 0xfff0bdc0
je 0x100ae87d
mov ecx, dword [ebx + 0x14]
xor eax, eax
test ecx, ecx
jle 0x100ae87d
mov ecx, dword [ebx + 0x10]
add ecx, 0xc
mov edi, edi
cmp dword [ecx], esi
je 0x100ae87d
inc eax
add ecx, 0x10
cmp eax, dword [ebx + 0x14]
jl 0x100ae870
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebp + 0x34]
shl eax, 4
mov eax, dword [eax + ecx]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 0x134]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [ebx + 0x134], eax
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 8]
lea esi, [edi + 8]
push esi
push eax
push ecx
push edx
push ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
call dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
add esp, 0x18
cmp eax, 7
mov dword [esp + 0x24], eax
mov dword [ebx + 0x134], ecx
jne 0x100ae8f8
mov byte [ebx + 0x38], 1
jmp 0x100ae8fe
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.10093a30
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x20
ret
xor ecx, ecx
cmp eax, ecx
je 0x100ae95a
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, ebx
jne 0x100ae92e
mov edx, dword [esp + 0x1c]
push edx
push str.vtable_constructor_failed:__s
call fcn.100a7570
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
add esp, 8
mov eax, edi
mov ecx, ebx
call fcn.10093a30
jmp 0x100aeabb
push eax
push 0x10167f04
call fcn.100a7570
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov eax, dword [esp + 0x20]
push eax
call fcn.10093990
add esp, 0xc
mov eax, edi
mov ecx, ebx
call fcn.10093a30
jmp 0x100aeabb
mov esi, dword [esi]
cmp esi, ecx
je 0x100aeabb
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
mov dword [esi], eax
mov dword [edi + 0xc], 1
cmp dword [esp + 0x2c], ecx
je 0x100ae9a6
mov ecx, dword [ebp]
push ecx
push str.vtable_constructor_did_not_declare_schema:__s
mov esi, ebx
call fcn.100a7570
mov edx, dword [esp + 0x4c]
add esp, 8
mov esi, edi
mov dword [edx], eax
call fcn.1009bdc0
mov dword [esp + 0x24], 1
jmp 0x100aeabb
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x18], eax
cmp word [ebp + 0x26], cx
mov dword [ebp + 0x38], edi
mov dword [esp + 0x20], ecx
jle 0x100aeabb
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov esi, dword [edx + ecx + 0xc]
xor edi, edi
test esi, esi
je 0x100aea9b
mov ecx, esi
call fcn.10093c30
push 6
push esi
push str.hidden
mov dword [esp + 0x1c], eax
call fcn.10093d50
add esp, 0xc
test eax, eax
jne 0x100aea00
mov al, byte [esi + 6]
test al, al
je 0x100aea3f
cmp al, 0x20
je 0x100aea3f
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jle 0x100aea9b
mov edi, edi
push 7
lea eax, [edi + esi]
push eax
push str._hidden
call fcn.10093d50
add esp, 0xc
test eax, eax
jne 0x100aea33
mov al, byte [edi + esi + 7]
test al, al
je 0x100aea3e
cmp al, 0x20
je 0x100aea3e
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x100aea10
jmp 0x100aea9b
inc edi
cmp edi, dword [esp + 0x10]
jge 0x100aea9b
mov al, byte [edi + esi + 6]
lea edx, [edi + esi]
xor ecx, ecx
test al, al
setne cl
add ecx, 6
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x10]
jg 0x100aea7e
mov ebp, ecx
mov eax, edx
sub ebp, esi
mov bl, byte [eax + ecx]
mov byte [eax], bl
mov ebx, dword [esp + 0x10]
inc eax
lea esi, [eax + ebp]
cmp esi, ebx
jle 0x100aea65
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
cmp byte [edx], 0
jne 0x100aea8b
test edi, edi
jle 0x100aea8b
mov byte [edx - 1], 0
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
or byte [edx + ecx + 0x16], 2
lea eax, [edx + ecx + 0x16]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
movsx ecx, word [ebp + 0x26]
inc eax
add esi, 0x18
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
jl 0x100ae9c1
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.10093a30
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret