Function at 0x100549c6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x204]
mov eax, dword [eax]
test byte [eax + 0xc], 1
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
je 0x100549ef
xor eax, eax
jmp 0x10054e9d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
imul eax, eax, 0x38
lea esi, [eax + ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], edi
je 0x10054a1f
cmp dword [ebp + 0x14], edi
je 0x10054a2a
jmp 0x100549e8
cmp dword [ebp + 0x14], edi
je 0x10054a2a
cmp word [ecx], 1
jg 0x100549e8
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 8]
cmp edx, edi
je 0x10054a39
cmp dword [ebx + 0x28], edi
jne 0x100549e8
cmp dword [eax + 0x2c], edi
jne 0x100549e8
cmp dword [ebx + 0x24], edi
je 0x10054a47
cmp edx, edi
jne 0x100549e8
cmp word [ecx], di
je 0x100549e8
test byte [eax + 6], 1
jne 0x100549e8
cmp edx, edi
je 0x10054a64
mov ecx, dword [ebp - 0x10]
cmp word [ecx], 1
jg 0x100549e8
cmp dword [ebp + 0x10], edi
jne 0x100549e8
mov cx, word [ebx + 6]
and cx, 1
je 0x10054a77
cmp dword [ebp + 0x14], edi
jne 0x100549e8
cmp dword [ebx + 0x18], edi
je 0x10054a85
cmp dword [eax + 0x18], edi
jne 0x100549e8
cmp dword [ebp + 0x10], edi
je 0x10054a93
cmp dword [eax + 0x18], edi
jne 0x100549e8
cmp edx, edi
je 0x10054aad
cmp dword [ebx + 0xc], edi
jne 0x100549e8
cmp edx, edi
je 0x10054aad
cmp cx, di
jne 0x100549e8
test byte [esi + 0x15], 0x20
jne 0x100549e8
cmp dword [eax + 0x1c], edi
je 0x10054b45
cmp dword [eax + 0x18], edi
jne 0x100549e8
cmp dword [ebp + 0x10], edi
jne 0x100549e8
cmp cx, di
jne 0x100549e8
mov ecx, dword [ebp - 0x10]
cmp word [ecx], 1
jne 0x100549e8
test byte [eax + 6], 5
jne 0x100549e8
mov ecx, dword [eax + 0x1c]
cmp ecx, edi
je 0x10054b03
cmp byte [eax + 4], 0x71
jne 0x100549e8
mov eax, dword [eax + 8]
cmp eax, edi
je 0x100549e8
cmp word [eax], 1
jne 0x100549e8
mov eax, ecx
cmp eax, edi
jne 0x10054ae8
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x10054b45
xor ecx, ecx
cmp dword [eax], edi
jle 0x10054b45
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], di
je 0x100549e8
mov edx, dword [ebx + 0x18]
inc ecx
add eax, 0x14
cmp ecx, dword [edx]
jl 0x10054b31
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
push edi
push edi
push edi
push 0x15
mov dword [eax + 0x204], ecx
call fcn.10046a63
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov dword [ecx + 0x204], eax
jmp 0x10054bd2
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x28]
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1c]
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x18], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x28], edi
call fcn.1004268e
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebx + 8], ecx
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x24], edi
cmp eax, edi
jne 0x10054bb9
mov eax, dword [ebp - 0x1c]
jmp 0x10054bc2
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], edi
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x1e], 0
jne 0x10054e9a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x10054b6c
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
call fcn.10024c83
push dword [esi + 4]
push dword [ebp - 8]
call fcn.10024c83
push dword [esi + 8]
push dword [ebp - 8]
call fcn.10024c83
mov eax, dword [esi + 0xc]
add esp, 0x18
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
cmp eax, edi
je 0x10054c4d
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x10054c45
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1a8]
cmp ecx, edi
jne 0x10054c36
mov ecx, edx
add ecx, 0x220
mov edx, dword [ecx]
mov dword [eax + 0x48], edx
mov dword [ecx], eax
jmp 0x10054c4a
dec ecx
mov word [eax + 0x20], cx
mov dword [esi + 0xc], edi
mov dword [ebp - 0x18], ebx
jmp 0x10054c55