Function at 0x545240
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xa0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x44fa90
mov edx, dword fs:[0]
mov dword [ecx], edx
mov ebx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov ecx, edi
sub ecx, ebx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0x90], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x18], 0
cmp ecx, 0x65
mov dword [esi + 0x14], ecx
jb 0x5452ed
push ecx
call fcn.004dfdb0
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
test eax, eax
jne 0x5452fa
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], eax
call fcn.00554970
lea eax, [esi + 0x30]
mov dword [esi + 0x10], eax
mov dword [esi + 8], 0
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
je 0x54533e
mov dword [esi + 0x18], 0
mov edi, ebx
mov ebx, dword [esi + 0x10]
cmp byte [edi + 0xb], 0
js 0x54532e
mov ecx, edi
call fcn.004cc630
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x545333
mov byte [ebx], 1
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x54530d
jmp 0x54533e
mov eax, dword [edi + 4]
jmp 0x54531d
mov byte [ebx], 2
dec dword [esi + 0x14]
inc dword [esi + 0x18]
jmp 0x545324
mov dword [esi + 0xa8], 0
xor edi, edi
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0053ef40
mov ebx, dword [ebp + 0x10]
test al, al
jne 0x545590
cmp dword [esi + 0x14], 0
je 0x545590
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54551f
movzx eax, word [eax]
mov word [esi + 6], ax
cmp byte [ebp + 0x20], 0
jne 0x5453d6
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
movzx eax, word [esi + 6]
mov ecx, ebx
push eax
call edi
mov ebx, dword [ebp + 0x10]
mov word [esi + 6], ax
mov edi, dword [esi + 0x1c]
lea edx, [edi + 1]
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x10]
mov ecx, ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
cmp ecx, dword [ebp + 0x14]
je 0x5454a7
cmp byte [eax], 1
je 0x545405
mov ecx, dword [esi + 0x28]
add ecx, 0xc
inc eax
jmp 0x5453eb
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x28]
push edi
call fcn.0054f4c0
movzx edi, word [eax]
cmp byte [ebp + 0x20], 0
jne 0x545452
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
movzx eax, di
mov ecx, dword [ebp + 0x18]
push eax
call ebx
mov ebx, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x20]
cmp word [esi + 6], di
mov edx, dword [esi + 0x24]
jne 0x54548c
mov ecx, dword [esi + 0x28]
cmp byte [ecx + 0xb], 0
mov edi, dword [esi + 0x1c]
js 0x5454a2
call fcn.004cc630
mov edx, dword [esi + 0x24]
mov cl, 1
mov dword [esi + 0x2c], ecx
cmp eax, edx
jne 0x54549a
mov eax, dword [esi + 0x20]
mov byte [eax], 2
dec dword [esi + 0x14]
inc dword [esi + 0x18]
jmp 0x5453fc
mov byte [eax], 0
dec dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
jmp 0x5453fc
mov eax, dword [esi + 0x20]
jmp 0x5453fc
mov eax, dword [ecx + 4]
jmp 0x545472
mov edi, edx
test byte [esi + 0x2c], 1
je 0x54534a
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54555d
add eax, 2
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
add eax, edx
mov edx, dword [esi + 0x24]
mov edi, edx
cmp eax, 2
jb 0x54534a
mov edi, edx
cmp ebx, dword [ebp + 0x14]
je 0x54534a
mov edi, ebx
mov ebx, dword [esi + 0x10]
cmp byte [ebx], 2
jne 0x54550f
cmp byte [edi + 0xb], 0
js 0x54551a
mov ecx, edi
call fcn.004cc630
mov edx, dword [esi + 0x24]
cmp eax, edx
je 0x54550f
mov byte [ebx], 0
dec dword [esi + 0x18]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x5454f0
jmp 0x545556
mov eax, dword [edi + 4]
jmp 0x545505
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ebx, dword [ebp + 0x10]
mov word [esi + 6], ax
jmp 0x545396
mov edi, edx
jmp 0x54534a
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ebx, dword [ebp + 0x10]
jmp 0x5454ca
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0053ef40
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test al, al
mov ebx, dword [ebp + 0x1c]
je 0x5455b2
or byte [ebx], 2
cmp edx, ecx
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x10]
je 0x5455c9
cmp byte [edi], 2
je 0x5455f3
add edx, 0xc
inc edi
cmp edx, ecx
jne 0x5455bc
or byte [ebx], 4
test eax, eax
je 0x5455dd
push eax
mov edi, ecx
call fcn.004dfe00
mov ecx, edi
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
jmp 0x5455cc