Function at 0x552a40
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 0x552a73
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 0x552aac
test edx, edx
je 0x552ab6
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret
test edx, edx
je 0x552ab6
cmp word [esi], 1
jg 0x552aa2
mov ecx, dword [ebx + 0x28]
test ecx, ecx
mov eax, dword [ebx + 8]
je 0x552ac6
cmp dword [ebp + 0x28], 0
jne 0x552aa2
cmp dword [ebx + 0x2c], 0
jne 0x552aa2
cmp dword [ebp + 0x24], 0
je 0x552ad6
test ecx, ecx
jne 0x552aa2
cmp word [eax], 0
je 0x552aa2
test byte [ebx + 6], 1
jne 0x552aa2
test ecx, ecx
je 0x552af3
cmp word [esi], 1
jg 0x552aa2
cmp dword [esp + 0x48], 0
jne 0x552aa2
mov dx, word [ebp + 6]
and dx, 1
je 0x552b04
cmp dword [esp + 0x4c], 0
jne 0x552aa2
cmp dword [ebp + 0x18], 0
je 0x552b10
cmp dword [ebx + 0x18], 0
jne 0x552aa2
cmp dword [esp + 0x48], 0
je 0x552b1d
cmp dword [ebx + 0x18], 0
jne 0x552aa2
test ecx, ecx
je 0x552b2b
cmp dword [ebp + 0xc], 0
jne 0x552aa2
test byte [edi + esi + 0x1d], 0x20
lea eax, [edi + esi + 0x1d]
mov dword [esp + 0x34], eax
jne 0x552aa2
cmp dword [ebx + 0x1c], 0
je 0x552bd7
cmp dword [ebx + 0x18], 0
jne 0x552aa2
cmp dword [esp + 0x48], 0
jne 0x552aa2
test dx, dx
jne 0x552aa2
cmp word [esi], 1
jne 0x552aa2
mov eax, ebx
mov dl, 5
test byte [eax + 6], dl
jne 0x552aa2
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x552b8e
cmp byte [eax + 4], 0x71
jne 0x552aa2
mov eax, dword [eax + 8]
test eax, eax
je 0x552aa2
cmp word [eax], 1
jne 0x552aa2
mov eax, ecx
test eax, eax
jne 0x552b74
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x552bd7
cmp dword [eax], ecx
jle 0x552bd7
mov eax, dword [eax + 0xc]
add eax, 0xe
lea ebx, [ebx]
cmp word [eax], 0
je 0x552aa2
mov edx, dword [ebp + 0x18]
add ecx, 1
add eax, 0x14
cmp ecx, dword [edx]
jl 0x552bc0
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.00547af0
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 0x552c90
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.00547190
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 0x552c5a
mov eax, dword [esp + 0x24]
jmp 0x552c68
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 0x552fb0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x552c12
mov edi, dword [esp + 0x28]
mov ebx, edx
jmp 0x552c94
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.00532d60
mov edx, dword [edi + esi + 0xc]
push edx
push ebx
call fcn.00532d60
mov eax, dword [edi + esi + 0x10]
push eax
push ebx
call fcn.00532d60
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 0x552d16
movzx ecx, word [eax + 0x1c]
cmp cx, 1
jne 0x552d0d
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1a8]
cmp ecx, edx
jne 0x552cfc
mov ecx, edi
mov edi, dword [ecx + 0x224]
mov dword [eax + 0x44], edi
mov dword [ecx + 0x224], eax
jmp 0x552d14
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 0x552d40
mov edx, dword [esp + 0x34]
mov cl, byte [edx]
mov byte [esp + 0x3c], cl
jmp 0x552d63
push 0
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.005486c0
add esp, 4
test eax, eax
mov dword [ebp + 8], eax
mov dword [esp + 0x1c], eax
je 0x552f93
mov ebx, dword [esp + 0x10]
cmp esi, 1
jle 0x552d8e
mov edx, dword [esp + 0x44]
add edx, 1
push edx
lea ecx, [esi - 1]
push ecx
push ebx
call fcn.00542470
add esp, 0xc
mov dword [ebp + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x1c], eax
jne 0x552f93
test esi, esi
jle 0x552df7
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.00539fb0
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.005b5540
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 0x552db0
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 0x552e60
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 0x552e4c
mov eax, dword [eax + 8]
test eax, eax
je 0x552e4c
push edi
mov ebx, eax
call fcn.0053daa0
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 0x552e20
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.005529f0
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x552ea8
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
push ecx
push edx
push edi
call fcn.005529f0
mov eax, dword [ebx]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push edi
call fcn.005528e0
add esp, 0x1c
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x552ebb
mov dword [ebp + 0x18], eax
mov dword [ebx + 0x18], 0
jmp 0x552ed3
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x552ed3
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call fcn.005529f0
add esp, 0xc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x552eec
push 0
push 0
push eax
push edi
call fcn.0054ecc0
add esp, 0x10
mov esi, eax
jmp 0x552eee
xor esi, esi
cmp dword [esp + 0x4c], 0
je 0x552f3f
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.005528e0
push 0
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x14]
push 0
push eax
push edi
call fcn.0054ecc0
mov ecx, dword [ebp + 0x14]
mov edx, edi
call fcn.00546be0
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x10]
push 0
push eax
push edi
call fcn.005413f0
add esp, 0x2c
mov dword [ebp + 0x10], eax
jmp 0x552f65
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push edi
call fcn.005528e0
mov ecx, eax
add esp, 0x10
mov eax, esi
mov edx, edi
mov dword [ebp + 0xc], ecx
call fcn.00546be0
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 0x552f81
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 0x552d16
mov esi, dword [esp + 0x30]
test esi, esi
je 0x552fb0
mov edi, dword [esp + 0x10]
push esi
push edi
call fcn.0053ab30
push esi
push edi
call fcn.00532d60
add esp, 0x10
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x28
ret