Function at 0x4e7806
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x20]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x18]
mov dword [ebp - 4], eax
movzx eax, word [esi]
sub eax, 0
push edi
mov dword [ebp - 8], ebx
je 0x4e7b17
dec eax
je 0x4e7ab6
dec eax
je 0x4e799d
dec eax
je 0x4e7911
dec eax
dec eax
je 0x4e7852
mov eax, 0x80004001
jmp 0x4e7d07
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + 0x34]
shl eax, 4
xor edx, edx
div ecx
mov dword [ebp + 0x14], eax
movzx eax, word [esi + 8]
cmp dword [ebp + 0x14], eax
jbe 0x4e786e
mov dword [ebp + 0x14], eax
imul ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
xor edi, edi
test ecx, ecx
mov dword [ebp - 0x14], ecx
jbe 0x4e78a7
mov eax, edi
shr eax, 2
mov ecx, eax
shr ecx, 2
mov ebx, edi
and ebx, 3
and eax, 3
lea ecx, [ebx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
mov dword [edx], eax
add edx, 4
inc edi
cmp edi, dword [ebp - 0x14]
jb 0x4e787e
mov eax, dword [ebp - 4]
and dword [ebp + 0x10], 0
cmp dword [ebp + 0x14], 0
mov dword [ebp - 8], eax
jbe 0x4e7d05
xor ebx, ebx
cmp word [esi + 0xa], bx
jbe 0x4e7901
mov eax, dword [ebp + 8]
push dword [ebp + 0x18]
mov ecx, dword [eax + 0x38]
mov edi, dword [ecx + ebx*4]
push dword [edi + 0x30]
push dword [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.004e6819
test eax, eax
jl 0x4e7d07
mov ecx, dword [ebp - 8]
mov eax, dword [edi + 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x28]
add dword [ebp + 0x18], eax
movzx eax, word [esi + 0xa]
inc ebx
cmp ebx, eax
jb 0x4e78c3
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
jb 0x4e78bb
jmp 0x4e7d05
movzx eax, word [esi + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, eax
mov dword [ebp + 0x14], ecx
jbe 0x4e7922
mov dword [ebp + 0x14], eax
mov dx, word [esi + 4]
cmp dx, 4
jne 0x4e7936
cmp word [esi + 6], dx
je 0x4e7b65
mov edi, dword [ebp - 4]
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
jbe 0x4e7b5f
and dword [ebp - 8], 0
cmp word [esi + 6], 0
jbe 0x4e7992
movzx eax, dx
xor ecx, ecx
test eax, eax
jbe 0x4e7986
cmp ecx, 4
ja 0x4e7973
mov eax, dword [ebp - 8]
cmp eax, 4
ja 0x4e7973
mov edx, dword [ebp + 0x10]
lea eax, [eax + ebx*4]
lea eax, [ecx + eax*4]
mov eax, dword [edx + eax*4]
jmp 0x4e7975
xor eax, eax
mov dword [edi], eax
mov dx, word [esi + 4]
add edi, 4
movzx eax, dx
inc ecx
cmp ecx, eax
jb 0x4e7958
movzx ecx, word [esi + 6]
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jb 0x4e7952
inc ebx
cmp ebx, dword [ebp + 0x14]
jb 0x4e7944
jmp 0x4e7b5f
movzx eax, word [esi + 8]
mov ecx, dword [ebp + 0x14]
cmp ecx, eax
mov dword [ebp + 0x14], ecx
jbe 0x4e79ae
mov dword [ebp + 0x14], eax
mov cx, word [esi + 4]
cmp cx, 4
jne 0x4e7a4d
cmp word [esi + 6], cx
jne 0x4e7a4d
cmp dword [ebp + 0x14], 0
jbe 0x4e7b5f
mov edx, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
lea ecx, [edx + 8]
lea eax, [edi + 0x20]
sub edx, edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [eax - 0x20]
mov dword [ecx - 8], ebx
mov ebx, dword [eax - 0x10]
mov dword [ecx - 4], ebx
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 4], ebx
mov ebx, dword [eax - 0x1c]
mov dword [ecx + 8], ebx
mov ebx, dword [eax - 0xc]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x14], ebx
fld dword [eax - 0x18]
fstp dword [edx + eax]
mov ebx, dword [eax - 8]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 0x20], ebx
mov ebx, dword [eax + 0x18]
mov dword [ecx + 0x24], ebx
mov ebx, dword [eax - 0x14]
mov dword [ecx + 0x28], ebx
mov ebx, dword [eax - 4]
mov dword [ecx + 0x2c], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0x30], ebx
mov ebx, dword [eax + 0x1c]
mov dword [ecx + 0x34], ebx
add eax, 0x40
add ecx, 0x40
dec edi
jne 0x4e79e1
jmp 0x4e7b5f
and dword [ebp - 8], 0
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp - 4]
jbe 0x4e7b5f
xor edx, edx
test cx, cx
jbe 0x4e7aa6
movzx eax, word [esi + 6]
xor ecx, ecx
test eax, eax
jbe 0x4e7a9a
cmp edx, 4
ja 0x4e7a8a
cmp ecx, 4
ja 0x4e7a8a
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + eax*4]
lea eax, [edx + eax*4]
mov eax, dword [ebx + eax*4]
jmp 0x4e7a8c
xor eax, eax
mov dword [edi], eax
movzx eax, word [esi + 6]
add edi, 4
inc ecx
cmp ecx, eax
jb 0x4e7a6f
mov cx, word [esi + 4]
movzx ebx, cx
inc edx
cmp edx, ebx
jb 0x4e7a69
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jb 0x4e7a5e
jmp 0x4e7b5f
mov ecx, dword [ebp + 0x14]
movzx eax, word [esi + 8]
shl ecx, 2
cmp ecx, eax
mov dword [ebp + 0x14], ecx
jbe 0x4e7aca
mov dword [ebp + 0x14], eax
mov edx, dword [ebp - 4]
xor edi, edi
cmp dword [ebp + 0x14], edi
jbe 0x4e7b5f
movzx eax, word [esi + 6]
xor ecx, ecx
test eax, eax
jbe 0x4e7b0f
cmp ecx, 4
jbe 0x4e7aeb
xor eax, eax
jmp 0x4e7b01
mov eax, edi
shr eax, 2
mov ebx, edi
lea eax, [ecx + eax*4]
and ebx, 3
lea eax, [ebx + eax*4]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + eax*4]
mov dword [edx], eax
movzx eax, word [esi + 6]
add edx, 4
inc ecx
cmp ecx, eax
jb 0x4e7ae2
inc edi
cmp edi, dword [ebp + 0x14]
jb 0x4e7adc
jmp 0x4e7b5f
mov edi, dword [ebp + 0x14]
movzx eax, word [esi + 8]
shl edi, 4
cmp edi, eax
mov dword [ebp + 0x14], edi
jbe 0x4e7b2d
mov edi, eax
mov dword [ebp + 0x14], edi
mov ecx, dword [ebp - 4]
xor edx, edx
test edi, edi
jbe 0x4e7b5f
mov eax, edx
shr eax, 2
mov edi, eax
shr edi, 2
mov ebx, edx
and ebx, 3
and eax, 3
lea edi, [ebx + edi*4]
lea eax, [eax + edi*4]
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + eax*4]
mov dword [ecx], eax
add ecx, 4
inc edx
cmp edx, dword [ebp + 0x14]
jb 0x4e7b36
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ax, word [esi + 2]
cmp ax, 3
je 0x4e7bf6
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x34]
imul ecx, dword [ebp + 0x14]
movzx eax, ax
dec eax
je 0x4e7bc4
dec eax
jne 0x4e7bf0
fnstcw word [ebp + 0x10]
mov eax, dword [ebp + 0x10]
or eax, 0xc00
mov dword [ebp - 0x14], eax
fldcw word [ebp - 0x14]
test ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
jbe 0x4e7bbf
mov eax, dword [ebp - 4]
mov edx, ebx
sub edx, eax
fld dword [edx + eax]
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fistp dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
mov dword [eax], edi
add eax, 4
dec ecx
jne 0x4e7ba8
fldcw word [ebp - 0x10]
jmp 0x4e7bf0
test ecx, ecx
jbe 0x4e7bf0
mov edx, dword [ebp - 4]
mov edi, ebx
sub edi, edx
fld dword [0x57cc18]
fld dword [edx + edi]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4e7be6
xor eax, eax
inc eax
jmp 0x4e7be8
xor eax, eax
mov dword [edx], eax
add edx, 4
dec ecx
jne 0x4e7bcf
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov ax, word [eax + 8]
test ax, ax
je 0x4e7cda
cmp word [esi], 3
je 0x4e7c16
movzx edx, word [esi + 6]
movzx edi, word [esi + 4]
jmp 0x4e7c1e
movzx edx, word [esi + 4]
movzx edi, word [esi + 6]
test dl, 3
je 0x4e7cda
cmp ax, 1
mov dword [ebp - 0xc], 0x58585c
je 0x4e7c3b
mov dword [ebp - 0xc], 0x58584c
imul edi, dword [ebp + 0x14]
lea esi, [edx + 3]
and esi, 0xfffffffc
test edi, edi
mov dword [ebp + 0x10], edi
jbe 0x4e7cd7
mov ebx, dword [ebp - 4]
lea ecx, [edi*4 + 4]
imul edi, esi
mov eax, ecx
imul ecx, esi
imul eax, edx
add eax, dword [ebp - 8]
add edi, edx
add ecx, dword [ebp - 4]
lea ebx, [ebx + edi*4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov edi, esi
shl edi, 2
sub dword [ebp - 8], edi
mov ecx, edx
shl ecx, 2
sub ebx, edi
sub eax, ecx
cmp esi, edx
mov dword [ebp + 0x10], esi
jbe 0x4e7cb3
mov ecx, dword [ebp - 8]
dec dword [ebp + 0x10]
mov edi, dword [ebp - 0xc]
sub ecx, 4
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
and ecx, 3
cmp dword [ebp + 0x10], edx
mov edi, dword [edi + ecx*4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edi
ja 0x4e7c94
test edx, edx
jbe 0x4e7cd2
mov ecx, ebx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x10], edx
sub dword [ebp + 0x10], 4
mov edi, dword [ebp + 0x10]
mov edi, dword [edi]
sub ecx, 4
dec dword [ebp - 0x10]
mov dword [ecx], edi
jne 0x4e7cbf
dec dword [ebp - 0x14]
jne 0x4e7c79
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
imul eax, dword [ebp + 0x14]
movzx edx, word [ecx + 0xc]
cmp eax, edx
jbe 0x4e7cee
mov eax, edx
push eax
push dword [ebp - 4]
movzx eax, word [ecx + 0xa]
add eax, dword [ebp + 0x18]
push ebx
push eax
push dword [ebp + 0xc]
call dword [ecx + 0x1c]
test eax, eax
jl 0x4e7d07
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14