Function at 0x100dc842
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1019fbfc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], edx
push edi
test esi, esi
je 0x100dc885
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x408], edi
jmp 0x100dc88d
mov edi, ecx
mov dword [ebp - 0x408], ecx
test edi, edi
je 0x100dcaef
test esi, esi
jne 0x100dc8a5
mov ecx, edi
call fcn.100dcbb6
jmp 0x100dcaf2
cmp word [esi + 6], ax
jne 0x100dc8cd
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push dword [edi + 0x18]
push dword [edi + 0xc]
call fcn.100e0a96
mov ecx, dword [ebp - 0x410]
mov ebx, eax
mov edx, dword [ebp - 0x40c]
jmp 0x100dc8d0
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100dcaef
cmp dword [ebx + 0x54], 0x554e5549
jne 0x100dcaef
cmp ebx, dword [ebx + 8]
jne 0x100dcaef
cmp ebx, dword [ebx + 0x53c]
jne 0x100dcaef
movzx eax, word [esi + 6]
sub eax, 0
je 0x100dca3f
sub eax, 1
je 0x100dc9f3
sub eax, 1
je 0x100dc9e8
sub eax, 1
jne 0x100dcaef
cmp dword [ecx + 8], 1
jne 0x100dc9dd
cmp dword [edi + 0x10], eax
je 0x100dc9dd
test byte [edi + 0x18], 3
je 0x100dc9dd
mov eax, 0x100
test dword [ebx + 0x14], eax
jne 0x100dc9b1
mov edx, dword [ebx + 0x38]
lea edi, [ebp - 0x404]
mov ecx, eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x18]
push 2
push 0x200
mov ecx, dword [ecx + 0x14]
call fcn.101098e2
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.100ea83c
xor esi, esi
xor edx, edx
push esi
push esi
push esi
mov ecx, ebx
call fcn.100dcd19
mov ecx, dword [ebx + 0x2c]
push esi
push 0x100
call fcn.1010acd3
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x38]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.10109ac0
mov edi, dword [ebp - 0x408]
mov esi, dword [ebp - 0x414]
push 0
xor edx, edx
mov ecx, ebx
call fcn.100d91fb
push dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push dword [edi + 0x14]
mov ecx, dword [ebx + 0x2c]
call fcn.100d95be
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.100dff9a
mov ecx, dword [ebp - 0x410]
mov eax, dword [ecx + 8]
mov dword [esi + 0x18], eax
jmp 0x100dcbae
push ebx
call fcn.100e0eb0
jmp 0x100dcbae
push 6
pop eax
mov word [ecx + 2], ax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [0x101a0f0c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + 0x90]
test edx, edx
je 0x100dca33
mov ecx, ebx
call fcn.100e08df
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x100dca33
or word [ecx + 2], 8
jmp 0x100dcbae
mov dword [ecx + 0x10], 0xfa3f
jmp 0x100dcbae
mov eax, dword [edi + 0x18]
test al, 0x10
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + 0x18]
push 0
pop ecx
setne cl
shr eax, 5
not eax
inc ecx
and eax, 1
mov dword [ebp - 0x408], ecx
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 4]
add eax, 0x14
mov dword [ebp - 0x40c], eax
test ecx, ecx
je 0x100dcb03
mov esi, eax
dec ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x40c], ecx
je 0x100dcaa9
cmp dword [esi + 0x24], 0
je 0x100dcaa9
xor edx, edx
mov ecx, esi
inc edx
call fcn.100d74f2
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x100dcab0
mov ecx, dword [ebp - 0x40c]
add esi, 0x78
test ecx, ecx
jne 0x100dca7b
mov esi, dword [ebp - 0x414]
test edx, edx
je 0x100dcb03
or dword [ebx + 0x538], 1
mov ecx, ebx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 8]
or dword [ebx + 0x48], 1
mov dword [ebx + 0x74], eax
mov edx, dword [edi + 0x18]
and edx, 0x7fffffff
call fcn.100e1764
test eax, eax
jne 0x100dcba7
push ebx
call fcn.100e0eb0
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101637b0
leave
ret 8
mov edx, dword [ebp - 0x408]
mov ecx, ebx
call fcn.100e94f4
mov dword [ebp - 0x408], eax
test eax, eax
je 0x100dcae9
xor edx, edx
mov ecx, ebx
call fcn.100dec88
mov edx, dword [ebp - 0x408]
push 2
mov dword [edx + 0x14], 0x100dcfb0
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0x70], ecx
mov ecx, ebx
mov eax, dword [esi + 8]
mov dword [ebx + 0x78], edx
pop edx
mov dword [ebx + 0x74], eax
call fcn.100ea2dc
mov edx, 0x8006
mov ecx, ebx
call fcn.100e0cf1
test eax, eax
je 0x100dcb62
mov edx, eax
mov ecx, ebx
call fcn.100dea68
mov esi, dword [ebx + 0x70]
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x408]
mov ecx, esi
push 3
push dword [ebx + 0x74]
call dword [0x101a27b8]
call esi
test eax, eax
je 0x100dcae9
mov edx, dword [edi + 0x18]
mov ecx, ebx
and edx, 0x7fffffff
call fcn.100e1764
test eax, eax
je 0x100dcae9
mov esi, dword [ebp - 0x414]
and dword [esi + 0x18], 0
mov dword [esi + 0x14], ebx
xor eax, eax
inc eax
jmp 0x100dcaf2