Function at 0x6ab25690
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ecx + 0xc]
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x54]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
test ebx, ebx
setne cl
mov dword [esp], ebx
movzx ebx, cl
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x48]
test ebx, ebx
jle 0x6ab257e4
mov ebx, dword [edx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov ebx, dword [edx + 4]
and ebx, 0xfffffffe
mov dword [esp + 0x18], ebx
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
and ebx, 0xfffffffe
and edx, 0xfffffffe
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ebx
test edx, edx
setne byte [esp + 0x2f]
and cl, byte [esp + 0x2f]
mov byte [esp + 0x2e], cl
mov ecx, esi
lea esi, [esi]
cmp dword [esp + 0x50], 2
mov eax, dword [esp + 0xc]
je 0x6ab25871
cmp dword [esp + 0x50], 3
je 0x6ab25923
cmp dword [esp + 0x50], 1
je 0x6ab257f0
cmp byte [esp + 0x2e], 0
je 0x6ab259f3
mov ebp, dword [esp + 0x58]
test ebp, ebp
jle 0x6ab257a0
mov edx, dword [esp + 4]
mov esi, dword [edx]
mov ebp, dword [edx + 4]
mov edi, dword [edx + 8]
xor edx, edx
mov dword [esp + 8], esi
lea esi, [esi]
movzx ebx, word [eax]
mov esi, dword [esp + 8]
sar ebx, cl
mov word [esi + edx*2], bx
movzx ebx, word [eax + 2]
mov esi, dword [esp]
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 4]
sar ebx, cl
mov word [edi + edx*2], bx
movzx ebx, word [eax + 6]
add eax, 8
sar ebx, cl
mov word [esi + edx*2], bx
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25760
nop
lea esi, [esi]
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add dword [esi], eax
add dword [esi + 4], edx
add dword [esi + 8], ebx
mov esi, dword [esp + 0x20]
add dword [esp], esi
mov edx, dword [esp]
mov eax, dword [esp + 4]
add dword [esp + 0x10], 1
mov ebx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x24]
add dword [esp + 0xc], edx
cmp dword [esp + 0x10], ebx
jne 0x6ab25710
add esp, 0x30
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [esp + 0x2e], 0
je 0x6ab25b07
mov ebp, dword [esp + 0x58]
test ebp, ebp
jle 0x6ab257a0
mov edx, dword [esp + 4]
mov esi, dword [edx]
mov ebp, dword [edx + 4]
mov edi, dword [edx + 8]
xor edx, edx
mov dword [esp + 8], esi
movzx ebx, word [eax]
mov esi, dword [esp + 8]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [esi + edx*2], bx
movzx ebx, word [eax + 2]
mov esi, dword [esp]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 4]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [edi + edx*2], bx
movzx ebx, word [eax + 6]
add eax, 8
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [esi + edx*2], bx
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25815
jmp 0x6ab257a0
cmp byte [esp + 0x2e], 0
je 0x6ab25b80
mov ebp, dword [esp + 0x58]
test ebp, ebp
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, esi
mov edi, dword [esi]
mov ebx, dword [edx + 8]
xor edx, edx
mov esi, dword [esi + 4]
mov dword [esp + 8], ebx
lea esi, [esi]
movzx ebx, word [eax]
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [edi + edx*2], bp
movzx ebx, word [eax + 2]
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [esi + edx*2], bp
movzx ebx, word [eax + 4]
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], bp
movzx ebx, word [eax + 6]
add eax, 8
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp]
mov word [ebx + edx*2], bp
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab258a0
jmp 0x6ab257a0
cmp byte [esp + 0x2e], 0
je 0x6ab25a58
mov ebp, dword [esp + 0x58]
test ebp, ebp
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, esi
mov edi, dword [esi]
mov ebx, dword [edx + 8]
xor edx, edx
mov esi, dword [esi + 4]
mov dword [esp + 8], ebx
nop
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [edi + edx*2], bp
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [esi + edx*2], bp
movzx ebx, word [eax + 4]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], bp
movzx ebx, word [eax + 6]
add eax, 8
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp]
mov word [ebx + edx*2], bp
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25950
jmp 0x6ab257a0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6ab25c20
mov esi, dword [esp + 0x58]
test esi, esi
jle 0x6ab257a0
mov edx, dword [esp + 4]
mov ebp, dword [edx]
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
xor edx, edx
lea esi, [esi]
movzx ebx, word [eax]
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 2]
sar ebx, cl
mov word [edi + edx*2], bx
movzx ebx, word [eax + 4]
add eax, 6
sar ebx, cl
mov word [esi + edx*2], bx
mov ebx, dword [esp]
mov word [ebx + edx*2], 0xffff
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25a20
jmp 0x6ab257a0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6ab25d06
mov esi, dword [esp + 0x58]
test esi, esi
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, esi
mov edi, dword [esi]
mov ebx, dword [edx + 8]
xor edx, edx
mov esi, dword [esi + 4]
mov dword [esp + 8], ebx
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [edi + edx*2], bp
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [esi + edx*2], bp
movzx ebx, word [eax + 4]
add eax, 6
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], bp
mov ebx, dword [esp]
mov word [ebx + edx*2], 0xffff
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25a84
jmp 0x6ab257a0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6ab25db0
mov esi, dword [esp + 0x58]
test esi, esi
jle 0x6ab257a0
mov edx, dword [esp + 4]
mov edi, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
xor edx, edx
lea esi, [esi]
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [edi + edx*2], bx
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 4]
add eax, 6
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [esi + edx*2], bx
mov ebx, dword [esp]
mov word [ebx + edx*2], 0xffff
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25b30
jmp 0x6ab257a0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x6ab25c74
mov esi, dword [esp + 0x58]
test esi, esi
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, dword [esp + 4]
mov esi, dword [esi]
mov edi, dword [edx + 4]
mov dword [esp + 8], esi
mov esi, dword [edx + 8]
xor edx, edx
nop
movzx ebx, word [eax]
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], bp
movzx ebx, word [eax + 2]
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov word [edi + edx*2], bp
movzx ebx, word [eax + 4]
add eax, 6
sar ebx, cl
and ebx, 0xffff
mov ebp, ebx
shr bp, 8
shl ebx, 8
or ebp, ebx
mov ebx, dword [esp]
mov word [esi + edx*2], bp
mov word [ebx + edx*2], 0xffff
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25bb0
jmp 0x6ab257a0
cmp byte [esp + 0x2f], 0
je 0x6ab25f96
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x6ab257a0
mov esi, dword [esp + 4]
xor edx, edx
mov ebp, dword [esi]
mov edi, dword [esi + 4]
mov esi, dword [esi + 8]
movzx ebx, word [eax]
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 2]
sar ebx, cl
mov word [edi + edx*2], bx
movzx ebx, word [eax + 4]
add eax, 8
sar ebx, cl
mov word [esi + edx*2], bx
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25c45
jmp 0x6ab257a0
cmp byte [esp + 0x2f], 0
je 0x6ab25f10
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, dword [esi + 8]
mov edi, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 8], edx
xor edx, edx
lea esi, [esi]
movzx ebx, word [eax]
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [edi + edx*2], si
movzx ebx, word [eax + 2]
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [ebp + edx*2], si
movzx ebx, word [eax + 4]
add eax, 8
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], si
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25ca0
jmp 0x6ab257a0
cmp byte [esp + 0x2f], 0
je 0x6ab25e75
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, dword [esi + 4]
mov ebp, dword [esi]
mov edi, dword [esi + 8]
mov dword [esp + 8], edx
xor edx, edx
nop
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [ebp + edx*2], si
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], si
movzx ebx, word [eax + 4]
add eax, 8
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [edi + edx*2], si
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25d30
jmp 0x6ab257a0
cmp byte [esp + 0x2f], 0
je 0x6ab25e17
mov edx, dword [esp + 0x58]
test edx, edx
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, esi
mov ebp, dword [esi]
mov esi, dword [esi + 4]
mov edi, dword [edx + 8]
xor edx, edx
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [esi + edx*2], bx
movzx ebx, word [eax + 4]
add eax, 8
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [edi + edx*2], bx
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25dd3
jmp 0x6ab257a0
mov ebx, dword [esp + 0x58]
test ebx, ebx
jle 0x6ab257a0
mov ebx, dword [esp + 4]
xor edx, edx
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 8]
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [esi + edx*2], bx
movzx ebx, word [eax + 4]
add eax, 6
rol bx, 8
movzx ebx, bx
sar ebx, cl
mov word [edi + edx*2], bx
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25e31
jmp 0x6ab257a0
mov ebx, dword [esp + 0x58]
test ebx, ebx
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, dword [esi + 4]
mov ebp, dword [esi]
mov edi, dword [esi + 8]
mov dword [esp + 8], edx
xor edx, edx
movzx ebx, word [eax]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [ebp + edx*2], si
movzx ebx, word [eax + 2]
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], si
movzx ebx, word [eax + 4]
add eax, 6
rol bx, 8
movzx ebx, bx
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [edi + edx*2], si
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25e93
jmp 0x6ab257a0
mov ebx, dword [esp + 0x58]
test ebx, ebx
jle 0x6ab257a0
mov esi, dword [esp + 4]
mov edx, dword [esi + 8]
mov edi, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 8], edx
xor edx, edx
nop
movzx ebx, word [eax]
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [edi + edx*2], si
movzx ebx, word [eax + 2]
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov word [ebp + edx*2], si
movzx ebx, word [eax + 4]
add eax, 6
sar ebx, cl
and ebx, 0xffff
mov esi, ebx
shr si, 8
shl ebx, 8
or esi, ebx
mov ebx, dword [esp + 8]
mov word [ebx + edx*2], si
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25f30
jmp 0x6ab257a0
mov ebx, dword [esp + 0x58]
test ebx, ebx
jle 0x6ab257a0
mov ebx, dword [esp + 4]
xor edx, edx
mov ebp, dword [ebx]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
movzx ebx, word [eax]
sar ebx, cl
mov word [ebp + edx*2], bx
movzx ebx, word [eax + 2]
sar ebx, cl
mov word [edi + edx*2], bx
movzx ebx, word [eax + 4]
add eax, 6
sar ebx, cl
mov word [esi + edx*2], bx
add edx, 1
cmp edx, dword [esp + 0x58]
jne 0x6ab25fb0
jmp 0x6ab257a0