Function at 0x100dc239
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
mov edx, ebx
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x40c], edi
mov dword [ebp - 0x410], edx
test edi, edi
je 0x100dc494
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x408], ecx
test ecx, ecx
je 0x100dc494
cmp word [edi + 6], bx
jne 0x100dc2af
movzx eax, word [ecx + 2]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
push 1
push eax
push ebx
call fcn.100e2260
mov ecx, dword [ebp - 0x408]
mov ebx, eax
mov edx, dword [ebp - 0x410]
jmp 0x100dc2b2
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x100dc494
cmp dword [ebx + 0x54], 0x554e5549
jne 0x100dc494
cmp ebx, dword [ebx + 8]
jne 0x100dc494
cmp ebx, dword [ebx + 0x53c]
jne 0x100dc494
movzx eax, word [edi + 6]
sub eax, 0
je 0x100dc3a8
sub eax, 1
je 0x100dc362
sub eax, 1
je 0x100dc4b3
sub eax, 1
jne 0x100dc494
mov eax, dword [esi + 8]
cmp eax, 1
jne 0x100dc35a
mov ecx, 0x100
test dword [ebx + 0x14], ecx
jne 0x100dc35a
mov edx, dword [ebx + 0x38]
lea edi, [ebp - 0x404]
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x18]
push eax
push 0x200
mov ecx, dword [ecx + 0x14]
call fcn.1010b697
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.100ec126
push 1
xor edx, edx
mov ecx, ebx
call fcn.100dc734
mov eax, dword [ebp - 0x414]
mov edi, dword [ebp - 0x40c]
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
jmp 0x100dc4b9
push 6
pop eax
mov word [esi + 2], ax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], eax
mov eax, dword [0x101a5fbc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + 0x90]
test edx, edx
je 0x100dc39c
mov ecx, ebx
call fcn.100e20a3
mov dword [esi + 0x10], eax
test eax, eax
je 0x100dc39c
or word [esi + 2], 8
jmp 0x100dc4b9
mov dword [esi + 0x10], 0xfa3f
jmp 0x100dc4b9
movzx eax, word [ecx + 2]
mov dword [ebx + 0x5c], eax
movzx eax, word [ecx + 2]
not eax
and eax, 1
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 4]
lea esi, [eax + 0x14]
test ecx, ecx
je 0x100dc439
dec ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x40c], ecx
je 0x100dc3f6
cmp dword [esi + 0x24], 0
je 0x100dc3f6
push 2
pop edx
mov ecx, esi
call fcn.100d8c78
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x100dc3fd
mov ecx, dword [ebp - 0x40c]
add esi, 0x78
test ecx, ecx
jne 0x100dc3c8
test edx, edx
je 0x100dc439
or dword [ebx + 0x538], 2
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x70], eax
mov eax, dword [edi + 8]
or dword [ebx + 0x48], 4
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 0x408]
mov ecx, ebx
movzx edx, word [eax + 2]
call fcn.100e2fcb
test eax, eax
je 0x100dc48e
and dword [edi + 0x18], 0
mov dword [edi + 0x14], ebx
jmp 0x100dc4b9
push 3
pop edx
mov ecx, ebx
call fcn.100eadc0
mov esi, eax
test esi, esi
je 0x100dc4aa
mov dword [esi + 0x14], 0x100dc4c0
xor edx, edx
mov eax, dword [edi + 0xc]
inc edx
mov dword [ebx + 0x70], eax
mov ecx, ebx
mov eax, dword [edi + 8]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], esi
call fcn.100ebbd6
mov ecx, ebx
call fcn.100ed211
lea eax, [ebp - 0x418]
push eax
push esi
mov esi, dword [ebx + 0x70]
mov ecx, esi
push 3
push dword [ebx + 0x74]
call dword [0x101a77c4]
call esi
test eax, eax
jne 0x100dc418
push ebx
call fcn.100e2690
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 8
test byte [ebx + 0x538], 4
je 0x100dc48e
push ebx
call fcn.100e2690
xor eax, eax
inc eax
jmp 0x100dc497