Function at 0x100ddf7e
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
mov ecx, dword [ebp + 0xc]
xor eax, eax
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 0x100ddfc0
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x408], edi
jmp 0x100ddfc8
mov edi, ecx
mov dword [ebp - 0x408], ecx
test edi, edi
jne 0x100ddfd4
or eax, 0xffffffff
jmp 0x100de2e7
test esi, esi
jne 0x100ddfe4
mov ecx, edi
call fcn.100de2f9
jmp 0x100de2e7
push ebx
cmp word [esi + 6], ax
jne 0x100de00d
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push dword [edi + 0x18]
push dword [edi + 0xc]
call fcn.100e2260
mov ecx, dword [ebp - 0x410]
mov ebx, eax
mov edx, dword [ebp - 0x40c]
jmp 0x100de010
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x100de2e3
cmp dword [ebx + 0x54], 0x554e5549
jne 0x100de2e3
cmp ebx, dword [ebx + 8]
jne 0x100de2e3
cmp ebx, dword [ebx + 0x53c]
jne 0x100de2e3
movzx eax, word [esi + 6]
sub eax, 0
je 0x100de17f
sub eax, 1
je 0x100de133
sub eax, 1
je 0x100de128
sub eax, 1
jne 0x100de2e3
cmp dword [ecx + 8], 1
jne 0x100de11d
cmp dword [edi + 0x10], eax
je 0x100de11d
test byte [edi + 0x18], 3
je 0x100de11d
mov eax, 0x100
test dword [ebx + 0x14], eax
jne 0x100de0f1
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.1010b697
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.100ec126
xor esi, esi
xor edx, edx
push esi
push esi
push esi
mov ecx, ebx
call fcn.100de460
mov ecx, dword [ebx + 0x2c]
push esi
push 0x100
call fcn.1010caa2
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x38]
push eax
mov ecx, dword [ecx + 0x14]
call fcn.1010b883
mov edi, dword [ebp - 0x408]
mov esi, dword [ebp - 0x414]
push 0
xor edx, edx
mov ecx, ebx
call fcn.100da9e1
push dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push dword [edi + 0x14]
mov ecx, dword [ebx + 0x2c]
call fcn.100dada8
mov edx, dword [edi + 0x10]
mov ecx, ebx
call fcn.100e1759
mov ecx, dword [ebp - 0x410]
mov eax, dword [ecx + 8]
mov dword [esi + 0x18], eax
jmp 0x100de2d8
push ebx
call fcn.100e2690
jmp 0x100de2d8
push 6
pop eax
mov word [ecx + 2], ax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [0x101a5fbc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + 0x90]
test edx, edx
je 0x100de173
mov ecx, ebx
call fcn.100e20a3
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x100de173
or word [ecx + 2], 8
jmp 0x100de2d8
mov dword [ecx + 0x10], 0xfa3f
jmp 0x100de2d8
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 0x100de231
mov esi, eax
dec ecx
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x40c], ecx
je 0x100de1e5
cmp dword [esi + 0x24], 0
je 0x100de1e5
xor edx, edx
mov ecx, esi
inc edx
call fcn.100d8c78
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x100de1ec
mov ecx, dword [ebp - 0x40c]
add esi, 0x78
test ecx, ecx
jne 0x100de1b7
mov esi, dword [ebp - 0x414]
test edx, edx
je 0x100de231
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.100e2fcb
test eax, eax
je 0x100de2dd
and dword [esi + 0x18], 0
mov dword [esi + 0x14], ebx
jmp 0x100de2d8
mov edx, dword [ebp - 0x408]
mov ecx, ebx
call fcn.100eadc0
mov dword [ebp - 0x408], eax
test eax, eax
je 0x100de2dd
xor edx, edx
mov ecx, ebx
call fcn.100e042c
mov edx, dword [ebp - 0x408]
push 2
mov dword [edx + 0x14], 0x100de6f0
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.100ebbd6
mov edx, 0x8006
mov ecx, ebx
call fcn.100e24bb
test eax, eax
je 0x100de294
mov edx, eax
mov ecx, ebx
call fcn.100e0208
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 [0x101a77c4]
call esi
test eax, eax
je 0x100de2dd
mov edx, dword [edi + 0x18]
mov ecx, ebx
and edx, 0x7fffffff
call fcn.100e2fcb
test eax, eax
je 0x100de2dd
mov ecx, dword [ebp - 0x414]
and dword [ecx + 0x18], 0
mov dword [ecx + 0x14], ebx
xor eax, eax
inc eax
jmp 0x100de2e6
push ebx
call fcn.100e2690
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 8