Function at 0x55e5e0
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 0x55e613
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 0x55e64c
test edx, edx
je 0x55e656
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x28
ret
test edx, edx
je 0x55e656
cmp word [esi], 1
jg 0x55e642
mov ecx, dword [ebx + 0x28]
test ecx, ecx
mov eax, dword [ebx + 8]
je 0x55e666
cmp dword [ebp + 0x28], 0
jne 0x55e642
cmp dword [ebx + 0x2c], 0
jne 0x55e642
cmp dword [ebp + 0x24], 0
je 0x55e676
test ecx, ecx
jne 0x55e642
cmp word [eax], 0
je 0x55e642
test byte [ebx + 6], 1
jne 0x55e642
test ecx, ecx
je 0x55e693
cmp word [esi], 1
jg 0x55e642
cmp dword [esp + 0x48], 0
jne 0x55e642
mov dx, word [ebp + 6]
and dx, 1
je 0x55e6a4
cmp dword [esp + 0x4c], 0
jne 0x55e642
cmp dword [ebp + 0x18], 0
je 0x55e6b0
cmp dword [ebx + 0x18], 0
jne 0x55e642
cmp dword [esp + 0x48], 0
je 0x55e6bd
cmp dword [ebx + 0x18], 0
jne 0x55e642
test ecx, ecx
je 0x55e6cb
cmp dword [ebp + 0xc], 0
jne 0x55e642
test byte [edi + esi + 0x1d], 0x20
lea eax, [edi + esi + 0x1d]
mov dword [esp + 0x34], eax
jne 0x55e642
cmp dword [ebx + 0x1c], 0
je 0x55e777
cmp dword [ebx + 0x18], 0
jne 0x55e642
cmp dword [esp + 0x48], 0
jne 0x55e642
test dx, dx
jne 0x55e642
cmp word [esi], 1
jne 0x55e642
mov eax, ebx
mov dl, 5
test byte [eax + 6], dl
jne 0x55e642
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x55e72e
cmp byte [eax + 4], 0x71
jne 0x55e642
mov eax, dword [eax + 8]
test eax, eax
je 0x55e642
cmp word [eax], 1
jne 0x55e642
mov eax, ecx
test eax, eax
jne 0x55e714
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x55e777
cmp dword [eax], ecx
jle 0x55e777
mov eax, dword [eax + 0xc]
add eax, 0xe
lea ebx, [ebx]
cmp word [eax], 0
je 0x55e642
mov edx, dword [ebp + 0x18]
add ecx, 1
add eax, 0x14
cmp ecx, dword [edx]
jl 0x55e760
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.00553690
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 0x55e830
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.00552d30
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 0x55e7fa
mov eax, dword [esp + 0x24]
jmp 0x55e808
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 0x55eb50
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x55e7b2
mov edi, dword [esp + 0x28]
mov ebx, edx
jmp 0x55e834
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.0053e910
mov edx, dword [edi + esi + 0xc]
push edx
push ebx
call fcn.0053e910
mov eax, dword [edi + esi + 0x10]
push eax
push ebx
call fcn.0053e910
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 0x55e8b6
movzx ecx, word [eax + 0x1c]
cmp cx, 1
jne 0x55e8ad
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0x1a8]
cmp ecx, edx
jne 0x55e89c
mov ecx, edi
mov edi, dword [ecx + 0x224]
mov dword [eax + 0x44], edi
mov dword [ecx + 0x224], eax
jmp 0x55e8b4
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 0x55e8e0
mov edx, dword [esp + 0x34]
mov cl, byte [edx]
mov byte [esp + 0x3c], cl
jmp 0x55e903
push 0
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.00554260
add esp, 4
test eax, eax
mov dword [ebp + 8], eax
mov dword [esp + 0x1c], eax
je 0x55eb33
mov ebx, dword [esp + 0x10]
cmp esi, 1
jle 0x55e92e
mov edx, dword [esp + 0x44]
add edx, 1
push edx
lea ecx, [esi - 1]
push ecx
push ebx
call fcn.0054e010
add esp, 0xc
mov dword [ebp + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x1c], eax
jne 0x55eb33
test esi, esi
jle 0x55e997
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.00545b60
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.005c0cf0
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 0x55e950
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 0x55ea00
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 0x55e9ec
mov eax, dword [eax + 8]
test eax, eax
je 0x55e9ec
push edi
mov ebx, eax
call fcn.00549640
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 0x55e9c0
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.0055e590
add esp, 0xc
cmp dword [esp + 0x48], 0
je 0x55ea48
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
push ecx
push edx
push edi
call fcn.0055e590
mov eax, dword [ebx]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push edi
call fcn.0055e480
add esp, 0x1c
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x55ea5b
mov dword [ebp + 0x18], eax
mov dword [ebx + 0x18], 0
jmp 0x55ea73
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x55ea73
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
call fcn.0055e590
add esp, 0xc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x55ea8c
push 0
push 0
push eax
push edi
call fcn.0055a860
add esp, 0x10
mov esi, eax
jmp 0x55ea8e
xor esi, esi
cmp dword [esp + 0x4c], 0
je 0x55eadf
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.0055e480
push 0
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x14]
push 0
push eax
push edi
call fcn.0055a860
mov ecx, dword [ebp + 0x14]
mov edx, edi
call fcn.00552780
mov dword [ebp + 0x14], eax
mov eax, dword [ebx + 0x10]
push 0
push eax
push edi
call fcn.0054cf90
add esp, 0x2c
mov dword [ebp + 0x10], eax
jmp 0x55eb05
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
push edi
call fcn.0055e480
mov ecx, eax
add esp, 0x10
mov eax, esi
mov edx, edi
mov dword [ebp + 0xc], ecx
call fcn.00552780
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 0x55eb21
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 0x55e8b6
mov esi, dword [esp + 0x30]
test esi, esi
je 0x55eb50
mov edi, dword [esp + 0x10]
push esi
push edi
call fcn.005466e0
push esi
push edi
call fcn.0053e910
add esp, 0x10
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x28
ret