Function at 0x15310
Capabilities:
Enumerate pe sections

Disassembly:
push 0x1c
mov eax, 0x22890
call fcn.00016d99
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x138]
imul eax, eax, 0x38
push 1
push dword [ebx + 0x8c]
lea edi, [eax + ebx + 0x14c]
mov dword [ebp + 8], edi
call fcn.00016993
and dword [ebp - 4], 0
mov esi, 0x628
push esi
mov dword [ebp - 0x14], eax
call fcn.0001680b
add esp, 0xc
test eax, eax
mov dword [ebp - 0x28], eax
je 0x1536f
push esi
push 0
push eax
call fcn.000166a0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x20], eax
jmp 0x15373
and dword [ebp - 0x20], 0
mov eax, dword [edi + 0x30]
push dword [edi + 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x2c]
add eax, ebx
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.000151af
mov edx, dword [ebp - 0x14]
mov edi, dword [edi + 0x30]
mov eax, dword [ebp + 8]
and dword [ebp - 0x1c], 0
push 0x3e
add edi, edx
lea esi, [ebx + 0x38]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x30]
movzx ecx, word [eax + edx + 0x14]
add ecx, eax
and dword [ebp + 8], 0
lea eax, [ecx + edx + 0x18]
mov ecx, dword [ebx + 0x138]
mov edi, dword [ebp - 0x1c]
inc ecx
cmp edi, ecx
jae 0x153fc
movzx ecx, word [ebx + 0x132]
cmp edi, ecx
push 0xa
jne 0x153de
dec dword [ebp + 8]
lea esi, [ebx + 0x10]
jmp 0x153ec
mov esi, dword [ebp + 8]
imul esi, esi, 0x38
lea ecx, [ebx + 0x14c]
add esi, ecx
imul edi, edi, 0x28
add edi, eax
inc dword [ebp - 0x1c]
inc dword [ebp + 8]
pop ecx
rep movsd dword es:[edi], dword [esi]
jmp 0x153bb
mov ecx, dword [ebx + 0x138]
imul ecx, ecx, 0x28
add eax, ecx
mov edi, dword [eax + 0x14]
add edi, dword [eax + 0x10]
push edi
push edx
call fcn.00015982
mov esi, dword [eax + 0x3c]
add esi, eax
and dword [ebp - 0x1c], 0
pop ecx
pop ecx
movzx ecx, word [esi + 0x14]
lea ecx, [ecx + esi + 0x18]
lea edx, [ebx + 0x14c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp + 8], edx
movzx edx, word [esi + 6]
cmp dword [ebp - 0x1c], edx
jge 0x154fb
movzx edx, word [ebx + 0x132]
cmp dword [ebp - 0x1c], edx
je 0x154a4
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x30]
mov ecx, dword [ecx + 0x14]
push edx
add ecx, eax
push 0
push ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], ecx
call fcn.000166a0
mov eax, dword [ebp + 8]
add esp, 0xc
push dword [eax + 0x28]
cmp dword [eax + 0x34], 0
mov eax, dword [eax + 0x2c]
je 0x15490
mov ecx, dword [ebp - 0x20]
add eax, ebx
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.000151af
jmp 0x1549e
add eax, ebx
push eax
push dword [ebp - 0x18]
call fcn.00015ff0
add esp, 0xc
add dword [ebp + 8], 0x38
jmp 0x154e9
mov edx, dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, dword [ebp + 0xc]
add edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
add eax, dword [ecx + 0xc]
mov dword [ebp - 0x18], edx
push eax
push edx
call fcn.00015ff0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x88]
mov ecx, dword [ebp + 0xc]
sub eax, dword [ecx + 0xc]
add eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x134]
neg eax
push eax
push dword [ebp - 0x18]
call fcn.0001292a
add esp, 0x18
add dword [ebp - 0x28], 0x28
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x15436
push dword [ebp - 0x20]
call fcn.000167a8
push edi
push dword [ebp - 0x14]
call fcn.00015235
add esp, 0xc
push dword [ebp - 0x14]
call fcn.0001671a
pop ecx
call fcn.00016e08
ret