Function at 0x10101690
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x101d5abc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x210], eax
push esi
xor esi, esi
mov dword [ebp - 0x22c], esi
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x238], esi
push edi
test edx, edx
je 0x101016d6
movzx eax, word [edx + 0x44]
add eax, edx
jmp 0x101016d9
mov eax, dword [ebx + 0x30]
movzx edx, word [eax + 8]
add edx, eax
movzx eax, word [eax + 6]
mov edi, edx
sub edi, eax
mov dword [ebp - 0x220], edi
cmp edi, edx
jne 0x101016f9
xor esi, esi
inc esi
jmp 0x101019eb
mov ecx, edi
call fcn.1013a245
test eax, eax
je 0x101019eb
mov esi, edi
lea edi, [ebp - 0x250]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x244]
mov edi, dword [ebp - 0x210]
movzx eax, si
add eax, dword [ebp - 0x220]
shr esi, 0x10
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], esi
test edi, edi
jne 0x101017b0
mov edi, dword [ebx + 0x38]
test edi, edi
jne 0x101017b0
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x101019bb
mov ecx, dword [ebx + 0x18]
lea edx, [ebp - 0x20c]
xor eax, eax
inc eax
push eax
mov ecx, dword [ecx + 0x14]
push 0x100
mov dword [ebp - 0x238], eax
call fcn.101337fb
test eax, eax
je 0x101019bb
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebx + 0x30]
mov edx, edi
add eax, 0x30
mov ecx, dword [ecx + 0x14]
push eax
push 0x200
call fcn.10133aa2
test eax, eax
je 0x101019bb
mov eax, dword [ebp - 0x228]
push esi
xor esi, esi
push esi
push eax
call sub.msvcrt.dll_memset
mov edx, dword [ebx + 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x220]
add eax, 0xfffffffe
mov dword [ebp - 0x218], eax
mov ebx, dword [edx + 0xc]
push 0x27
pop eax
and ebx, 0x100000
je 0x101017e1
mov ecx, eax
jmp 0x10101807
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx + 2]
mov dword [ebp - 0x210], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x101017f0
sub ecx, dword [ebp - 0x210]
sar ecx, 1
push 0x27
inc ecx
pop eax
lea esi, [ecx + ecx]
sub dword [ebp - 0x218], esi
push 0
mov dword [ebp - 0x210], esi
pop esi
js 0x101019bd
test ebx, ebx
je 0x10101828
add edx, 0x28
jmp 0x10101830
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 4]
mov eax, ecx
mov ecx, dword [ebp - 0x228]
push eax
call fcn.10133d12
mov ecx, dword [ebp - 0x224]
xor edx, edx
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x228]
mov dword [ebp - 0x21c], eax
mov ebx, dword [ecx + 0x1c]
add ebx, dword [ecx + 0x18]
mov dword [ebp - 0x230], ebx
call fcn.10134816
mov edx, eax
mov dword [ebp - 0x210], edx
test ebx, ebx
je 0x101019bd
test edx, edx
je 0x101019bd
cmp ebx, 0x200
jae 0x101019bd
mov eax, dword [ebp - 0x230]
mov ebx, esi
mov dword [ebp - 0x234], ebx
test eax, eax
je 0x101019b6
cmp dword [edx + 0x2c], 2
je 0x1010199e
cmp dword [edx], 0
je 0x101019bd
mov eax, dword [ecx + 0x138]
add eax, dword [edx]
mov dword [ebp - 0x23c], eax
je 0x101019bd
mov ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x214], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101018d3
sub ecx, dword [ebp - 0x214]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x214], eax
movzx eax, byte [edi + ebx*2]
push eax
call fcn.101349b5
mov dword [ebp - 0x240], eax
test eax, eax
jne 0x10101908
xor ebx, ebx
inc ebx
jmp 0x10101934
cmp dword [eax], 0
je 0x101019bd
mov ecx, dword [ecx + 0x138]
add ecx, dword [eax]
mov dword [ebp - 0x22c], ecx
je 0x101019bd
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10101928
sub ecx, edx
lea ebx, [ecx + 1]
mov ecx, dword [ebp - 0x214]
lea eax, [ebx + ecx]
sub dword [ebp - 0x218], eax
js 0x101019bd
mov edx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x21c]
call fcn.10133d55
cmp dword [ebp - 0x240], 0
je 0x10101978
mov ecx, dword [ebp - 0x21c]
add ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x22c]
push ebx
call fcn.10133d55
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x210]
add eax, ebx
add dword [ebp - 0x21c], eax
mov ebx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x224]
inc ebx
add edx, 0x54
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x210], edx
cmp ebx, eax
jb 0x101018a1
xor esi, esi
inc esi
jmp 0x101019d7
xor esi, esi
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x101019d7
push eax
push esi
push dword [ebp - 0x228]
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x101019eb
test edi, edi
je 0x101019eb
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101885f0
leave
ret 4