Function at 0x100d91fb
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1019fbfc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x218], eax
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x238], ebx
push esi
push edi
test edx, edx
je 0x100d9247
movzx eax, word [edx + 0x44]
add eax, edx
jmp 0x100d924a
mov eax, dword [eax + 0x30]
movzx edx, word [eax + 8]
add edx, eax
movzx eax, word [eax + 6]
mov esi, edx
sub esi, eax
mov dword [ebp - 0x210], esi
cmp esi, edx
jne 0x100d926a
xor ebx, ebx
inc ebx
jmp 0x100d956b
mov ecx, esi
call fcn.1010fedb
test eax, eax
je 0x100d956b
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 edx, dword [ebp - 0x244]
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x218]
movzx eax, dx
add eax, dword [ebp - 0x210]
shr edx, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
test edi, edi
jne 0x100d932b
mov edi, dword [esi + 0x38]
test edi, edi
jne 0x100d932b
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100d953d
mov ecx, dword [esi + 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.10109813
test eax, eax
je 0x100d953d
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [esi + 0x30]
mov edx, edi
add eax, 0x30
mov ecx, dword [ecx + 0x14]
push eax
push 0x200
call fcn.10109a84
test eax, eax
je 0x100d953d
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
push edx
push ebx
push eax
call sub.msvcrt.dll_memset
mov edx, dword [esi + 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x230]
add eax, 0xfffffffe
mov dword [ebp - 0x21c], eax
mov esi, dword [edx + 0xc]
push 0x27
pop eax
and esi, 0x100000
je 0x100d935a
mov ecx, eax
jmp 0x100d9380
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, bx
jne 0x100d9369
sub ecx, dword [ebp - 0x210]
sar ecx, 1
push 0x27
inc ecx
pop eax
lea ebx, [ecx + ecx]
sub dword [ebp - 0x21c], ebx
push 0
mov dword [ebp - 0x210], ebx
pop ebx
js 0x100d953d
test esi, esi
je 0x100d93a1
add edx, 0x28
jmp 0x100d93a9
mov eax, dword [edx + 0x10]
mov edx, dword [eax + 4]
mov eax, ecx
mov ecx, dword [ebp - 0x234]
push eax
call fcn.1010a2fa
mov ecx, dword [ebp - 0x22c]
xor edx, edx
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], eax
mov esi, dword [ecx + 0x1c]
add esi, dword [ecx + 0x18]
mov dword [ebp - 0x240], esi
call fcn.10109d18
mov edx, eax
mov dword [ebp - 0x210], edx
test esi, esi
je 0x100d953d
test edx, edx
je 0x100d953d
cmp esi, 0x200
jae 0x100d953d
mov eax, ebx
mov dword [ebp - 0x218], eax
test esi, esi
je 0x100d9538
cmp dword [edx + 0x2c], 2
je 0x100d9520
cmp dword [edx], 0
je 0x100d942d
mov esi, dword [ecx + 0x138]
add esi, dword [edx]
jmp 0x100d942f
mov esi, ebx
test esi, esi
je 0x100d953d
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x214], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d9442
sub ecx, dword [ebp - 0x214]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x218]
movzx eax, byte [edi + eax*2]
push eax
call fcn.10109ea2
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x100d947b
inc eax
jmp 0x100d94af
cmp dword [eax], 0
je 0x100d9490
mov ecx, dword [ecx + 0x138]
add ecx, dword [eax]
mov dword [ebp - 0x224], ecx
jmp 0x100d9498
mov ecx, ebx
mov dword [ebp - 0x224], ebx
test ecx, ecx
je 0x100d953d
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100d94a3
sub ecx, edx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x228], eax
add eax, ecx
sub dword [ebp - 0x21c], eax
js 0x100d953d
push ecx
mov ecx, dword [ebp - 0x220]
mov edx, esi
call fcn.1010a348
cmp dword [ebp - 0x23c], 0
mov esi, dword [ebp - 0x228]
je 0x100d94fa
mov ecx, dword [ebp - 0x220]
add ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x224]
push esi
call fcn.1010a348
mov eax, dword [ebp - 0x214]
mov edx, dword [ebp - 0x210]
add eax, esi
add dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x22c]
inc eax
add edx, 0x54
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], edx
cmp eax, esi
jb 0x100d9414
xor ebx, ebx
inc ebx
jmp 0x100d9557
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x100d9557
push eax
push ebx
push dword [ebp - 0x234]
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x100d956b
test edi, edi
je 0x100d956b
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101637b0
leave
ret 4