Function at 0xa300a8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x10]
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x24]
mov dword [ebx], 0
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 0x28]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov edx, dword [ebp + 8]
mov dword [esp], 0x136abe0
mov dword [esp + 4], edx
call dword [ebp + 0x30]
mov esi, eax
mov eax, dword [0x136abf8]
test eax, eax
jne 0xa30100
mov edx, dword [0x136ac1c]
test edx, edx
jle 0xa30428
mov dword [ebx], 1
mov ecx, dword [0x136ac24]
mov dword [ebx + 4], ecx
mov eax, dword [0x136ac48]
mov ecx, dword [eax*4 + 0xd7dc20]
mov dword [ebx + 8], ecx
mov edx, dword [0x136ac54]
mov dword [ebx + 0x10], edx
mov eax, dword [0x136ac58]
mov dword [ebx + 0x14], eax
mov edx, dword [0x136ac3c]
mov eax, dword [0x136ac30]
lea eax, [edx + eax*4]
mov edx, dword [eax*4 + 0xd7cde0]
mov dword [ebx + 0x18], edx
mov eax, dword [0x136ac1c]
test eax, eax
jle 0xa3030b
lea eax, [eax*8 + 0x20]
imul eax, ecx
push eax
fild dword [esp]
mov dword [esp], edx
fild dword [esp]
add esp, 4
fmul dword [0xd7ce00]
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
fdivp st(1)
or ax, 0xc00
mov word [ebp - 0x14], ax
fadd dword [0xd7ce04]
fldcw word [ebp - 0x14]
fistp dword [ebx + 0xc]
fldcw word [ebp - 0x12]
mov eax, dword [0x136abec]
test eax, eax
jle 0xa301be
mov dword [ebx + 0x20], eax
mov ecx, dword [0x136abec]
mov eax, dword [0x136abf0]
imul edx, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ebx + 0x1c], edx
mov edx, dword [0x136abf4]
mov ebx, dword [ebp + 0x20]
mov dword [ebx], edx
test esi, esi
je 0xa301db
mov dword [ebp - 0x18], 0xffffffff
dec esi
je 0xa30348
mov eax, dword [ebp - 0x18]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x136ac24]
cmp eax, 1
je 0xa3035a
mov dword [ebp - 0x18], 0xffffffff
cmp eax, 2
jne 0xa301d0
mov esi, dword [ebp - 0x10]
mov eax, esi
cdq
idiv dword [ebp + 0x2c]
sar eax, 1
cmp dword [ebp + 0x2c], 2
mov dword [ebp - 0x18], eax
je 0xa30598
mov dword [ebp - 0x3c], edi
xor eax, eax
mov esi, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
jge 0xa301d0
mov ecx, dword [ebp - 0x3c]
xor eax, eax
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x18]
not eax
mov ebx, dword [ecx]
lea edi, [eax + esi]
and edi, 3
mov dword [edx], ebx
mov esi, dword [ecx + 4]
mov ebx, edx
mov edx, ecx
mov ecx, dword [ebp - 0x38]
add ebx, 4
add edx, 8
mov dword [ecx], esi
xor esi, esi
add ecx, 4
inc esi
cmp esi, dword [ebp - 0x18]
jge 0xa301d0
test edi, edi
je 0xa302c8
cmp edi, 1
je 0xa302a1
cmp edi, 2
je 0xa3028e
mov edx, dword [ebp - 0x3c]
xor esi, esi
mov ecx, dword [ebp - 0x34]
add esi, 2
mov ebx, dword [edx + 8]
mov dword [ecx + 4], ebx
mov edi, dword [edx + 0xc]
mov ebx, ecx
mov ecx, dword [ebp - 0x38]
add ebx, 8
add edx, 0x10
mov dword [ecx + 4], edi
add ecx, 8
mov edi, dword [edx]
inc esi
mov dword [ebx], edi
mov eax, dword [edx + 4]
add ebx, 4
add edx, 8
mov dword [ecx], eax
add ecx, 4
mov edi, dword [edx]
inc esi
mov dword [ebx], edi
mov eax, dword [edx + 4]
add ebx, 4
add edx, 8
mov dword [ecx], eax
add ecx, 4
cmp esi, dword [ebp - 0x18]
jge 0xa301d0
lea esi, [esi]
lea edi, [edi]
mov edi, dword [edx]
add esi, 4
mov dword [ebx], edi
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov edi, dword [edx + 8]
mov dword [ebx + 4], edi
mov eax, dword [edx + 0xc]
mov dword [ecx + 4], eax
mov edi, dword [edx + 0x10]
mov dword [ebx + 8], edi
mov eax, dword [edx + 0x14]
mov dword [ecx + 8], eax
mov edi, dword [edx + 0x18]
mov dword [ebx + 0xc], edi
mov eax, dword [edx + 0x1c]
add ebx, 0x10
add edx, 0x20
mov dword [ecx + 0xc], eax
add ecx, 0x10
cmp esi, dword [ebp - 0x18]
jl 0xa302c8
jmp 0xa301d0
mov eax, dword [0x136ac10]
test eax, eax
jg 0xa30154
mov eax, dword [0x136ac30]
mov ecx, dword [0x136ac3c]
lea eax, [eax + eax*2]
add eax, ecx
mov ecx, dword [0x136ac44]
shl eax, 4
add eax, ecx
mov ecx, dword [eax*4 + 0xd7dc20]
mov dword [ebx + 0xc], ecx
jmp 0xa30191
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp - 0x10]
mov eax, esi
cdq
idiv dword [ebp + 0x2c]
cmp dword [ebp + 0x2c], 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
je 0xa3047c
xor eax, eax
mov edx, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
jge 0xa301d0
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
not ecx
mov esi, dword [edi]
lea ebx, [ecx + edx]
mov edx, dword [ebp - 0x24]
and ebx, 7
lea ecx, [edi + 4]
mov dword [edx], esi
xor esi, esi
add edx, 4
inc esi
cmp esi, dword [ebp - 0x1c]
jge 0xa301d0
test ebx, ebx
je 0xa3043b
cmp ebx, 1
je 0xa3041b
cmp ebx, 2
je 0xa30410
cmp ebx, 3
je 0xa30405
cmp ebx, 4
je 0xa303fa
cmp ebx, 5
je 0xa303ef
cmp ebx, 6
je 0xa303e4
mov edx, dword [ebp - 0x24]
xor esi, esi
lea ecx, [edi + 8]
mov ebx, dword [edi + 4]
add esi, 2
mov dword [edx + 4], ebx
add edx, 8
mov eax, dword [ecx]
inc esi
add ecx, 4
mov dword [edx], eax
add edx, 4
mov edi, dword [ecx]
inc esi
add ecx, 4
mov dword [edx], edi
add edx, 4
mov ebx, dword [ecx]
inc esi
add ecx, 4
mov dword [edx], ebx
add edx, 4
mov eax, dword [ecx]
inc esi
add ecx, 4
mov dword [edx], eax
add edx, 4
mov edi, dword [ecx]
inc esi
add ecx, 4
mov dword [edx], edi
add edx, 4
mov ebx, dword [ecx]
inc esi
add ecx, 4
mov dword [edx], ebx
add edx, 4
jmp 0xa30472
mov ecx, dword [0x136ac10]
test ecx, ecx
jg 0xa30100
jmp 0xa301be
mov edi, dword [ecx]
add esi, 8
mov dword [edx], edi
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov edi, dword [ecx + 0xc]
mov dword [edx + 0xc], edi
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov ebx, dword [ecx + 0x14]
mov dword [edx + 0x14], ebx
mov edi, dword [ecx + 0x18]
mov dword [edx + 0x18], edi
mov eax, dword [ecx + 0x1c]
add ecx, 0x20
mov dword [edx + 0x1c], eax
add edx, 0x20
cmp esi, dword [ebp - 0x1c]
jl 0xa3043b
jmp 0xa301d0
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
cmp ebx, eax
mov dword [ebp - 0x20], ecx
jge 0xa301d0
movzx esi, word [edi]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
not ecx
lea ebx, [ecx + edx]
mov edx, dword [ebp - 0x20]
and ebx, 7
lea ecx, [edi + 2]
mov word [edx], si
xor esi, esi
add edx, 2
inc esi
cmp esi, dword [ebp - 0x1c]
jge 0xa301d0
test ebx, ebx
je 0xa30547
cmp ebx, 1
je 0xa30531
cmp ebx, 2
je 0xa30524
cmp ebx, 3
je 0xa30517
cmp ebx, 4
je 0xa3050a
cmp ebx, 5
je 0xa304fd
cmp ebx, 6
je 0xa304f0
movzx ebx, word [edi + 2]
xor esi, esi
mov edx, dword [ebp - 0x20]
lea ecx, [edi + 4]
add esi, 2
mov word [edx + 2], bx
add edx, 4
movzx eax, word [ecx]
inc esi
add ecx, 2
mov word [edx], ax
add edx, 2
movzx edi, word [ecx]
inc esi
add ecx, 2
mov word [edx], di
add edx, 2
movzx ebx, word [ecx]
inc esi
add ecx, 2
mov word [edx], bx
add edx, 2
movzx eax, word [ecx]
inc esi
add ecx, 2
mov word [edx], ax
add edx, 2
movzx edi, word [ecx]
inc esi
add ecx, 2
mov word [edx], di
add edx, 2
movzx ebx, word [ecx]
inc esi
add ecx, 2
mov word [edx], bx
add edx, 2
cmp esi, dword [ebp - 0x1c]
jge 0xa301d0
movzx edi, word [ecx]
add esi, 8
mov word [edx], di
movzx eax, word [ecx + 2]
mov word [edx + 2], ax
movzx ebx, word [ecx + 4]
mov word [edx + 4], bx
movzx edi, word [ecx + 6]
mov word [edx + 6], di
movzx eax, word [ecx + 8]
mov word [edx + 8], ax
movzx ebx, word [ecx + 0xa]
mov word [edx + 0xa], bx
movzx edi, word [ecx + 0xc]
mov word [edx + 0xc], di
movzx eax, word [ecx + 0xe]
add ecx, 0x10
mov word [edx + 0xe], ax
add edx, 0x10
cmp esi, dword [ebp - 0x1c]
jl 0xa30547
jmp 0xa301d0
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp + 0x10]
xor edi, edi
mov ebx, dword [ebp + 0x14]
cmp edi, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ebx
jge 0xa301d0
mov edx, dword [ebp - 0x18]
xor esi, esi
not esi
mov ecx, dword [ebp - 0x28]
lea edi, [esi + edx]
mov edx, dword [ebp - 0x30]
xor esi, esi
and edi, 3
inc esi
movzx ebx, word [edx]
mov word [ecx], bx
mov ebx, ecx
mov ecx, dword [ebp - 0x2c]
movzx eax, word [edx + 2]
add ebx, 2
add edx, 4
mov word [ecx], ax
add ecx, 2
cmp esi, dword [ebp - 0x18]
jge 0xa301d0
test edi, edi
je 0xa30659
cmp edi, 1
je 0xa30639
cmp edi, 2
je 0xa30622
mov edx, dword [ebp - 0x30]
xor esi, esi
mov ecx, dword [ebp - 0x28]
add esi, 2
movzx eax, word [edx + 4]
mov ebx, ecx
add ebx, 4
mov word [ecx + 2], ax
mov ecx, dword [ebp - 0x2c]
movzx edi, word [edx + 6]
add edx, 8
mov word [ecx + 2], di
add ecx, 4
movzx eax, word [edx]
inc esi
mov word [ebx], ax
add ebx, 2
movzx edi, word [edx + 2]
add edx, 4
mov word [ecx], di
add ecx, 2
movzx eax, word [edx]
inc esi
mov word [ebx], ax
add ebx, 2
movzx edi, word [edx + 2]
add edx, 4
mov word [ecx], di
add ecx, 2
cmp esi, dword [ebp - 0x18]
jge 0xa301d0
movzx eax, word [edx]
add esi, 4
mov word [ebx], ax
movzx edi, word [edx + 2]
mov word [ecx], di
movzx eax, word [edx + 4]
mov word [ebx + 2], ax
movzx edi, word [edx + 6]
mov word [ecx + 2], di
movzx eax, word [edx + 8]
mov word [ebx + 4], ax
movzx edi, word [edx + 0xa]
mov word [ecx + 4], di
movzx eax, word [edx + 0xc]
mov word [ebx + 6], ax
add ebx, 8
movzx edi, word [edx + 0xe]
add edx, 0x10
mov word [ecx + 6], di
add ecx, 8
cmp esi, dword [ebp - 0x18]
jl 0xa30659
jmp 0xa301d0