Function at 0x551a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [ecx + 0x208]
mov ecx, dword [ecx]
test byte [ecx + 0xc], 1
mov dword [esp + 0x28], esi
mov dword [esp + 8], ecx
je 0x551a53
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret
mov esi, dword [ebp + 8]
push ebx
push edi
lea edi, [eax*8]
sub edi, eax
add edi, edi
add edi, edi
add edi, edi
cmp dword [esp + 0x48], 0
mov eax, dword [edi + esi + 0x20]
mov ebx, dword [edi + esi + 0x18]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], eax
je 0x551a8c
test edx, edx
je 0x551a96
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret
test edx, edx
je 0x551a96
cmp word [esi], 1
jg 0x551a82
mov ecx, dword [ebx + 0x28]
test ecx, ecx
mov eax, dword [ebx + 8]
je 0x551aa6
cmp dword [ebp + 0x28], 0
jne 0x551a82
cmp dword [ebx + 0x2c], 0
jne 0x551a82
cmp dword [ebp + 0x24], 0
je 0x551ab6
test ecx, ecx
jne 0x551a82
cmp word [eax], 0
je 0x551a82
test byte [ebx + 6], 1
jne 0x551a82
test ecx, ecx
je 0x551ad3
cmp word [esi], 1
jg 0x551a82
cmp dword [esp + 0x48], 0
jne 0x551a82
mov dx, word [ebp + 6]
and dx, 1
je 0x551ae4
cmp dword [esp + 0x4c], 0
jne 0x551a82
cmp dword [ebp + 0x18], 0
je 0x551af0
cmp dword [ebx + 0x18], 0
jne 0x551a82
cmp dword [esp + 0x48], 0
je 0x551afd
cmp dword [ebx + 0x18], 0
jne 0x551a82
test ecx, ecx
je 0x551b0b
cmp dword [ebp + 0xc], 0
jne 0x551a82
test byte [edi + esi + 0x1d], 0x20
lea eax, [edi + esi + 0x1d]
mov dword [esp + 0x34], eax
jne 0x551a82
cmp dword [ebx + 0x1c], 0
je 0x551bb7
cmp dword [ebx + 0x18], 0
jne 0x551a82
cmp dword [esp + 0x48], 0
jne 0x551a82
test dx, dx
jne 0x551a82
cmp word [esi], 1
jne 0x551a82
mov eax, ebx
mov dl, 5
test byte [eax + 6], dl
jne 0x551a82
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x551b6e
cmp byte [eax + 4], 0x71
jne 0x551a82
mov eax, dword [eax + 8]
test eax, eax
je 0x551a82
cmp word [eax], 1
jne 0x551a82
mov eax, ecx
test eax, eax
jne 0x551b54
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x551bb7
cmp dword [eax], ecx
jle 0x551bb7
mov eax, dword [eax + 0xc]
add eax, 0xe
lea ebx, [ebx]
cmp word [eax], 0
je 0x551a82
mov edx, dword [ebp + 0x18]
add ecx, 1
add eax, 0x14
cmp ecx, dword [edx]
jl 0x551ba0
mov ecx, dword [edi + esi + 0xc]
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0
push 0x15
mov dword [eax + 0x208], ecx
call fcn.00546ad0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x208], edx
mov eax, dword [ebx + 0x1c]
add esp, 0x10
test eax, eax
mov dword [esp + 0x18], eax
je 0x551c70
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x28]
xor eax, eax
push eax
push ebp
push edx
mov dword [esp + 0x30], ecx
mov dword [ebp + 0x18], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x28], eax
call fcn.00546170
add esp, 0xc
test eax, eax
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x18], edi
mov dword [ebp + 8], esi
mov byte [ebp + 4], 0x71
mov dword [ebp + 0x24], 0
jne 0x551c3a
mov eax, dword [esp + 0x24]
jmp 0x551c48
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x1c], eax
cmp byte [edx + 0x1e], 0
jne 0x551f90
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x551bf2
mov edi, dword [esp + 0x28]
mov ebx, edx
jmp 0x551c74
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + esi + 8]
mov eax, dword [edi + esi + 0x18]
push ecx
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
call fcn.00531d40
mov edx, dword [edi + esi + 0xc]
push edx
push ebx
call fcn.00531d40
mov eax, dword [edi + esi + 0x10]
push eax
push ebx
call fcn.00531d40
mov eax, dword [edi + esi + 0x14]
xor edx, edx
mov dword [edi + esi + 8], edx
mov dword [edi + esi + 0xc], edx
mov dword [edi + esi + 0x10], edx
mov dword [edi + esi + 0x18], edx
lea esi, [edi + esi + 0x14]
add esp, 0x18
cmp eax, edx
je 0x551cf6
movzx ecx, word [eax + 0x1c]
cmp cx, 1
jne 0x551ced
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1a8]
cmp ecx, edx
jne 0x551cdc
mov ecx, edi
mov edi, dword [ecx + 0x224]
mov dword [eax + 0x44], edi
mov dword [ecx + 0x224], eax
jmp 0x551cf4
add ecx, 0xffffffff
mov word [eax + 0x1c], cx
mov dword [esi], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
test eax, eax
mov edi, dword [ecx + 8]
mov ebx, dword [esp + 0x10]
movsx esi, word [edi]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x1c], eax
je 0x551d20
mov edx, dword [esp + 0x34]
mov cl, byte [edx]
mov byte [esp + 0x3c], cl
jmp 0x551d43
push 0
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.005476a0
add esp, 4
test eax, eax
mov dword [ebp + 8], eax
mov dword [esp + 0x1c], eax
je 0x551f73
mov ebx, dword [esp + 0x10]
cmp esi, 1
jle 0x551d6e
mov edx, dword [esp + 0x44]
add edx, 1
push edx
lea ecx, [esi - 1]
push ecx
push ebx
call fcn.00541450
add esp, 0xc
mov dword [ebp + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x1c], eax
jne 0x551f73
test esi, esi
jle 0x551dd7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add edi, 8
lea ecx, [edx + eax + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], esi
lea ecx, [ecx]
mov edx, dword [esp + 0x20]
mov edi, dword [edx + 0x20]
mov ebx, dword [esp + 0x10]
call fcn.00538f90
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ecx, 0xe
mov edi, ebx
push 0x38
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
push 0
push esi
call fcn.005b4520
add ebx, 0x38
add esi, 0x38
add esp, 0xc
sub dword [esp + 0x2c], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
jne 0x551d90
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dl, byte [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov byte [eax + ecx + 0x1d], dl
mov esi, dword [ebp]
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 0x2c], eax
jle 0x551e40
mov dword [esp + 0x3c], eax
lea esp, [esp]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x3c]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x551e2c
mov eax, dword [eax + 8]
test eax, eax
je 0x551e2c
push edi
mov ebx, eax
call fcn.0053ca80
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [edx + ecx + 4], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x3c], 0x14
add eax, 1
cmp eax, dword [esi]
mov dword [esp + 0x2c], eax
jl 0x551e00
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [esp + 0x14]
mov esi, dword [ebp]
push edx
push eax
push edi
call fcn.005519d0
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x551e88
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
push ecx
push edx
push edi
call fcn.005519d0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push edi
call fcn.005518c0
add esp, 0x1c
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x551e9b
mov dword [ebp + 0x18], eax
mov dword [ebx + 0x18], 0
jmp 0x551eb3
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x551eb3
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call fcn.005519d0
add esp, 0xc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x551ecc
push 0
push 0
push eax
push edi
call fcn.0054dca0
add esp, 0x10
mov esi, eax
jmp 0x551ece
xor esi, esi
cmp dword [esp + 0x4c], 0
je 0x551f1f
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], esi
mov eax, dword [ebx]
push eax
push ecx
push edx
push edi
call fcn.005518c0
push 0
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x14]
push 0
push eax
push edi
call fcn.0054dca0
mov ecx, dword [ebp + 0x14]
mov edx, edi
call fcn.00545bc0
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x10]
push 0
push eax
push edi
call fcn.005403d0
add esp, 0x2c
mov dword [ebp + 0x10], eax
jmp 0x551f45
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push edi
call fcn.005518c0
mov ecx, eax
add esp, 0x10
mov eax, esi
mov edx, edi
mov dword [ebp + 0xc], ecx
call fcn.00545bc0
mov dword [ebp + 0xc], eax
movzx ecx, byte [ebx + 6]
and ecx, 1
or word [ebp + 6], cx
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x551f61
mov dword [ebp + 0x28], eax
mov dword [ebx + 0x28], 0
mov ebp, dword [ebp + 0x1c]
test ebp, ebp
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0x18], edx
jne 0x551cf6
mov esi, dword [esp + 0x30]
test esi, esi
je 0x551f90
mov edi, dword [esp + 0x10]
push esi
push edi
call fcn.00539b10
push esi
push edi
call fcn.00531d40
add esp, 0x10
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x28
ret