Function at 0x5610fb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x5d0]
sub esp, 0x650
mov eax, dword [0x55d650]
xor eax, ebp
mov dword [ebp + 0x5cc], eax
mov eax, dword [ebp + 0x5dc]
push ebx
push esi
mov esi, dword [ebp + 0x5d8]
mov ebx, dword [esi + 0x138]
push edi
add ebx, 6
imul ebx, ebx, 0x38
push 4
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x5e0]
push 0x3000
push dword [esi + 0x13c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x5e4]
push 0
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x80], eax
add ebx, esi
call dword [0x55d018]
push dword [ebx + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x2c]
add eax, esi
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00561075
mov edi, dword [ebx + 0x30]
mov eax, dword [ebp - 0x70]
and dword [ebp - 0x64], 0
add esi, 0x38
push 0x3e
add edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 0x30]
movzx ecx, word [ebx + eax + 0x14]
add ecx, ebx
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebx + 0x138]
inc esi
lea edx, [ecx + eax + 0x18]
lea ecx, [ebx + 0x150]
je 0x5611f3
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x68], ecx
movzx ecx, word [ebx + 0x132]
cmp dword [ebp - 0x64], ecx
mov edi, dword [ebp - 0x60]
push 0xa
pop ecx
jne 0x5611d7
sub dword [ebp - 0x68], 0x38
lea esi, [ebx + 0x10]
jmp 0x5611da
mov esi, dword [ebp - 0x68]
inc dword [ebp - 0x64]
add dword [ebp - 0x60], 0x28
add dword [ebp - 0x68], 0x38
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x138]
inc ecx
cmp dword [ebp - 0x64], ecx
jb 0x5611bc
mov ecx, dword [ebx + 0x138]
mov esi, dword [eax + 0x3c]
imul ecx, ecx, 0x28
and dword [ebp - 0x60], 0
add ecx, edx
mov edi, dword [ecx + 0x14]
add edi, dword [ecx + 0x10]
add esi, eax
cmp word [esi + 6], 0
movzx ecx, word [esi + 0x14]
mov dword [ebp - 0x7c], edi
lea ecx, [ecx + esi + 0x18]
jbe 0x5612ed
add ecx, 0x14
lea edi, [ebx + 0x178]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x6c], edi
jmp 0x561237
mov ecx, dword [ebp - 0x64]
movzx edx, word [ebx + 0x132]
cmp dword [ebp - 0x60], edx
je 0x56128f
mov edx, dword [edi + 8]
mov ecx, dword [ecx]
push edx
add ecx, eax
push 0
push ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], ecx
call fcn.005625c0
mov eax, dword [edi + 4]
add esp, 0xc
push dword [edi]
add eax, ebx
cmp dword [edi + 0xc], 0
push eax
je 0x56127c
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00561075
jmp 0x561287
push dword [ebp - 0x6c]
call fcn.00561ef0
add esp, 0xc
add edi, 0x38
mov dword [ebp - 0x6c], edi
jmp 0x5612d3
mov edi, dword [ecx]
mov ecx, dword [ebp - 0x74]
add edi, eax
mov eax, dword [ebp - 0x64]
push dword [eax - 4]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x34]
add eax, dword [ecx + 0xc]
push eax
push edi
call fcn.00561ef0
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0x88]
mov ecx, dword [ebp - 0x74]
sub eax, dword [ecx + 0xc]
add eax, edi
push eax
mov eax, dword [ebx + 0x134]
neg eax
push eax
push edi
call fcn.0055e96e
mov edi, dword [ebp - 0x6c]
add esp, 0x18
movzx eax, word [esi + 6]
add dword [ebp - 0x64], 0x28
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
jl 0x561234
mov edi, dword [ebp - 0x7c]
push edi
push eax
call dword [ebp - 0x80]
pop ecx
pop ecx
push 0x8000
push dword [ebx + 0x13c]
mov esi, eax
push dword [ebp - 0x70]
call dword [0x55d014]
mov ecx, dword [ebp + 0x5cc]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005625aa
add ebp, 0x5d0
leave
ret