Function at 0x10121c90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x101d5abc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x40c], ecx
push edi
mov edi, dword [ebp + 8]
mov edx, ebx
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x408], edx
test edi, edi
je 0x10121ef6
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x414], esi
test esi, esi
je 0x10121ef6
cmp word [edi + 6], bx
jne 0x10121d06
movzx eax, word [esi + 2]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
push 1
push eax
push ebx
call fcn.10127089
mov ecx, dword [ebp - 0x40c]
mov ebx, eax
mov edx, dword [ebp - 0x408]
jmp 0x10121d09
mov ebx, dword [edi + 0x14]
test ebx, ebx
je 0x10121ef6
cmp dword [ebx + 0x50], 0x50535549
jne 0x10121ef6
cmp ebx, dword [ebx + 8]
jne 0x10121ef6
cmp ebx, dword [ebx + 0x52c]
jne 0x10121ef6
movzx eax, word [edi + 6]
sub eax, 0
je 0x10121dda
sub eax, 1
je 0x10121db9
sub eax, 1
je 0x10121ee5
sub eax, 1
jne 0x10121ef6
mov eax, dword [ecx + 8]
cmp eax, 1
jne 0x10121db1
mov ecx, 0x100
test dword [ebx + 0x14], ecx
jne 0x10121db1
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.101338dc
push dword [ebx + 0x38]
lea edx, [ebp - 0x404]
mov ecx, ebx
call fcn.1012f169
push 1
xor edx, edx
mov ecx, ebx
call fcn.1012210e
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x410]
mov eax, dword [eax + 8]
mov dword [edi + 0x18], eax
jmp 0x10121eeb
push 6
pop eax
mov word [ecx + 2], ax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [0x101d6f40]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0xfa52
jmp 0x10121eeb
movzx eax, word [esi + 2]
mov dword [ebx + 0x58], eax
movzx eax, word [esi + 2]
not eax
and eax, 1
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + 4]
add eax, 0x14
mov dword [ebp - 0x408], eax
test ecx, ecx
je 0x10121e5e
mov edi, eax
dec ecx
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x408], ecx
je 0x10121e30
cmp dword [edi + 0x24], 0
je 0x10121e30
push 2
pop edx
mov ecx, edi
call fcn.100ff46c
xor edx, edx
test eax, eax
setns dl
test eax, eax
jns 0x10121e37
mov ecx, dword [ebp - 0x408]
add edi, 0x78
test ecx, ecx
jne 0x10121e02
mov edi, dword [ebp - 0x410]
test edx, edx
je 0x10121e5e
or dword [ebx + 0x528], 2
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 8]
or dword [ebx + 0x48], 4
mov dword [ebx + 0x70], eax
movzx edx, word [esi + 2]
jmp 0x10121ec8
push 3
pop edx
mov ecx, ebx
call fcn.1012e17a
mov ecx, eax
mov dword [ebp - 0x408], ecx
test ecx, ecx
je 0x10121edc
mov dword [ecx + 0x14], 0x10121f10
xor edx, edx
mov eax, dword [edi + 0xc]
inc edx
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x74], ecx
mov ecx, ebx
mov dword [ebx + 0x70], eax
call fcn.1012ebce
mov ecx, ebx
call fcn.1012fe50
mov esi, dword [ebx + 0x6c]
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x408]
mov ecx, esi
push 3
push dword [ebx + 0x70]
call dword [0x101d880c]
call esi
test eax, eax
je 0x10121ef0
mov eax, dword [ebp - 0x414]
movzx edx, word [eax + 2]
mov ecx, ebx
call fcn.10127b66
test eax, eax
je 0x10121ef0
and dword [edi + 0x18], 0
mov dword [edi + 0x14], ebx
jmp 0x10121eeb
test byte [ebx + 0x528], 4
je 0x10121ef0
push ebx
call fcn.10127420
xor eax, eax
inc eax
jmp 0x10121ef9
push ebx
call fcn.10127420
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101885f0
leave
ret 8